/* ══════════════════════════════════════════
   CSS 변수 (브랜드 색상 및 공통 설정)
══════════════════════════════════════════ */
:root {
    --c-brand: #FF0084;
    --c-brand-bg: #FFF8FB;
    --c-text1: #0c0c0c;
    --c-text2: #777;
    --c-complete: #FFAA00;
    --c-star: #FF0084;       /* 후기 채워진 별 공용 색상 */
    --c-bg1: #f5f6f8;
    --c-border1: #C5C8CE;
    --c-border2: #272E3A;
    --c-menu-bg: #F8FAFE;
    --c-badge: #2A95FF;

    --c-header-bg: #272E3A;
    --c-page-outer: #1a1e26;
    --c-white: #fff;

    --max-width: 620px;
    --px: 16px;

    /* font size */
    --fs-10: 10px;
    --fs-12: 12px;
    --fs-14: 14px;
    --fs-16: 16px;
    --fs-18: 18px;
    --fs-20: 20px;
    --fs-22: 22px;
    --fs-24: 24px;
    --fs-26: 26px;
    --fs-28: 28px;

    /* 행간 자간 */
    --lh-138: 1.38;
    --ls-1: -0.14px;

    --font-base: "Suit", "Noto Sans KR", Arial, sans-serif;
}

/* ── 후기 채워진 별 공용 클래스 ── */
.star-on {
    color: var(--c-star) !important;
    fill: var(--c-star) !important;
}

/* hidden 속성이 CSS display 규칙에 의해 오버라이드되지 않도록 보장 */
[hidden] {
    display: none !important;
}

/* ══════════════════════════════════════════
   폰트 (SUIT)
══════════════════════════════════════════ */
@font-face {
    font-family: "Suit";
    src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Suit";
    src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Medium.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Suit";
    src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Suit";
    src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Bold.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Suit";
    src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-ExtraBold.woff2") format("woff2");
    font-weight: 800;
    font-display: swap;
}

/* ══════════════════════════════════════════
   리셋 & 기본
══════════════════════════════════════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
    font-family: inherit;
}

/* 모바일 탭 하이라이트 / 포커스 flash 전체 제거 */
* {
    -webkit-tap-highlight-color: transparent;
}

button:focus {
    outline: none;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-base);
    font-size: var(--fs-14);
    color: var(--c-text1);
    background: var(--c-white);
    -webkit-font-smoothing: antialiased;
    scrollbar-width: none; /* Firefox */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.wt-ft {
    color: var(--c-white) !important;
}

/* ══════════════════════════════════════════
   페이지 레이아웃 래퍼
   PC: 최대 620px 중앙 정렬, 모바일 느낌
══════════════════════════════════════════ */
.layout-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: var(--max-width);
    margin: 0 auto;
    background: var(--c-white);
    position: relative;
    /* PC에서 양옆 그림자로 앱 느낌 
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);*/
}

.site-main {
    flex: 1 0 auto;
    padding-bottom: 0;

}

/* ══════════════════════════════════════════
   헤더
══════════════════════════════════════════ */
.site-header {
    background: var(--c-white);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--px);
    height: 54px;
}

/* ── 로고 ── */
.site-logo img {
    width: 180px;
}


/* ── 우측 유저 아이콘 + 햄버거 ── */
.site-header__user {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2px;
}

.site-header__user-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--c-text2);
    transition: background 0.18s;
    text-decoration: none;
}

.site-header__user-btn:hover,
.site-header__user-btn:focus-visible {
    background: rgba(0, 0, 0, 0.05);
    outline: none;
}

.site-header__user-btn svg {
    display: block;
}

.site-header__hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--c-text2);
    border-radius: 50%;
    transition: background 0.18s;
}

.site-header__hamburger:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* 비로그인 상태 로그인 버튼 (드롭다운 내부) */
.site-header__login-btn {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 18px;
    border-radius: 8px;
    background: var(--c-brand, #FF0084);
    color: var(--c-white);
    font-size: var(--fs-14);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: filter 0.15s;
}

.site-header__login-btn:active {
    filter: brightness(0.88);
}

/* ── 유저 드롭다운 ── */
.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 38px;
    min-width: 160px;
    background: var(--c-white);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.14);
    padding: 16px;
    z-index: 300;
    animation: dropdownFadeIn 0.18s ease;
}

.user-dropdown.is-open {
    display: block;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-dropdown__greeting {
    font-size: 13px;
    font-weight: 700;
    color: var(--c-text1);
    margin: 0 0 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--c-border1);
    white-space: nowrap;
}

.user-dropdown__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.user-dropdown__link {
    display: block;
    padding: 9px 0;
    font-size: var(--fs-14);
    font-weight: 500;
    color: var(--c-text1);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s;
}

.user-dropdown__link:hover {
    color: var(--c-brand);
}

.user-dropdown__link--logout {
    font-size: 12px;
    color: var(--c-text2);
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid var(--c-border1);
}

/* ══════════════════════════════════════════
   푸터
══════════════════════════════════════════ */
.site-footer {
    flex-shrink: 0;
    background: var(--c-header-bg);
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    padding: 28px var(--px) 32px;
    margin-bottom: 40px;
}

/* 약관 링크 */
.site-footer__terms {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin-bottom: 18px;
}

.site-footer__terms-link {
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s;
}

.site-footer__terms-link:hover {
    color: var(--c-brand);
}

/* 사업자 정보 */
.site-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.site-footer__biz {
    padding: 0;
}

.site-footer__biz--divider {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__info {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.site-footer__info li {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    line-height: 1.5;
}

.site-footer__label {
    color: rgba(255, 255, 255, 0.4);
    margin-right: 2px;
}

.site-footer__info a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: underline;
}

/* 사전승낙서 */
.site-footer__consents {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 10px;
}

.site-footer__consent-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 11px;
    transition: opacity 0.15s;
}

.site-footer__consent-link:hover {
    opacity: 0.85;
}

.site-footer__consent-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.site-footer__consent-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-footer__consent-text {
    font-weight: 500;
    white-space: nowrap;
}

/* SNS 링크 */
.site-footer__sns {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.site-footer__sns-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: background 0.15s;
}

.site-footer__sns-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-footer__sns-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

/* 고객센터 */
.site-footer__cs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}

.site-footer__cs-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.site-footer__cs-phone {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: var(--fs-16);
    font-weight: 700;
    color: var(--c-white);
    text-decoration: none;
}

.site-footer__cs-icon {
    flex-shrink: 0;
    color: var(--c-brand);
}

/* 카피라이트 */
.site-footer__copy {
    margin-top: 18px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
}

/* ══════════════════════════════════════════
   메인페이지 - 배너 섹션
══════════════════════════════════════════ */
.banner-section {
    position: relative;
    z-index: 1;
    padding: 0 var(--px) 34px;
    background: var(--c-bg1);
}

.banner-swiper {
    position: relative;
    width: 100%;
}

.banner-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}

.banner-slide__img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.banner-slide__img-link {
    display: block;
    width: 100%;
    line-height: 0;
}

.banner-slide__img-link .banner-slide__img {
    width: 100%;
}

