       body {
        padding-top: 5rem;}

       .container {
            max-width: 1360px;
            margin: 0 auto;
        }

        /* --- 상단 타이틀 및 탭 --- */
        .page-header {
            text-align: center;
            margin-bottom: 4rem;
        }

        .page-title {
            color:var(--pm-color-500);
            font-size: var(--fs-h1);
            font-weight: var(--fw-bold);
            margin-bottom: 4rem;
        }

        .tab-menu {
            display: flex;
            justify-content: center;
            gap: 2rem;
        }

        .tab-menu a {
            text-decoration: none;
            font-size: var(--fs--bd1);
            font-weight: var(--fw-med);
            color: var(--pm-color-500); 
        }

        .tab-menu a.active {
            color: var(--pi-color-400);}

        /* --- 섹션 헤더 (Visitor Reviews) --- */
        .section-header {
            text-align: center;
        }

        .section-header h2 {
            color: var(--pm-color-500);
            font-size: var(--fs-h1);
            margin-bottom: 1rem;
        }

        .section-header p {
            font-size: var(--fs--bd1);
            font-weight: var(--fw-med);
            color:#000;
            margin-bottom: 9rem;
        }

        /* --- 메인 콘텐츠 (좌측 이미지, 우측 리뷰) --- */
        .content-grid {
            display: grid;
            grid-template-columns: 1fr 1.1fr; 
            gap: 2rem;
            margin-bottom: 4rem;
            align-items: end;
        }

        .main-image {
            width: 100%;
            height: 100%;
            border-radius: 4px;
            overflow: hidden;
        }

        .main-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* --- 우측 리뷰 영역 --- */
        .reviews-area {
            display: flex;
            flex-direction: column;
        }

        /* 상단 컨트롤 (페이지네이션 & 정렬) */
        .review-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .pagination-mini {
            display: flex;
            gap: 0.5rem;
        }

        .pagination-mini span {
            font-size: var(--fs-det);
            font-weight: var(--fw-reg);
            color: #666;
            cursor: pointer;
            width: 30px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
        }

        .pagination-mini span.active {
            background-color:var(--pm-color-0);
            color: var(--pm-color-500);
            font-weight: var(--fw-bold);
        }

        .sort-btn {
            font-size:var(--fs-bd2);
            font-weight: var(--fw-reg);
            color: #333;
            background: none;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .sort-btn img {
            width: 20px;
            height: 20px;
            display: block;
        }

        .sort-dropdown {
            position: relative;
        }

        .sort-trigger {
            font-size: var(--fs-bd2);
            color: #333;
            background: #fff;
            border: 1px solid #ddd;
            border-radius: 8px;
            cursor: pointer;
            display: contents;
            align-items: center;
            gap: 4px;
        }

        .sort-trigger span img {
            width: 1rem;
            height: 1rem;
        }

        .sort-options {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            display: none;
            list-style: none;
            margin: 0;
            padding: 0.4rem 0;
            background: #fff;
            border: 1px solid #ddd;
            border-radius: 8px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.12);
            min-width: 7rem;
            z-index: 100;
        }

        .sort-dropdown.open .sort-options {
            display: block;
        }

        .sort-options li {
            padding: 0.4rem 0.8rem;
            cursor: pointer;
            color: #333;
            font-size: var(--fs-det);
        }

        .sort-options li:hover,
        .sort-options li.active {
            background: #fff;
        }

        /* 리뷰 카드 리스트 */
        .review-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .review-card {
            background-color: #f8fafe; 
            padding: 3rem;
            border-radius: 20px;
        }

        .reviewer-info {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .reviewer-avatar {
            width: 65px;
            height: 65px;
            border-radius: 50%;
            object-fit: cover;
        }

        .reviewer-details h4 {
            font-size: var(--fs--bd1);
            font-weight: var(--fw-bold);
            color: #000;
        }

        .reviewer-details span {
            font-size: var(--fs-det);
            font-weight: var(--fw-med);
            color: #888;
        }

        .review-text {
            font-size: var(--fs-det);
            font-weight: var(--fw-reg);
            color:#000;
            word-break: keep-all;
        }

        /* --- 하단 갤러리 썸네일 --- */
          
        .gallery-wrapper {
            width: 100%;
            overflow: hidden; 
            margin-bottom: 1rem;
        }

        .gallery-track {
            display: flex;
            gap: 1rem;
            width: max-content; 
           
        }

        .gallery-item {
            width: 359px; 
            aspect-ratio: 1 / 1;
            border-radius: 4px;
            overflow: hidden;
            flex-shrink: 0; 
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            pointer-events: none; /
        }

        /* 프로그레스 바 마우스 커서 및 터치 설정 */
        .progress-container {
            width: 100%;
            height: 4px;
            background-color: #eee;
            border-radius: 2px;
            overflow: hidden;
            cursor: pointer;
            touch-action: none; 
        }

        /* 프로그레스 바 */
        .progress-container {
            width: 100%;
            height: 4px;
            background-color: #eee;
            border-radius: 2px;
            overflow: hidden;
        }

        .progress-bar {
            width: 20%; 
            height: 100%;
            background-color: var(--pm-color-200); 
            border-radius: 2px;
        }
        .bottom-gallery{
            margin-bottom: 5rem;
        }
        /* 반응형 (모바일 사이즈) */
        @media (max-width: 1400px){
            html{
                font-size: var(--basic-font-tab);
            }
            .container {
                max-width: 1000px;}
            .main-image img {
                object-position: left;}
            .gallery-item {
                width: 250px;
            }

    
}
        
        @media (max-width: 1000px) {
             html{
                font-size: var(--basic-font-mo);
            }
            .container {
                max-width: 700px;}
            .content-grid {
                grid-template-columns: 1fr; 
            }
            .gallery-grid {
                grid-template-columns: repeat(2, 1fr); 
            }
        }

        @media (max-width: 768px){
            .container {
                max-width: 500px;}
                 .gallery-item {
                width: 200px;
            }
        }

         @media (max-width: 500px){
            .container {
                max-width: 300px;}
            
        }

        