/* 상품 상세 페이지 스타일 */

.product-detail-container {
    padding: 40px 0;
    background: #fff;
    max-width: 100%;
    overflow-x: hidden;
}

.product-detail-container .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* 왼쪽: 이미지 갤러리 */
.product-images {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.main-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f8f8f8;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

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

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumbnail {
    aspect-ratio: 1 / 1;
    background: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #333;
}

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

/* 오른쪽: 상품 정보 */
.product-info {
    padding: 20px 0;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

.product-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e5e5e5;
}

.original-price {
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
}

.sale-price {
    font-size: 32px;
    font-weight: 700;
    color: #333;
}

.discount-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #ff4444;
    color: white;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
}

/* 상품 통계 (평점, 후기, 판매) */
.product-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 15px 0;
    font-size: 14px;
    color: #666;
}

.product-stats .stars {
    color: #ffc107;
    font-size: 16px;
}

.product-stats .stat-divider {
    color: #ddd;
}

.product-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-stats .sales-highlight {
    color: #e74c3c;
    font-weight: 700;
}

.product-meta {
    margin-bottom: 30px;
}

.meta-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.meta-item .label {
    width: 100px;
    color: #666;
    font-size: 14px;
}

.meta-item .value {
    flex: 1;
    color: #333;
    font-size: 14px;
}

/* 옵션 선택 */
.product-options {
    margin-bottom: 30px;
}

.option-group {
    margin-bottom: 20px;
}

.option-label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.option-label .required {
    color: #ff4444;
}

/* 색상 옵션 */
.color-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.color-option {
    min-width: 60px;
    height: 38px;
    border-radius: 6px;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    background: #f8f8f8;
}

.color-option .color-label {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    pointer-events: none;
}

.color-option:hover {
    border-color: #333;
    background: #eee;
}

.color-option.active {
    border-color: #333;
    background: #333;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.color-option.active .color-label {
    color: #fff;
}