/* 배너 없을 때 placeholder */
.banner-slide--empty {
    background: var(--c-header-bg);
    min-height: 120px;
}

.banner-slide__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 32px var(--px);
    color: rgba(255, 255, 255, 0.35);
    font-size: 12px;
}

.banner-slide__placeholder p {
    margin: 0;
}

/* 배너 페이지네이션 (fraction 타입) */
.banner-pagination {
    position: absolute;
    right: var(--px);
    bottom: 10px;
    width: auto !important;
    left: auto !important;
    font-size: 11px;
    font-weight: 600;
    color: var(--c-white) !important;
    padding: 2px 8px;
    border-radius: 20px;
    z-index: 10;
}

/* ══════════════════════════════════════════
   메인페이지 - 메뉴 섹션
══════════════════════════════════════════ */
.menu-section {
    background: var(--c-white);
    padding: 7px 16px;
}

.menu-swiper {
    width: 100%;
}

.menu-item {
    width: auto !important;
    flex-shrink: 0;
}

.menu-item__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--c-text2);
    transition: color 0.15s;
    white-space: nowrap;
    position: relative;
}

.menu-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: var(--c-bg1);
    transition: background 0.15s;
}

.menu-item__link--active .menu-item__icon {
    background: rgba(255, 0, 132, 0.08);
}

.menu-item__label {
    font-size: 11px;
    font-weight: 500;
}

/* ══════════════════════════════════════════
   메인페이지 - 핫 모델 섹션
══════════════════════════════════════════ */
.hot-section {
    position: relative;
    z-index: 1;
    padding: 34px 0 8px;
    background: var(--c-white);
}

.hot-section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding: 0 var(--px) 14px;
}

.hot-section__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--c-text1);
}

.hot-section__sub {
    font-size: 12px;
    color: var(--c-text2);
}

.hot-swiper {
    padding: 0 var(--px) 4px !important;
    overflow: visible;
}

.hot-slide {
    width: 140px !important;
    flex-shrink: 0;
}

.hot-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 14px;
    overflow: hidden;
}

.hot-card__img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-bg1);
    height: 140px;
    border-radius: 12px;
}

.hot-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.hot-card__img-placeholder {
    font-size: 48px;
}

.hot-card__info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 10px 12px;
}

.hot-card__name {
    font-size: var(--fs-14);
    font-weight: 500;
    color: var(--c-text1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hot-card__price-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.hot-card__discount {
    font-size: var(--fs-14);
    font-weight: 600;
    color: var(--c-brand);
}

.hot-card__price {
    font-size: var(--fs-14);
    font-weight: 600;
    color: var(--c-text1);
}

/* ══════════════════════════════════════════
   메인페이지 - 카테고리 섹션
══════════════════════════════════════════ */
.category-section {
    padding: 0 var(--px) 24px;
}

.category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 16px;
}

.category-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 calc(50% - 6px);
    background: var(--c-menu-bg);
    border-radius: 14px;
    padding: 18px 14px 10px 18px;
    text-decoration: none;
    color: var(--c-text1);
    overflow: hidden;
    position: relative;
    min-height: 110px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.15s, transform 0.15s;
}

.category-card:active {
    transform: scale(0.97);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.category-card--hidden {
    display: none;
}

.category-card__info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-self: flex-start;
}

.category-card__name {
    font-size: 16px;
    font-weight: 600;
    color: var(--c-text1);
    line-height: 1.2;
}

.category-card__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    color: var(--c-white);
    background: var(--c-badge);
    padding: 2px 7px;
    border-radius: 20px;
    width: fit-content;
}

.category-card__img-wrap {
    flex-shrink: 0;
    width: 74px;
    height: 74px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    align-self: flex-end;
}

.category-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-card__img-placeholder {
    font-size: 52px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}

/* ══════════════════════════════════════════
   하단 고정 영역 (검색바 + 네비게이션)
══════════════════════════════════════════ */

/* 고정 컨테이너 - max-width 620px 유지 */
.bottom-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: var(--max-width);
    margin: 0 auto;
    background: var(--c-white);    
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.07);
    z-index: 38;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    transform: translateY(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 1;    
}

.bottom-fixed--hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

/* ── 검색바 ── */
.bottom-search {
    padding: 20px var(--px) 13px;
}

.bottom-search__form {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--c-bg1);
    border-radius: 50px;
    padding: 0 14px;
    height: 42px;
}

.bottom-search__icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    color: var(--c-text);
}

.bottom-search__input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: var(--font-base);
    font-size: var(--fs-14);
    color: var(--c-text1);
    outline: none;
    min-width: 0;
}

.bottom-search__input::placeholder {
    color: var(--c-text2);
}

/* 브라우저 기본 검색 cancel 버튼 숨김 */
.bottom-search__input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

/* ── 하단 네비게이션 ── */
.bottom-nav {
    display: flex;
    align-items: stretch;
    height: 60px;
    margin: 4px 0;
}

.bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: var(--c-text2);
    padding: 6px 4px;
    transition: color 0.15s;
    -webkit-tap-highlight-color: transparent;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.bottom-nav__item--active {
    color: var(--c-brand);
}

.bottom-nav__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.bottom-nav__label {
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.bottom-nav__item--active .bottom-nav__label {
    font-weight: 700;
}

/* 더보기 버튼 */
.category-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 8px auto 0;
    border-radius: 50%;
    background: var(--c-white);
    border: 1px solid var(--c-border1);
    cursor: pointer;
    color: var(--c-text2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: background 0.15s, color 0.15s;
}


/* ══════════════════════════════════════════
   헤더 다크 모드 (메인 상담 섹션 활성 시)
══════════════════════════════════════════ */
.site-header__inner {
    transition: background 0.35s ease;
}

.site-header--dark .site-header__inner {
    background: var(--c-text1);
}

.site-header--dark .site-header__user-btn svg path,
.site-header--dark .site-header__user-btn svg rect {
    stroke: rgba(255, 255, 255, 0.75);
}

.site-header--dark .site-header__user-btn,
.site-header--dark .site-header__hamburger {
    color: rgba(255, 255, 255, 0.85);
}

.site-header--dark .site-header__user-btn:hover,
.site-header--dark .site-header__hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}


/* ══════════════════════════════════════════
   메인 상담 신청 섹션
══════════════════════════════════════════ */
.consult-section {
    position: sticky;
    top: 0;
    z-index: 0;
    min-height: 20dvh;
    background: var(--c-text1);
    padding: 54px var(--px) 0;
    display: flex;
    flex-direction: column;
}

.consult-section__head {
    padding-bottom: 28px;
}

.consult-section__title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--c-white);
    text-align: center;
    margin: 0 0 10px;
    word-break: keep-all;
}

.consult-section__sub {
    font-size: 20px;
    color: var(--c-text2);
    text-align: center;
    margin: 0;
}

/* ── 폼 랩 (슬라이드 닫힘) ── */
.consult-form-wrap {
    overflow: hidden;
    max-height: 600px;
    opacity: 1;
    padding-bottom: 34px;
    transition:
        max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.32s ease,
        padding-bottom 0.42s ease;
}

