/* 사이즈표 버튼 스타일 */
.psc-size-chart-btn {
    transition: opacity 0.3s ease;
}

.psc-size-chart-btn:hover {
    opacity: 0.9;
}

/* 모달 방식 스타일 */
.psc-size-chart-modal {
    display: none !important;
    position: fixed !important;
    z-index: 999999 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: auto !important;
}

.psc-size-chart-modal.psc-modal-open {
    display: flex !important;
}

.psc-modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin: auto;
}

.psc-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    z-index: 10001;
}

.psc-close-btn:hover {
    color: #000;
}

.psc-modal-title,
.psc-slide-title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

.psc-size-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.psc-size-table th,
.psc-size-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #ddd;
}

.psc-size-table th {
    background-color: #f5f5f5;
    font-weight: 600;
}

.psc-size-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.psc-modal-note,
.psc-slide-note {
    font-size: 12px;
    color: #777;
    margin-top: 15px;
    text-align: center;
}

/* 슬라이드 배경 오버레이 */
.psc-slide-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    z-index: 999998 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out !important;
}

.psc-slide-overlay.psc-overlay-open {
    opacity: 1 !important;
    visibility: visible !important;
}

/* 슬라이드 방식 스타일 */
.psc-size-chart-slide {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 100% !important;
    max-width: 500px !important;
    height: 100% !important;
    background-color: #fff !important;
    z-index: 999999 !important;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.3) !important;
    transition: right 0.3s ease-in-out !important;
    overflow-y: auto !important;
}

.psc-size-chart-slide.psc-slide-open {
    right: 0 !important;
}

.psc-slide-content {
    padding: 30px;
    position: relative;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .psc-size-chart-slide {
        max-width: 100%;
    }
    
    .psc-modal-content {
        max-width: 95%;
        padding: 20px;
    }
    
    .psc-size-table {
        font-size: 12px;
    }
    
    .psc-size-table th,
    .psc-size-table td {
        padding: 8px;
    }
}