/* 미리 정의된 색상은 컬러 스워치 + 텍스트로 표시 */
.color-option[data-color="빨강"],
.color-option[data-color="레드"],
.color-option[data-color="red"] { border-left: 6px solid #ff4444; }
.color-option[data-color="검정"],
.color-option[data-color="블랙"],
.color-option[data-color="black"] { border-left: 6px solid #000; }
.color-option[data-color="흰색"],
.color-option[data-color="화이트"],
.color-option[data-color="white"] { border-left: 6px solid #ccc; }
.color-option[data-color="파랑"],
.color-option[data-color="블루"],
.color-option[data-color="blue"] { border-left: 6px solid #2563eb; }
.color-option[data-color="노랑"],
.color-option[data-color="옐로우"],
.color-option[data-color="yellow"] { border-left: 6px solid #f59e0b; }
.color-option[data-color="녹색"],
.color-option[data-color="그린"],
.color-option[data-color="green"] { border-left: 6px solid #16a34a; }
.color-option[data-color="회색"],
.color-option[data-color="그레이"],
.color-option[data-color="gray"] { border-left: 6px solid #6b7280; }
.color-option[data-color="분홍"],
.color-option[data-color="핑크"],
.color-option[data-color="pink"] { border-left: 6px solid #ec4899; }
.color-option[data-color="네이비"],
.color-option[data-color="navy"] { border-left: 6px solid #1e3a8a; }
.color-option[data-color="베이지"],
.color-option[data-color="beige"] { border-left: 6px solid #d2b48c; }
.color-option[data-color="카키"],
.color-option[data-color="khaki"] { border-left: 6px solid #6b6b3a; }
.color-option[data-color="오렌지"],
.color-option[data-color="orange"] { border-left: 6px solid #f97316; }
.color-option[data-color="보라"],
.color-option[data-color="퍼플"],
.color-option[data-color="purple"] { border-left: 6px solid #7c3aed; }
.color-option[data-color="갈색"],
.color-option[data-color="브라운"],
.color-option[data-color="brown"] { border-left: 6px solid #78350f; }

/* 사이즈 선택 */
.option-select {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    background: #fff;
}

.option-select:focus {
    outline: none;
    border-color: #333;
}

/* 수량 선택 */
.quantity-selector {
    margin-bottom: 30px;
}

.quantity-control {
    display: flex;
    align-items: center;
    width: 120px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    background: #f8f8f8;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #e8e8e8;
}

.qty-btn:active {
    background: #ddd;
}

#quantity {
    width: 48px;
    height: 36px;
    text-align: center;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    font-size: 16px;
    font-weight: 600;
}

/* 총 가격 */
.total-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 20px;
}

.total-price .label {
    font-size: 16px;
    color: #666;
}

.total-price .amount {
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

/* 구매 버튼 */
.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn {
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cart {
    background: #fff;
    color: #333;
    border: 2px solid #333;
}

.btn-cart:hover {
    background: #333;
    color: #fff;
}

.btn-buy {
    background: #333;
    color: #fff;
}

.btn-buy:hover {
    background: #000;
}

/* 탭 영역 */
.product-tabs {
    margin-top: 80px;
    border-top: 2px solid #333;
    max-width: 100%;
}

.tab-headers {
    display: flex;
    border-bottom: 1px solid #e5e5e5;
}

.tab-header {
    flex: 1;
    padding: 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-header:hover {
    color: #333;
}

.tab-header.active {
    color: #333;
    border-bottom-color: #333;
}

.tab-contents {
    padding: 40px 0;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.tab-content p {
    line-height: 1.8;
    color: #666;
}

.no-data {
    padding: 60px 20px;
    text-align: center;
    color: #999;
}

/* 반품 정보 */
.return-info {
    max-width: 800px;
}

.return-info #returnPolicy {
    white-space: pre-line;
    line-height: 1.8;
    color: #666;
}

/* 상세 설명 */
#productDetailDescription,
#bottomProductDetailDescription {
    line-height: 2;
    word-wrap: break-word;
    word-break: keep-all;
    overflow-wrap: break-word;
    font-size: 15px;
    color: #444;
    max-width: 100%;
    width: 100%;
}

/* 상품 설명 텍스트 영역 */
.product-description {
    line-height: 2.2;
    font-size: 15px;
    color: #444;
    word-wrap: break-word;
    word-break: keep-all;
    overflow-wrap: break-word;
    padding: 20px 0;
}

.product-description strong {
    display: block;
    font-size: 17px;
    color: #333;
    margin: 10px 0;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

#productDetailDescription p,
#bottomProductDetailDescription p {
    margin-bottom: 16px;
    line-height: 2;
    word-break: keep-all;
}

#productDetailDescription img,
#bottomProductDetailDescription img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

/* 반품/교환 정보 영역 */
#returnPolicy,
#bottomReturnPolicy {
    line-height: 2.2;
    font-size: 15px;
    color: #555;
    word-break: keep-all;
    overflow-wrap: break-word;
}

#returnPolicy strong,
#bottomReturnPolicy strong {
    display: block;
    font-size: 16px;
    color: #333;
    margin: 15px 0 10px 0;
}

/* 탭 컨텐츠 영역 */
.tab-contents {
    padding: 40px 0;
    max-width: 100%;
}

/* 상세 설명 내 텍스트 전체 줄바꿈 처리 */
.tab-content {
    word-wrap: break-word;
    word-break: keep-all;
    overflow-wrap: break-word;
    max-width: 100%;
}

.tab-content * {
    max-width: 100%;
}

/* 반응형 */
@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-images {
        position: static;
    }

    .product-name {
        font-size: 22px;
    }

    .sale-price {
        font-size: 26px;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

    .tab-headers {
        overflow-x: auto;
    }

    .tab-header {
        white-space: nowrap;
        min-width: 120px;
    }
}

/* 추천 상품 섹션 */
.related-products-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px solid #e5e5e5;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-product-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.related-product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.related-product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8f8f8;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-product-card:hover .related-product-image img {
    transform: scale(1.05);
}

.related-product-image .discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4444;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.related-product-info {
    padding: 16px;
}

.related-product-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.related-product-price .original-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.related-product-price .sale-price {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.related-product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
}

.related-product-rating .stars {
    color: #ffc107;
}

.related-product-rating .review-count {
    color: #999;
}

/* 반응형 - 추천 상품 */
@media (max-width: 1024px) {
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .section-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .related-products-section {
        margin-top: 40px;
        padding-top: 40px;
    }
}

/* ===== 리뷰 섹션 스타일 ===== */
.review-section h3,
.qna-section h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
}

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

.review-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-rating {
    color: #ffc107;
    font-size: 14px;
    letter-spacing: 1px;
}

.review-author {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.review-date {
    color: #999;
    font-size: 13px;
}

.review-content {
    line-height: 1.8;
    color: #555;
    font-size: 14px;
    white-space: pre-line;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

.review-option {
    margin-top: 8px;
    font-size: 12px;
    color: #888;
}

/* 리뷰 통계 */
.review-summary {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 30px;
}

.review-avg {
    text-align: center;
    padding-right: 30px;
    border-right: 1px solid #ddd;
}

.review-avg .score {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.review-avg .stars {
    color: #ffc107;
    font-size: 20px;
    margin-top: 8px;
}

.review-avg .count {
    font-size: 13px;
    color: #888;
    margin-top: 5px;
}

.review-stats {
    flex: 1;
}

.stat-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.stat-bar .label {
    width: 50px;
    font-size: 13px;
    color: #666;
}

.stat-bar .bar {
    flex: 1;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.stat-bar .bar-fill {
    height: 100%;
    background: #ffc107;
    border-radius: 4px;
}

.stat-bar .num {
    width: 30px;
    font-size: 12px;
    color: #999;
    text-align: right;
}

/* 페이지네이션 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.pagination button {
    padding: 8px 14px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.2s;
}

.pagination button:hover {
    background: #f5f5f5;
    border-color: #333;
}

.pagination button.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

.pagination button:disabled {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
}

/* ===== Q&A 섹션 스타일 ===== */
.qna-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.qna-item {
    border-bottom: 1px solid #eee;
}

.qna-question {
    padding: 20px 0;
}

.qna-q-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.qna-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.qna-badge.question {
    background: #e3f2fd;
    color: #1976d2;
}

.qna-badge.answer {
    background: #e8f5e9;
    color: #388e3c;
}

.qna-badge.waiting {
    background: #fff3e0;
    color: #f57c00;
}

.qna-badge.secret {
    background: #fce4ec;
    color: #c2185b;
}

.qna-author {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.qna-date {
    color: #999;
    font-size: 13px;
}

.qna-q-content {
    line-height: 1.8;
    color: #555;
    font-size: 14px;
    padding-left: 5px;
    white-space: pre-line;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

.qna-answer {
    padding: 20px;
    background: #f8f9fa;
    margin: 0 0 15px 20px;
    border-radius: 8px;
    border-left: 3px solid #4caf50;
}

.qna-a-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.qna-a-content {
    line-height: 1.8;
    color: #555;
    font-size: 14px;
    white-space: pre-line;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

.qna-secret-msg {
    color: #999;
    font-style: italic;
}

/* 더보기 버튼 */
.load-more {
    display: block;
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
}

.load-more:hover {
    background: #e8e8e8;
    border-color: #333;
}

/* 로딩 스피너 */
.loading-spinner {
    text-align: center;
    padding: 40px;
    color: #999;
}

/* 반응형 - 리뷰/Q&A */
@media (max-width: 768px) {
    .review-summary {
        flex-direction: column;
        gap: 20px;
    }

    .review-avg {
        padding-right: 0;
        border-right: none;
        padding-bottom: 20px;
        border-bottom: 1px solid #ddd;
    }

    .qna-answer {
        margin-left: 10px;
    }
}

/* ===== 작성 버튼 스타일 ===== */
.write-btn-wrapper {
    margin-bottom: 20px;
    text-align: right;
}

.write-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.write-btn:hover {
    background: #000;
    transform: translateY(-2px);
}

.write-btn.disabled {
    background: #ccc;
    color: #888;
    cursor: not-allowed;
}

.write-btn.disabled:hover {
    transform: none;
}

/* ===== 모달 폼 스타일 ===== */
.modal-form {
    max-width: 500px;
}

.modal-form h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
}

.modal-form .form-group {
    margin-bottom: 20px;
}

.modal-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.modal-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    box-sizing: border-box;
}

.modal-form textarea:focus {
    outline: none;
    border-color: #333;
}

.modal-form textarea::placeholder {
    color: #999;
}

/* 별점 선택 */
.star-select {
    display: flex;
    gap: 8px;
}

.star-select .star {
    font-size: 32px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s;
}

.star-select .star:hover {
    transform: scale(1.2);
}

.star-select .star.active {
    color: #ffc107;
}

/* 체크박스 그룹 */
.checkbox-group label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group span {
    font-weight: 400 !important;
    color: #555 !important;
}

/* 제출 버튼 */
.modal-form .btn-primary {
    display: block;
    width: 100%;
    padding: 15px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.modal-form .btn-primary:hover {
    background: #000;
}

/* 반응형 - 모달 폼 */
@media (max-width: 576px) {
    .modal-form {
        margin: 20px;
        max-width: calc(100% - 40px);
    }

    .star-select .star {
        font-size: 28px;
    }
}

/* 하단 탭 영역 */
.product-tabs.bottom-tabs {
    margin-top: 60px;
    margin-bottom: 40px;
}

/* ====================================
   배송정보 및 상세정보 통합 섹션 스타일
   ==================================== */

/* 통합 콘텐츠 섹션 - 배송정보 + 상세정보를 하나로 */
.unified-content-section {
    max-width: 1000px;
    margin: 50px auto;
    padding: 40px;
    background: #fff;
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden;
}

/* 섹션 내부의 모든 요소 반응형 강제 적용 */
.unified-content-section * {
    max-width: 100% !important;
    box-sizing: border-box;
}

/* 섹션 내부의 모든 이미지 반응형 */
.unified-content-section img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 20px auto;
    width: auto !important;
}

/* 섹션 내부의 모든 텍스트 줄바꿈 */
.unified-content-section p,
.unified-content-section div,
.unified-content-section span {
    word-wrap: break-word;
    word-break: keep-all;
    overflow-wrap: break-word;
    max-width: 100%;
}

/* 배송정보 영역 */
.unified-content-section #shippingPolicy {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e5e5e5;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.unified-content-section #shippingPolicy * {
    max-width: 100% !important;
}

.unified-content-section #shippingPolicy img {
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
}

.unified-content-section #shippingPolicy h3 {
    color: #333;
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 600;
    max-width: 100%;
}

.unified-content-section #shippingPolicy p {
    margin: 12px 0;
    color: #555;
    max-width: 100%;
    word-wrap: break-word;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.unified-content-section #shippingPolicy ul,
.unified-content-section #shippingPolicy ol {
    margin: 12px 0;
    padding-left: 25px;
    color: #555;
    max-width: 100%;
}

.unified-content-section #shippingPolicy li {
    margin: 8px 0;
    line-height: 1.8;
    max-width: 100%;
    word-wrap: break-word;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.unified-content-section #shippingPolicy strong {
    color: #333;
    font-weight: 600;
    word-wrap: break-word;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* 상세정보 영역 */
.unified-content-section #productDetailDescription {
    line-height: 1.8;
    color: #333;
    font-size: 15px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.unified-content-section #productDetailDescription * {
    max-width: 100% !important;
}

.unified-content-section #productDetailDescription img {
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
    display: block;
    margin: 20px auto;
}

.unified-content-section #productDetailDescription p {
    margin: 12px 0;
    line-height: 1.8;
    max-width: 100%;
    word-wrap: break-word;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.unified-content-section #productDetailDescription h3 {
    color: #333;
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 600;
    max-width: 100%;
    word-wrap: break-word;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* 반응형 - 태블릿 */
@media (max-width: 1024px) {
    .unified-content-section {
        max-width: 100%;
        padding: 35px 30px;
        margin: 40px auto;
        width: 100%;
        overflow-x: hidden;
    }

    .unified-content-section * {
        max-width: 100% !important;
    }

    .unified-content-section img {
        max-width: 100% !important;
        height: auto !important;
        width: auto !important;
    }
}

/* 반응형 - 모바일 */
@media (max-width: 768px) {
    .unified-content-section {
        padding: 25px 20px;
        margin: 30px auto;
        width: 100%;
        overflow-x: hidden;
    }

    .unified-content-section * {
        max-width: 100% !important;
    }

    .unified-content-section img {
        max-width: 100% !important;
        height: auto !important;
        width: auto !important;
    }

    .unified-content-section #shippingPolicy {
        font-size: 14px;
        margin-bottom: 30px;
        padding-bottom: 30px;
        width: 100%;
        overflow-x: hidden;
    }

    .unified-content-section #shippingPolicy h3,
    .unified-content-section #productDetailDescription h3 {
        font-size: 16px;
        margin-top: 20px;
        max-width: 100%;
        word-wrap: break-word;
    }

    .unified-content-section #productDetailDescription {
        font-size: 14px;
        width: 100%;
        overflow-x: hidden;
    }
}

/* 반응형 - 작은 모바일 */
@media (max-width: 480px) {
    .unified-content-section {
        padding: 20px 15px;
        margin: 20px auto;
        width: 100%;
        overflow-x: hidden;
    }

    .unified-content-section * {
        max-width: 100% !important;
    }

    .unified-content-section img {
        max-width: 100% !important;
        height: auto !important;
        width: auto !important;
    }

    .unified-content-section #shippingPolicy {
        font-size: 13px;
        margin-bottom: 25px;
        padding-bottom: 25px;
        width: 100%;
        overflow-x: hidden;
    }

    .unified-content-section #shippingPolicy h3,
    .unified-content-section #productDetailDescription h3 {
        font-size: 15px;
        margin-top: 18px;
        max-width: 100%;
        word-wrap: break-word;
    }

    .unified-content-section #productDetailDescription {
        font-size: 13px;
        width: 100%;
        overflow-x: hidden;
    }

    .unified-content-section #shippingPolicy ul,
    .unified-content-section #shippingPolicy ol {
        padding-left: 20px;
        max-width: 100%;
    }

    .unified-content-section #shippingPolicy p,
    .unified-content-section #productDetailDescription p {
        word-wrap: break-word;
        word-break: keep-all;
        overflow-wrap: break-word;
    }
}

/* 반품/교환 정책 섹션 */
.return-policy-section {
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.return-policy-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #dee2e6;
}

.return-policy-content {
    font-size: 14px;
    line-height: 1.9;
    color: #555;
    white-space: pre-line;
}

@media (max-width: 768px) {
    .return-policy-section {
        padding: 20px;
        margin-top: 30px;
    }
    .return-policy-title {
        font-size: 16px;
    }
    .return-policy-content {
        font-size: 13px;
    }
}