.consult-form-wrap--hidden {
    max-height: 0;
    opacity: 0;
    padding-bottom: 0;
}

/* ── 폼 필드 ── */
.consult-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.consult-form__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.consult-form__label {
    font-size: 12px;
    color: var(--c-text2);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.consult-form__input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--c-white);
    font-size: 16px;
    font-weight: 400;
    padding: 0;
    width: 100%;
    caret-color: var(--c-brand);
}

.consult-form__input::placeholder {
    color: var(--c-text2);
}

.consult-form__input:focus {
    border-bottom-color: var(--c-brand);
}

/* ── 개인정보 동의 ── */
.consult-form__agree {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.consult-form__agree-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 8px;
}

.consult-form__agree-label {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    cursor: pointer;
    color: var(--c-text2);
    font-size: var(--fs-14);
}

.consult-form__agree-text {
    flex: 1;
    line-height: 1.4;
}

.consult-form__agree-chevron-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 2px;
}

.consult-form__agree-chevron {
    color: var(--c-text2);
    transition: transform 0.25s ease;
}

.consult-form__agree-chevron-btn.is-open .consult-form__agree-chevron {
    transform: rotate(180deg);
}

.consult-form__agree-body {
    padding: 0 0 16px;
}

.consult-form__agree-detail {
    font-size: 12px;
    color: var(--c-text2);
    line-height: 1.8;
    margin: 0;
}

.consult-form__check {
    width: 17px;
    height: 17px;
    accent-color: var(--c-brand);
    cursor: pointer;
    flex-shrink: 0;
}

/* ── 제출 버튼 ── */
.consult-form__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    margin-top: 24px;
    border-radius: 10px;
    background: var(--c-brand);
    color: var(--c-white);
    font-size: 16px;
    font-weight: 600;
    opacity: 0.48;
    border: none;
    cursor: pointer;
    transition: opacity 0.22s ease, filter 0.15s;
}

.consult-form__submit--ready {
    opacity: 1;
}

.consult-form__submit:active {
    filter: brightness(0.88);
}

/* ── 완료 메시지 ── */
.consult-done {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 28px 0 34px;
    text-align: center;
}

.consult-done.is-visible {
    display: flex;
    animation: doneFadeIn 0.35s ease forwards;
}

.consult-done.is-hiding {
    animation: doneFadeOut 0.42s ease forwards;
}

@keyframes doneFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes doneFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-8px);
    }
}

.consult-done__msg {
    font-size: 16px;
    color: var(--c-white);
    line-height: 1.6;
    margin: 0;
}

.consult-done__msg span {
    font-size: var(--fs-14);
    color: rgba(255, 255, 255, 0.6);
}

/* ══════════════════════════════════════════
   상담 확인 모달
══════════════════════════════════════════ */
.consult-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 500;
    align-items: center;
    justify-content: center;
    padding: 0 var(--px);
}

.consult-modal-overlay.is-open {
    display: flex;
    animation: overlayFadeIn 0.22s ease;
}

@keyframes overlayFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.consult-modal {
    background: var(--c-white);
    border-radius: 16px;
    padding: 28px 24px  20px;
    width: 100%;
    max-width: 360px;
    animation: modalScaleIn 0.24s cubic-bezier(0.32, 0, 0.15, 1);
}

@keyframes modalScaleIn {
    from {
        opacity: 0;
        transform: scale(0.93);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.consult-modal__title {
    font-size: var(--fs-16);
    font-weight: 600;
    color: var(--c-text1);
    margin: 0 0 18px;
}

.consult-modal__info {
    list-style: none;
    margin: 0 0 14px;
    padding: 16px 16px 4px;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--c-bg1);
    border-radius: 12px;
}

.consult-modal__row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 0 14px;
}

.consult-modal__key {
    font-size: 13px;
    color: var(--c-text2);
    width: 72px;
    flex-shrink: 0;
}

.consult-modal__val {
    font-size: var(--fs-14);
    font-weight: 600;
    color: var(--c-text1);
    flex: 1;
}

.consult-modal__desc {
    font-size: 13px;
    color: var(--c-text2);
    margin: 0 0 20px;
}

.consult-modal__btns {
    display: flex;
    gap: 10px;
}

.consult-modal__btn {
    flex: 1;
    height: 48px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: filter 0.15s;
}

.consult-modal__btn:active {
    filter: brightness(0.9);
}

.consult-modal__btn--ghost {
    background: var(--c-bg1);
    color: var(--c-text1);
    flex: 0 0 36%;
}

.consult-modal__btn--primary {
    background: var(--c-brand);
    color: var(--c-white);
}

.consult-modal__btn--primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* ══════════════════════════════════════════
   섹션 2: 메뉴 카드
══════════════════════════════════════════ */
.menu-card-section {
    position: relative;
    z-index: 1;
    padding: 34px var(--px);
    background: var(--c-bg1);
}

.menu-card-section__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--c-text1);
    margin: 0 0 12px;
}

/* ── 공통 카드 ── */
.menu-card {
    display: flex;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* ── 와이드 카드 (상단 풀 너비) ── */
.menu-card--wide {
    width: 100%;
    height: 360px;
    margin-bottom: 10px;
    align-items: flex-end;
    justify-content: flex-end;
}

.menu-card__link-badge {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 14px 14px 0;
    padding: 6px 12px 6px 14px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--c-white);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.menu-card__label-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

/* ── 하단 그리드 ── */
.menu-card-grid {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

/* 왼쪽 큰 카드 */
.menu-card--lg {
    flex: 1 1 0;
    min-height: 180px;
    align-items: flex-start;
}

/* 오른쪽 컬럼 */
.menu-card-grid__col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 0 0 calc(50% - 5px);
}

/* 오른쪽 작은 카드 2개 */
.menu-card--sm {
    flex: 1 1 0;
    min-height: 130px;
    align-items: flex-start;
}

/* ── 카드 라벨 ── */
.menu-card__label {
    position: relative;
    z-index: 1;
    margin: 14px 0 0 18px;
    font-size: 16px;
    font-weight: 600;
    color: var(--c-text1);
    line-height: 1.3;
}

@media (max-width: 480px) {
    .menu-card--wide {
        height: 220px;
    }
    .menu-card--sm {
        min-height: 70px;
    }
}


/* ══════════════════════════════════════════
   전체메뉴 오버레이
══════════════════════════════════════════ */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: max(0px, calc(50% - var(--max-width) / 2));
    right: max(0px, calc(50% - var(--max-width) / 2));
    z-index: 400;
    background: rgba(0, 0, 0, 0);
    transition: background 0.32s ease;
    overflow: hidden;
}

.nav-overlay.is-open {
    background: rgba(0, 0, 0, 0.4);
}

.nav-overlay__panel {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 60%;
    background: var(--c-white);
    transform: translateX(100%);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
}

.nav-overlay.is-open .nav-overlay__panel {
    transform: translateX(0);
}

/* ── 헤더: X 닫기 ── */
.nav-overlay__header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 var(--px);
    height: 54px;
    flex-shrink: 0;
}

.nav-overlay__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--c-text2);
    border-radius: 50%;
    transition: background 0.15s;
    flex-shrink: 0;
}

.nav-overlay__close:hover {
    background: var(--c-bg1);
}

/* ── 유저 프로필 ── */
.nav-overlay__profile {
    padding: 4px var(--px) 20px;    
    flex-shrink: 0;
}

.nav-overlay__profile-name {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: var(--fs-16);
    font-weight: 600;
    color: var(--c-text1);
    text-decoration: none;
    margin-bottom: 4px;
}


.nav-overlay__profile-email {
    font-size: var(--fs-12);
    color: var(--c-text2);
    margin: 0 0 16px;
}

.nav-overlay__stats {
    display: flex;
    gap: 0;    
    border-radius: 10px;
    overflow: hidden;
}

.nav-overlay__stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 4px;
    text-decoration: none;    
    gap: 2px;
    transition: background 0.15s;
}

.nav-overlay__stat:last-child {
    border-right: none;
}


.nav-overlay__stat-num {
    font-size: var(--fs-16);
    font-weight: 600;
    color: var(--c-text1);
    line-height: 1.2;
}

.nav-overlay__stat-label {
    font-size: var(--fs-12);
    color: var(--c-text2);
}

.nav-overlay__answer-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.nav-overlay__answer-badge svg {
    display: block;
}

/* ── 비로그인 프롬프트 ── */
.nav-overlay__login-prompt {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px var(--px);    
    flex-shrink: 0;
}

.nav-overlay__login-label {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: var(--fs-16);
    font-weight: 600;
    color: var(--c-text1);
    text-decoration: none;
}

.nav-overlay__kakao-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    border-radius: 12px;
    background: #FEE500;
    color: var(--c-test1);
    font-size: var(--fs-14);
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.15s;
}

.nav-overlay__kakao-btn:active {
    opacity: 0.85;
}

/* ── 메뉴 목록 ── */
.nav-overlay__body {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    flex: 1;
}

.nav-overlay__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px var(--px);
    font-size: 15px;
    font-weight: 500;
    color: var(--c-text1);
    text-decoration: none;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s;
}

.nav-overlay__chevron {
    flex-shrink: 0;
    color: var(--c-text2);
    transition: transform 0.25s ease;
}

.nav-overlay__link--toggle[aria-expanded="true"] .nav-overlay__chevron {
    transform: rotate(180deg);
}

.nav-overlay__sub {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    background: var(--c-bg1);
}

.nav-overlay__sub.is-open {
    max-height: 400px;
}

.nav-overlay__sub-link {
    display: block;
    padding: 13px var(--px) 13px calc(var(--px) + 16px);
    font-size: var(--fs-14);
    color: var(--c-text2);
    text-decoration: none;
    border-bottom: 1px solid var(--c-border1);
    transition: color 0.15s;
}

.nav-overlay__sub-link:last-child {
    border-bottom: none;
}

/* ── 하단 푸터 영역 ── */
.nav-overlay__footer {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 16px var(--px) 24px;
    
    flex-shrink: 0;
}

.nav-overlay__cs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;    
    margin-bottom: 12px;
}

.nav-overlay__cs-label {
    font-size: var(--fs-12);
    color: var(--c-text2);
    white-space: nowrap;
}

.nav-overlay__cs-phone {
    font-size: 16px;
    font-weight: 700;
    color: var(--c-text1);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.nav-overlay__terms {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin-bottom: 16px;
}

.nav-overlay__term-link {
    font-size: var(--fs-12);
    color: var(--c-text2);
    text-decoration: none;
}

.nav-overlay__logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: 8px;
    border: 1px solid var(--c-border1);
    background: var(--c-white);
    color: var(--c-text1);
    font-size: var(--fs-14);
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 14px;
    transition: background 0.15s;
}

.nav-overlay__copy {
    font-size: 10px;
    color: var(--c-text2);
    text-align: left;
    margin: 0;
    opacity: 0.7;
}

/* ══════════════════════════════════════════
   FAQ 섹션 (메인 페이지 - 카드 스와이퍼)
══════════════════════════════════════════ */
.faq-section {
    position: relative;
    z-index: 1;
    padding: 34px 0 34px var(--px);
    overflow: hidden;
    background: var(--c-white);
}

.faq-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-right: var(--px);
}

.faq-section__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--c-text1);
}

.faq-swiper {
    overflow: visible;
    min-height: 210px;
    padding: 4px !important;
}

.faq-slide {
    height: auto;
}

.faq-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--c-white);
    box-shadow: 0 1px 4.1px var(--c-border1);
    border-radius: 14px;
    padding: 18px 16px;
    height: 100%;
    min-height: 167px;
    box-sizing: border-box;
}

.faq-card__q {
    font-size: 16px;
    font-weight: 600;
    color: var(--c-text1);
    line-height: 1.5;
    margin: 0;
}

.faq-card__a {
    font-size: var(--fs-14);
    color: var(--c-text2);
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;


}

.faq-card__a strong {
    font-weight: 700;
    color: var(--c-brand);
}

.faq-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    background: var(--c-border2);
    color: var(--c-white);
    font-size: var(--fs-16);
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: filter 0.15s;
}

.faq-more-btn:active {
    filter: brightness(0.88);
}

/* ══════════════════════════════════════════
   고객센터 (/cs)
══════════════════════════════════════════ */

/* 헤더 */
.cs-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--c-white);    
}

.cs-header__inner {
    display: flex;
    align-items: center;
    height: 52px;
    padding: 0 var(--px);
}

.cs-header__back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: -8px;
    color: var(--c-text1);
    text-decoration: none;
    border-radius: 50%;
    flex-shrink: 0;
}

.cs-header__title {
    flex: 1;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--c-text1);
}

.cs-header__spacer {
    width: 36px;
    flex-shrink: 0;
}

/* 탭 */
.cs-tabs {
    display: flex;
    margin: 16px 0;
}

.cs-tabs__item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    font-size: 16px;
    font-weight: 500;
    color: var(--c-text2);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.15s, border-color 0.15s;
}

.cs-tabs__item--active {
    color: var(--c-text1);
    font-weight: 700;
    border-bottom-color: var(--c-brand);
}

/* 공통 섹션 */
.cs-section {
    padding: 0 var(--px);
}

.cs-empty {
    padding: 48px 0;
    text-align: center;
    font-size: var(--fs-14);
    color: var(--c-text2);
}

/* ── CS 비로그인 프롬프트 ── */
.cs-login-prompt {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 40px 0 24px;
    max-width: 300px;
    margin:0 auto;    
}

.cs-login-prompt__label {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: var(--fs-16);
    font-weight: 600;
    color: var(--c-text1);
    text-decoration: none;
}

.cs-login-prompt__kakao-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    border-radius: 12px;
    background: #FEE500;
    color: var(--c-text1);
    font-size: var(--fs-16);
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s;
}

.cs-login-prompt__kakao-btn:active {
    opacity: 0.85;
}

/* FAQ 아코디언 */
.cs-faq-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cs-faq-item {
    border-bottom: 1px solid var(--c-border1);
}

.cs-faq-item__q {
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding: 18px 0;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.cs-faq-item__q-label {
    font-size: var(--fs-16);
    font-weight: 700;
    color: var(--c-brand);
    flex-shrink: 0;
    line-height: 1.5;
}

.cs-faq-item__q-text {
    flex: 1;
    font-size: var(--fs-14);
    font-weight: 500;
    color: var(--c-text1);
    line-height: 1.5;
}

.cs-faq-item__chevron {
    flex-shrink: 0;
    color: var(--c-text2);
    margin-top: 2px;
    transition: transform 0.25s ease;
}

.cs-faq-item__q[aria-expanded="true"] .cs-faq-item__chevron {
    transform: rotate(180deg);
}

.cs-faq-item__a {
    overflow: hidden;
}

.cs-faq-item__a-inner {
    padding: 0 0 18px 20px;
    font-size: var(--fs-14);
    color: var(--c-text2);
    line-height: 1.7;
}

.cs-faq-item__a-inner strong {
    font-weight: 700;
    color: var(--c-brand);
}

/* 1:1 문의 안내 */
.cs-inquiry-guide {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px var(--px) 40px;
    gap: 10px;
    text-align: center;
}

.cs-inquiry-guide__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--c-text1);
    margin: 8px 0 0;
}

.cs-inquiry-guide__desc {
    font-size: var(--fs-14);
    color: var(--c-text2);
    margin: 0;
    line-height: 1.6;
}

.cs-inquiry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    height: 48px;
    padding: 0 32px;
    background: var(--c-brand);
    color: var(--c-white);
    font-size: var(--fs-16);
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: filter 0.15s;
}

.cs-inquiry-btn:active {
    filter: brightness(0.88);
}

/* 공지사항 아코디언 */
.cs-notice-acc-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cs-notice-acc-item {
    background: var(--c-white);
    box-shadow: 0 1px 4.1px var(--c-border1);    
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.15s;
}

.cs-notice-acc-item.is-open {
    border-color: var(--c-brand);
}

.cs-notice-acc-head {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 16px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 6px;
}

.cs-notice-acc-title-row {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.cs-notice-pin {
    flex-shrink: 0;
    margin-top: 2px;
}

.cs-notice-acc-title {
    font-size: var(--fs-14);
    font-weight: 600;
    color: var(--c-text1);
    line-height: 1.5;
    flex: 1;
}

.cs-notice-acc-date {
    font-size: 12px;
    color: var(--c-text2);
}

/* 펼쳐진 본문 */
.cs-notice-acc-body {    
    padding: 16px;
}

.cs-notice-acc-content {
    font-size: var(--fs-14);
    color: var(--c-text1);
    line-height: 1;
    word-break: break-word;
}

/* CKEditor로 작성된 HTML 내 기본 태그 스타일 */
.cs-notice-acc-content p { margin: 0 0 8px; }
.cs-notice-acc-content ol,
.cs-notice-acc-content ul { padding-left: 20px; margin: 0 0 8px; }
.cs-notice-acc-content li { margin-bottom: 4px; }
.cs-notice-acc-content strong { font-weight: 700; }
.cs-notice-acc-content a { color: var(--c-brand); text-decoration: underline; }
.cs-notice-acc-content img { max-width: 100%; border-radius: 8px; margin: 8px 0; }

.cs-notice-acc-body-date {
    display: block;
    margin-top: 14px;
    font-size: 12px;
    color: var(--c-text2);
}

/* ── 1:1 문의 폼 ────────────────────────────────────────────────────────────── */
.cs-inquiry-form {
    display: flex;
    flex-direction: column;
}

/* 문의 유형 선택 */
.cs-inquiry-type {
    position: relative;
    border-bottom: 1px solid var(--c-border1);    
}

.cs-inquiry-type__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: var(--fs-16);
    color: var(--c-text1);
    text-align: left;
    gap: 8px;
}

.cs-inquiry-type__btn .is-selected {
    color: var(--c-text1);
    font-weight: 500;
}

.cs-inquiry-type__chevron {
    flex-shrink: 0;
    color: var(--c-text2);
    transition: transform 0.2s;
}

.cs-inquiry-type__btn[aria-expanded="true"] .cs-inquiry-type__chevron {
    transform: rotate(180deg);
}

.cs-inquiry-type__list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--c-white);    
    overflow: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.cs-inquiry-type__option {
    display: block;
    width: 100%;
    padding: 15px var(--px);
    background: none;
    border: none;
    border-bottom: 1px solid var(--c-border1);
    font-size: var(--fs-14);
    color: var(--c-text1);
    text-align: left;
    cursor: pointer;
    transition: background 0.12s;
}

.cs-inquiry-type__list li:last-child .cs-inquiry-type__option {
    border-bottom: none;
}

.cs-inquiry-type__option:active {
    background: var(--c-bg1);
}

/* 본문 textarea */
.cs-inquiry-body {
    margin-top: 16px;
}

.cs-inquiry-body__textarea {
    display: block;
    width: 100%;
    padding: 12px;
    border: none;
    outline: none;
    font-size: var(--fs-14);
    color: var(--c-text1);
    line-height: 1.7;
    resize: none;
    background: var(--c-bg1);
    border-radius: 12px;
    font-family: 'Suit';
}

.cs-inquiry-body__textarea::placeholder {
    color: var(--c-text2);
}

/* 파일 업로드 */
.cs-inquiry-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    background: var(--c-bg1);
    border-radius: 12px;
    margin-top: 24px;
    cursor: pointer;
}

.cs-inquiry-upload__label {
    font-size: 13px;
    color: var(--c-text2);
}

.cs-inquiry-file-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cs-inquiry-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--c-bg1);
}

.cs-inquiry-file-name {
    font-size: 13px;
    color: var(--c-text1);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cs-inquiry-file-remove {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: var(--fs-14);
    color: var(--c-text2);
    padding: 4px 6px;
}

/* 에러 */
.cs-inquiry-error {
    margin: 10px 0 0;
    font-size: 13px;
    color: #e53e3e;
}

/* 제출 버튼 */
.cs-inquiry-submit-wrap {
    padding: 74px 0 40px;
}

.cs-inquiry-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    background: var(--c-border2);
    color: var(--c-white);
    font-size: var(--fs-16);
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: filter 0.15s;
}

.cs-inquiry-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 완료 모달 */
.cs-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--px);
}

.cs-modal {
    background: var(--c-white);
    border-radius: 18px;
    padding: 40px 28px 32px;
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.cs-modal__icon {
    margin-bottom: 8px;
}

.cs-modal__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--c-text1);
    margin: 0;
}

.cs-modal__desc {
    font-size: var(--fs-14);
    color: var(--c-text2);
    margin: 0;
}

.cs-modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    width: 100%;
    height: 48px;
    background: var(--c-border2);
    color: var(--c-white);
    font-size: var(--fs-14);
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: filter 0.15s;
}

/* ── 나의 문의 내역 ───────────────────────────────────────────────────────── */
.cs-myinq-section {
    padding: 0 var(--px) 60px;
}

.cs-myinq-count {
    padding: 16px 0 4px;
    font-size: 13px;
    color: var(--c-text2);
    margin: 0;
}

.cs-myinq-count strong {
    color: var(--c-text1);
    font-weight: 700;
}

.cs-myinq-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cs-myinq-item {
    border-bottom: 1px solid var(--c-border1);
}

.cs-myinq-item__head {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 16px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 8px;
}

.cs-myinq-item__date {
    font-size: 12px;
    color: var(--c-text2);
}

.cs-myinq-item__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.cs-myinq-item__title-left {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.cs-myinq-item__type {
    font-size: var(--fs-16);
    font-weight: 600;
    color: var(--c-text1);
}

.cs-myinq-item__chevron {
    color: var(--c-text2);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.cs-myinq-item__head[aria-expanded="true"] .cs-myinq-item__chevron {
    transform: rotate(180deg);
}

.cs-myinq-item__status {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--c-text2);
}

.cs-myinq-item__status--answered {
    color: var(--c-badge);
}

.cs-myinq-item__preview {
    font-size: 13px;
    color: var(--c-text2);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cs-myinq-item__body {
    padding: 0 0 18px;
}

.cs-myinq-item__content {
    font-size: var(--fs-14);
    color: var(--c-text1);
    line-height: 1.7;
    padding: 4px 0 16px;
}

.cs-myinq-item__files {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.cs-myinq-file-link {
    display: block;
    text-decoration: none;
}

.cs-myinq-file-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--c-border1);
}

.cs-myinq-file-name {
    font-size: 13px;
    color: var(--c-text2);
    text-decoration: underline;
}

.cs-myinq-item__reply {
    background: var(--c-bg1);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cs-myinq-item__reply-label {
    font-size: 12px;
    font-weight: 600;
    
}

.cs-myinq-item__reply-text {
    font-size: var(--fs-14);
    color: var(--c-text2);
    line-height: 1.7;
    margin: 0;
}

.cs-myinq-item__reply-date {
    font-size: 11px;
    color: var(--c-text2);
}

.cs-myinq-item__no-reply {
    font-size: 13px;
    color: var(--c-text2);
    margin: 0;
    background: var(--c-bg1);
    padding: 14px;
    border-radius: 10px;
}

.cs-myinq-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 60px 0;
    text-align: center;
    color: var(--c-text2);
    font-size: var(--fs-14);
}

/* 페이지네이션 */
.cs-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px 0;
}

.cs-pagination__btn {
    font-size: 13px;
    color: var(--c-text2);
    text-decoration: none;
    padding: 6px 14px;
    border: 1px solid var(--c-border1);
    border-radius: 8px;
}

.cs-pagination__info {
    font-size: 13px;
    color: var(--c-text2);
}

/* ══════════════════════════════════════════
   상담문의 페이지 (/consultform)  cf- prefix
══════════════════════════════════════════ */

/* 헤더 */
.cf-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--c-white);    
}

.cf-header__inner {
    display: flex;
    align-items: center;
    height: 52px;
    padding: 0 var(--px);
}

.cf-header__back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: -8px;
    color: var(--c-text1);
    text-decoration: none;
    border-radius: 50%;
    flex-shrink: 0;
}

.cf-header__title {
    flex: 1;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--c-text1);
}

.cf-header__spacer {
    width: 36px;
    flex-shrink: 0;
}

/* 폼 래퍼 */
.cf-wrap {
    padding: 0 var(--px) 40px;
}

.cf-form {
    display: flex;
    flex-direction: column;
}

/* 유형 선택 드롭다운 */
.cf-type-wrap {
    position: relative;
    border-bottom: 1px solid var(--c-border1);
}

.cf-type-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 0;
    background: none;
    border: none;
    cursor: pointer;
    gap: 8px;
}

.cf-type-btn__label {
    font-size: var(--fs-16);
    color: var(--c-text2);
    flex: 1;
    text-align: left;
}

.cf-type-btn__label--selected {
    color: var(--c-text1);
    font-weight: 500;
}

.cf-type-btn__chevron {
    flex-shrink: 0;
    color: var(--c-text2);
    transition: transform 0.2s;
}

.cf-type-btn[aria-expanded="true"] .cf-type-btn__chevron {
    transform: rotate(180deg);
}

.cf-type-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--c-white);    
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.cf-type-opt {
    display: block;
    width: 100%;
    padding: 15px var(--px);
    background: none;
    border: none;    
    font-size: var(--fs-16);
    color: var(--c-text1);
    text-align: left;
    cursor: pointer;
    transition: background 0.12s;
}

.cf-type-list li:last-child .cf-type-opt {
    border-bottom: none;
}

.cf-type-opt:active {
    background: var(--c-bg1);
}

/* 입력 필드 */
.cf-field {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--c-border1);
    padding: 14px 0 0;
}

.cf-field__label {
    font-size: 12px;
    color: var(--c-text2);
    margin-bottom: 6px;
}

.cf-field__opt {
    color: var(--c-text2);
    font-size: 11px;
}

.cf-field__input {
    background: transparent;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--c-text1);
    padding: 0 0 14px;
    font-family: inherit;
    width: 100%;
}

.cf-field__input::placeholder {
    color: var(--c-border1);
}

.cf-field__input--textarea {
    resize: none;
    line-height: 1.6;
    min-height: 72px;
}

/* 개인정보 동의 */
.cf-agree {
    padding: 16px 0 0;
    border-bottom: 1px solid var(--c-border1);
}

.cf-agree__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
}

.cf-agree__label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex: 1;
}

.cf-agree__check {
    width: 18px;
    height: 18px;
    accent-color: var(--c-brand);
    flex-shrink: 0;
    cursor: pointer;
}

.cf-agree__text {
    font-size: 13px;
    color: var(--c-text2);
    line-height: 1.4;
    flex: 1;
}

.cf-agree__chevron-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.cf-agree__chevron {
    color: var(--c-text2);
    transition: transform 0.25s ease;
}

.cf-agree__chevron-btn.is-open .cf-agree__chevron {
    transform: rotate(180deg);
}

.cf-agree__body {
    padding-bottom: 14px;
}

.cf-agree__detail {
    font-size: 12px;
    color: var(--c-text2);
    line-height: 1.7;
    margin: 0;
}

/* 제출 버튼 */
.cf-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 54px;
    margin-top: 28px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    background: var(--c-brand);
    color: var(--c-white);
    opacity: 0.35;
    transition: opacity 0.18s;
}

.cf-submit--ready,
.cf-submit:not(:disabled) {
    opacity: 1;
}

.cf-submit:disabled {
    cursor: not-allowed;
}

/* 모달 오버레이 */
.cf-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.52);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--px);
    animation: cfOverlayIn 0.22s ease;
}

@keyframes cfOverlayIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* 모달 */
.cf-modal {
    background: var(--c-white);
    border-radius: 20px;
    padding: 28px var(--px) 28px;
    width: 100%;
    max-width: 360px;
    animation: cfModalIn 0.22s ease;
}

@keyframes cfModalIn {
    from { transform: scale(0.94); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.cf-modal--done {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 44px var(--px) 48px;
}

.cf-modal__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--c-text1);
    margin: 0 0 18px;
}

.cf-modal__info {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--c-bg1);
    border-radius: 12px;
    overflow: hidden;
}

.cf-modal__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;    
}

.cf-modal__row:last-child {
    border-bottom: none;
}

.cf-modal__key {
    font-size: var(--fs-14);
    color: var(--c-text2);
    width: 56px;
    flex-shrink: 0;
    padding-top: 1px;
}

.cf-modal__val {
    font-size: var(--fs-14);
    font-weight: 600;
    color: var(--c-text1);
    flex: 1;
    line-height: 1.5;
}

.cf-modal__desc {
    font-size: var(--fs-14);
    color: var(--c-text2);
    margin: 0 0 20px;
}

.cf-modal__btns {
    display: flex;
    gap: 10px;
}

.cf-modal__btn {
    flex: 1;
    height: 54px;
    border: none;
    border-radius: 14px;
    font-size: var(--fs-16);
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.15s;
}

.cf-modal__btn:active {
    filter: brightness(0.9);
}

.cf-modal__btn--ghost {
    background: var(--c-bg1);
    color: var(--c-text1);
}

.cf-modal__btn--primary {
    background: var(--c-brand);
    color: var(--c-white);
}

.cf-modal__btn--primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cf-modal__done-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--c-text1);
    margin: 6px 0 0;
}

.cf-modal__done-desc {
    font-size: var(--fs-14);
    color: var(--c-text2);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   메인 베스트 후기 스와이퍼 (brv-) — index.html 섹션5
   ═══════════════════════════════════════════════════════════ */

.brv-section {
    position: relative;
    z-index: 1;
    padding: 34px 0 34px var(--px);
    overflow: hidden;
    background: var(--c-white);
}

.brv-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-right: var(--px);
}

.brv-section__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--c-text1);
}

.brv-section__more {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: var(--fs-14);
    color: var(--c-text1);
    text-decoration: none;
}

.brv-swiper {
    overflow: visible;
    min-height: 160px;
    padding: 4px !important;
}

.brv-slide {
    height: auto;
    display: flex;
}

.brv-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    background: var(--c-white);
    border-radius: 14px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    padding: 16px;
    height: 100%;
    min-height: 156px;
    box-sizing: border-box;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.brv-card__top {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.brv-card__thumb-wrap {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--c-bg1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.brv-card__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brv-card__thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.brv-card__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.brv-card__author {
    font-size: 12px;
    font-weight: 500;
    color: var(--c-text1);
}

.brv-card__stars {
    display: flex;
    gap: 2px;
}

.brv-star {
    color: var(--c-border1);
}

/* .brv-star--on color/fill → 공용 .star-on 담당 */

.brv-card__time {
    font-size: 12px;
    color: var(--c-text2);
}

.brv-card__content {
    font-size: var(--fs-14);
    color: var(--c-text1);
    line-height: var(--lh-138);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.brv-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 2px;
}

.brv-card__tag {
    font-size: 12px;
    color: var(--c-text2);
}

/* ═══════════════════════════════════════════════════════════
   후기 작성 모달 (rw-) — review_write.html
   ═══════════════════════════════════════════════════════════ */

.rw-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: var(--px);
}

.rw-modal-overlay--active {
    display: flex;
}

.rw-modal {
    background: var(--c-white);
    border-radius: 16px;
    padding: 28px 24px 20px;
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: rwModalIn 0.2s ease;
}

@keyframes rwModalIn {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}

.rw-modal__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--c-text1);
    margin: 0;
}

.rw-modal__name {
    font-size: var(--fs-14);
    font-weight: 600;
    color: var(--c-text1);
    background: var(--c-bg1);
    border-radius: 10px;
    padding: 12px 16px;
    margin: 0;
    text-align: center;
}

.rw-modal__desc {
    font-size: 13px;
    color: var(--c-text2);
    line-height: 1.6;
    margin: 0;
}

.rw-modal__actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.rw-modal__btn {
    flex: 1;
    height: 48px;
    border: none;
    border-radius: 10px;
    font-size: var(--fs-16);
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.15s;
}

.rw-modal__btn:active {
    filter: brightness(0.9);
}

.rw-modal__btn--ghost {
    background: var(--c-bg1);
    color: var(--c-text1);
    flex: 0 0 36%;
}

.rw-modal__btn--primary {
    background: var(--c-brand);
    color: var(--c-white);
}

.rw-modal__btn--primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ── 후기 등록 완료 토스트 ── */

.rw-toast {
    position: fixed;
    top: 72px;
    left: 50%;
    transform: translateX(-50%) translateY(-12px);
    background: var(--c-text1);
    color: var(--c-white);
    font-size: var(--fs-14);
    padding: 10px 20px;
    border-radius: 24px;
    white-space: nowrap;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
}

.rw-toast--show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   전체 구매후기 페이지 (rv-) — reviews.html
   ═══════════════════════════════════════════════════════════ */

/* ── 최상단으로 이동 버튼 ── */

/* ── 공통 맨위로 버튼 ── */
.g-scroll-top {
    position: fixed;
    right: max(20px, calc(50% - var(--max-width) / 2 + 20px));
    bottom: 256px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--c-border1, #C5C8CE);
    background: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--c-text2, #000);    
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.15s;
    z-index: 200;
}
.g-scroll-top--show {
    opacity: 1;
    transform: translateY(0);
}
.g-scroll-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.rv-scroll-top {
    position: fixed;
    right: max(20px, calc(50% - var(--max-width) / 2 + 20px));
    bottom: 146px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--c-border1, #C5C8CE);
    background: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text2, #777);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    z-index: 37;
    transition: transform 0.15s, box-shadow 0.15s;
}

.rv-scroll-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

/* ── 헤더 ── */

.rv-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 100;
    height: 56px;
    background: var(--c-white);
}

.rv-header__back,
.rv-header__write {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--c-text1);
    text-decoration: none;
}

.rv-header__back {
    left: var(--px);
}

.rv-header__write {
    right: var(--px);
}

.rv-header__title {
    font-size: var(--fs-18);
    font-weight: 600;
    color: var(--c-text1);
    margin: 0;
}

/* ── 페이지 컨테이너 ── */

.rv-page {
    padding: 20px 0 40px;
}

/* ── 총 개수 ── */

.rv-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--px);
    margin: 0 0 16px;
}

.rv-total {
    font-size: var(--fs-16);
    color: var(--c-text1);
    font-weight: 500;
    padding: 0;
    margin: 0;
}

.rv-total__count {
    color: var(--c-brand);
    font-weight: 700;
}

.rv-sort {
    position: relative;
    flex-shrink: 0;
}

.rv-sort__trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 400;
    color: var(--c-text1);
    padding: 5px 10px 5px 12px;
    border-radius: 20px;
    border: none;
    background: var(--c-white);
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.15s;
    font-family: inherit;
}

.rv-sort__trigger[aria-expanded="true"] {
    border-color: var(--c-brand);
    color: var(--c-brand);
}

.rv-sort__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 120px;
    background: var(--c-white);
    border: 1px solid var(--c-border1);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    z-index: 100;
    overflow: hidden;
}

.rv-sort__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 11px 14px;
    font-size: 13px;
    color: var(--c-text1);
    text-decoration: none;
    transition: background 0.12s;
    white-space: nowrap;
}

.rv-sort__option:not(:last-child) {
    border-bottom: 1px solid var(--c-bg1, #f5f6f8);
}

.rv-sort__option:active {
    background: var(--c-bg1, #f5f6f8);
}

.rv-sort__option--active {
    color: var(--c-brand);
    font-weight: 600;
}

/* ── 해시태그 필터 ── */

.rv-tags-wrap {
    overflow: hidden;
    margin-bottom: 20px;
}

.rv-tags-title {
    font-size: var(--fs-14);
    font-weight: 500;
    color: var(--c-text2);
    margin: 0 0 10px;
    padding: 0 var(--px);
}

.rv-tags {
    display: flex;
    gap: 8px;
    padding: 0 var(--px) 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.rv-tags::-webkit-scrollbar {
    display: none;
}

.rv-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;    
    font-size: 12px;
    background: var(--c-bg1);
    color: var(--c-text2);
    white-space: nowrap;
    flex-shrink: 0;
    cursor: default;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.rv-tag--active {
    background: var(--c-text1);
    color: var(--c-white);
    border-color: var(--c-text1);
}

/* ── 후기 목록 ── */

.rv-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rv-item {
    padding: 20px var(--px);    
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.rv-item__link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* ── 후기 헤더 (작성자/별점/날짜) ── */

.rv-item__head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rv-item__author {
    font-size: var(--fs-14);
    font-weight: 600;
    color: var(--c-text1);
}

.rv-item__stars {
    display: flex;
    gap: 2px;
}

.rv-star {
    color: var(--c-border1);
}

/* .rv-star--on color/fill → 공용 .star-on 담당 */

.rv-item__date {
    font-size: 12px;
    color: var(--c-text2);
    margin-left: auto;
}

/* ── 주문 정보 태그 ── */

.rv-item__order-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rv-otag {
    font-size: 12px;
    color: var(--c-text2);
}

/* ── 이미지 ── */

.rv-item__imgs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.rv-item__imgs::-webkit-scrollbar {
    display: none;
}

.rv-item__img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

/* ── 본문 ── */

.rv-item__content {
    font-size: var(--fs-14);
    color: var(--c-text1);
    line-height: 1.38;
    margin: 0;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── 반응 태그 ── */

.rv-item__reaction-tags {
    display: flex;
    gap: 8px;
}

.rv-rtag {
    font-size: 12px;
    color: var(--c-text2);
}

/* ── 빈 상태 ── */

.rv-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 60px var(--px);
    color: var(--c-text2);
    font-size: var(--fs-14);
}

/* ═══════════════════════════════════════════════════════════
   후기 상세 (rvd-) — review_detail.html
   ═══════════════════════════════════════════════════════════ */

/* 버튼 바 위치 기준 래퍼 */
.rvd-wrap {
    position: relative;
}

/* 바가 있을 때 fixed 바 아래 여백 확보 */
.rvd-wrap--has-bar {
    padding-bottom: 76px;
}

.rvd-page {
    padding: 20px var(--px) 48px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── 헤더 (작성자/별점/날짜) ── */

.rvd-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rvd-head__left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rvd-author {
    font-size: var(--fs-16);
    font-weight: 600;
    color: var(--c-text1);
}

.rvd-stars {
    display: flex;
    gap: 2px;
}

.rvd-star {
    color: var(--c-border1);
}

/* .rvd-star--on color/fill → 공용 .star-on 담당 */

.rvd-date {
    font-size: var(--fs-12);
    color: var(--c-text2);
}

/* ── 이미지 스와이퍼 (Swiper.js) ── */

.rvd-swiper {
    width: 100%;
}

.rvd-swiper .rvd-swiper__slide {
    padding: 0 4px;
    box-sizing: border-box;
}

.rvd-swiper__img {
    width: 100%;
    height: 340px;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}

/* 페이지네이션 dots */
.rvd-swiper__pagination {
    position: static;
    margin-top: 10px;
}

.rvd-swiper__pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: var(--c-border1, #C5C8CE);
    opacity: 1;
    transition: background 0.2s, transform 0.2s;
}

.rvd-swiper__pagination .swiper-pagination-bullet-active {
    background: var(--c-text1, #000);
    transform: scale(1.25);
}

/* ── 주문 태그 ── */

.rvd-order-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rvd-otag {
    font-size: var(--fs-12);
    color: var(--c-text2);
}

/* ── 반응 태그 ── */

.rvd-reaction-tags {
    display: flex;
    gap: 10px;
}

.rvd-rtag {
    font-size: var(--fs-12);
    color: var(--c-text2);
}

/* ── 본문 ── */

.rvd-content {
    font-size: var(--fs-16);
    color: var(--c-text1);
    line-height: var(--lh-138);
    letter-spacing: var(--ls-1);
    margin: 0;
    word-break: break-word;
    white-space: pre-wrap;
}

/* ── 하단 버튼 바 ── */

.rvd-bottom-bar {
    /* 기본: 뷰포트 하단에 고정 (fixed) */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 620px;   /* 레이아웃 폭 제한 */
    margin: 0 auto;
    padding: 12px var(--px) calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--c-white);    
    z-index: 200;
}

.rvd-bottom-bar.is-anchored {
    /* 페이지 하단 도달: 래퍼 기준 절대 위치로 전환 */
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: none;
    margin: 0;
}

.rvd-bottom-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    background: var(--c-border2, #272E3A);
    color: var(--c-white);
    border-radius: 12px;
    font-size: var(--fs-16);
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s;
}

.rvd-bottom-btn:active {
    opacity: 0.85;
}

/* ── 인터넷TV 페이지 (/internet) ─────────────────────────────── */
.internet-page {
    display: flex;
    flex-direction: column;
    min-height: 60vh;    
}

.internet-image-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.internet-image-item {
    display: flex;
    width: 100%;
}

.internet-image-link {
    display: flex;
    width: 100%;
}

.internet-image-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.internet-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 200px;
    color: var(--c-text2, #777);
    font-size: var(--fs-14);
}

/* ── 공통 토스트 ── */
.g-toast {
    position: fixed;
    top: 72px;
    left: 50%;
    transform: translateX(-50%) translateY(-12px);
    background: var(--c-text1);
    color: #fff;
    font-size: var(--fs-14);
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s, transform 0.22s;
    z-index: 9999;
}

.g-toast--show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ── 로그아웃 확인 모달 ── */
.logout-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9000;
    padding: 24px;
}

.logout-modal-overlay[hidden] {
    display: none;
}

.logout-modal {
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px 24px;
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.logout-modal__title {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin: 0;
    text-align: center;
}

.logout-modal__desc {
    font-size: 14px;
    color: #888;
    margin: 0 0 8px;
    text-align: center;
}

.logout-modal__actions {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: 8px;
}

.logout-modal__btn {
    flex: 1;
    height: 52px;
    border-radius: 14px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
}

.logout-modal__btn:hover {
    opacity: 0.85;
}

.logout-modal__btn--cancel {
    background: #f0f0f0;
    color: #333;
}

.logout-modal__btn--confirm {
    background: #FF0084;
    color: #fff;
}