
.breadcrumb-container {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.breadcrumb-nav {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '>';
    margin: 0 10px;
    color: #6c757d;
    font-weight: 600;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
    font-weight: 600;
}
.product-description{ 
    line-height: 1.6rem; 
    color: #71716e; 
    font-weight: 500;
}

/* 에디터 콘텐츠 스타일 (init.css reset 덮어쓰기) */
.product-description h1, .product-description h2, .product-description h3,
.product-description h4, .product-description h5, .product-description h6 {
    color: #1e293b;
    margin: 1.5em 0 0.7em 0;
    font-weight: 600;
    line-height: 1.3;
    font-family: inherit;
}

.product-description h1 { font-size: 1.5rem; }
.product-description h2 { font-size: 1.25rem; }
.product-description h3 { font-size: 1.125rem; }
.product-description h4 { font-size: 1rem; }
.product-description h5 { font-size: 0.95rem; }
.product-description h6 { font-size: 0.875rem; }

.product-description p {
    margin: 0 0 1em 0;
}
.product-description p a {color: #007bff !important; text-decoration: underline !important;}
.product-description ul, .product-description ol {
    margin: 1em 0;
    padding-left: 1.4em !important;
    list-style-position: outside;
}

.product-description ul {
    list-style-type: disc !important;
    list-style: disc outside none !important;
}

.product-description ol {
    list-style-type: decimal !important;
    list-style: decimal outside none !important;
}

.product-description ul ul {
    list-style-type: circle;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.product-description ul ul ul {
    list-style-type: square;
}

.product-description li {
    margin: 0.3em 0;
    line-height: 1.6;
    display: list-item !important;
    list-style-position: outside !important;
}

/* 에디터 색상 상속 문제 해결 */
/* color가 설정된 span 내부의 모든 요소가 color를 상속받도록 */
.product-description span[style*="color"] * {
    color: inherit !important;
}

/* background-color만 있는 span도 부모의 color를 상속받도록 */
.product-description span[style*="background-color"]:not([style*="color"]) {
    color: inherit !important;
}

.product-description blockquote {
    border-left: 4px solid #3b82f6;
    padding: 1em;
    margin: 1.2em 0;
    font-style: italic;
    color: #475569;
    background: #f8fafc;
    border-radius: 0 6px 6px 0;
    font-size: 0.9rem;
}

.product-description hr {
    display: block;
    border: none;
    border-top: 2px solid #e2e8f0;
    margin: 1.5em 0;
    height: 0;
}

.product-description table {
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin: 1.2em 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 0.85rem;
    border: 1px solid #e2e8f0 !important;
}

.product-description th,
.product-description td {
    padding: 8px 10px;
    text-align: left;
    border: 1px solid #e2e8f0 !important;
}

.product-description table[border] {
    border: 1px solid #e2e8f0 !important;
}

.product-description table[border] th,
.product-description table[border] td {
    border: 1px solid #d1d5db !important;
}

.product-description table[border] {
    border: 1px solid #e2e8f0 !important;
}

.product-description table[border] th,
.product-description table[border] td {
    border: 1px solid #d1d5db !important;
}

.product-description th {
    background: #f8fafc;
    font-weight: 600;
    color: #1e293b;
}

.product-description tr:nth-child(even) {
    background: #f8fafc;
}

.product-description tr:hover {
    background: #f1f5f9;
}

.product-description img {
    max-width: 100%;
    height: auto !important;
    border-radius: 6px;
    margin: 1.2em 0;
}

.product-description code {
    background: #f1f5f9;
    padding: 2px 5px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.85em;
    color: #dc2626;
}

.product-description pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1em;
    border-radius: 6px;
    overflow-x: auto;
    margin: 1.2em 0;
    font-size: 0.8rem;
}

.product-description pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.product-description [style*="font-family"] {
    /* 에디터에서 설정한 font-family를 그대로 적용하도록 주석 처리 */
    /* font-family: inherit !important; */
}

.product-description font[face] {
    font-family: inherit;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .product-description {
        font-size: 14px;
    }
    
    .product-description h1 { font-size: 1.25rem; }
    .product-description h2 { font-size: 1.125rem; }
    .product-description h3 { font-size: 1rem; }
    .product-description h4 { font-size: 0.95rem; }
    .product-description h5 { font-size: 0.9rem; }
    .product-description h6 { font-size: 0.85rem; }
    
    .product-description table {
        font-size: 0.75rem;
    }
    
    .product-description th,
    .product-description td {
        padding: 6px 8px;
    }
}
/* 리뷰 모달 스타일 */
.review-modal {
display: none;
position: fixed;
z-index: 10000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(5px);
}

.review-modal-content {
background-color: #fff;
margin: 5% auto;
padding: 0;
border-radius: 12px;
width: 90%;
max-width: 500px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
from {
    opacity: 0;
    transform: translateY(-50px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

.review-modal-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 24px;
border-bottom: 1px solid #e5e7eb;
background: #f9fafb;
border-radius: 12px 12px 0 0;
}

.review-modal-header h3 {
margin: 0;
font-size: 18px;
font-weight: 600;
color: #111827;
}

.review-modal-close {
color: #6b7280;
font-size: 28px;
font-weight: bold;
cursor: pointer;
line-height: 1;
transition: color 0.2s;
}

.review-modal-close:hover {
color: #111827;
}

.review-modal-body {
padding: 24px;
}

.review-detail {
text-align: center;
}

.review-header {
margin-bottom: 20px;
}

.review-stars {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
margin-bottom: 12px;
}

.star-container {
    position: relative;
    display: inline-block;
    margin: 0px 10px;
    font-size: 18px;
    line-height: 1;
    min-width: 90px;
}

.star-bg {
    position: absolute;
    top: 0;
    left: 0;
    color: #d1d5db;
    font-size: 16px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.star-fg {
    position: absolute;
    top: 0;
    left: 0;
    color: #fbbf24;
    overflow: hidden;
    white-space: nowrap;
    font-size: 16px;
}
.product-detail-banner-image {display: inline-block !important;     width: auto !important;}
/* 리뷰 영역 스타일 */
.mr_rate {
margin-bottom: 30px;
}

.review-container {
background: #f8f9fa;
padding: 20px;
border-radius: 8px;
margin-bottom: 20px;
}

.review-summary {
font-size: 14px;
color: #666;
margin-bottom: 15px;
}

.review-score {
font-size: 2.5rem;
font-weight: 700;
color: #333;
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 20px;
}

.review-score span {
font-size: 1.2rem;
color: #666;
font-weight: 400;
}

.progress-container {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 8px;
}

.progress-label {
font-size: 14px;
color: #666;
min-width: 30px;
}

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

.progress-bar-fill {
height: 100%;
background: #fbbf24;
border-radius: 4px;
transition: width 0.3s ease;
}

.progress-percentage {
font-size: 12px;
color: #666;
min-width: 40px;
text-align: right;
}

.mr_review {
margin-top: 20px;
}

.swp_review {
position: relative;
}

.swiper-wrapper {
display: flex;
gap: 5px;
justify-content: flex-start;
align-items: center;
height:auto;
}

.swiper-slide {
flex: 0 0 auto;
width: 300px;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}

.re_area {
background: #fff;
border: 1px solid #e5e7eb;
border-radius: 8px;
padding: 15px;
cursor: pointer;
transition: all 0.3s ease;
}

.re_area:hover {
border-color: #007bff;
box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.re_img {
width: 50px;
height: 50px;
border-radius: 50%;
overflow: hidden;
margin-bottom: 10px;
}

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

.re_info {
flex: 1;
}

.re_info .stars {
margin-bottom: 8px;
}

.re_info .stars .star-container {
font-size: 14px;
}

.re_info .tit {
font-size: 16px;
font-weight: 600;
color: #333;
margin-bottom: 5px;
}

.re_info .txt {
font-size: 14px;
color: #666;
margin-bottom: 8px;
line-height: 1.4;
}

.re_info .info {
display: flex;
gap: 10px;
font-size: 12px;
color: #999;
}

.re_info .cg {
color: #666;
}

.swiper-button-next,
.swiper-button-prev {
position: absolute;
top: 65%;
transform: translateY(-50%);
width: 40px;
height: 40px;
background: #fff;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 10;
transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
background: #007bff;
color: #fff;
border-color: #007bff;
}

.swiper-button-next {
right: -20px;
}

.swiper-button-prev {
left: -20px;
}


/* 새로운 리뷰 레이아웃 스타일 */
.reviews-layout {
display: grid;
grid-template-columns: 1.2fr 1.8fr;
gap: 40px;
margin-top: 20px;
}

.overall-rating {
background: #f8f9fa;
padding: 30px;
border-radius: 12px;
height: fit-content;
}

.overall-rating .section_title {
font-size: 1.8rem;
font-weight: 700;
color: #333;
margin-bottom: 25px;
text-align: left;
}

.overall-rating .review-container {
background: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.overall-rating .review-score {
font-size: 3rem;
font-weight: 800;
color: #007bff;
text-align: center;
margin-bottom: 25px;
}

.overall-rating .review-score span {
font-size: 1.5rem;
color: #666;
font-weight: 400;
}

.overall-rating .stars {
justify-content: center;
margin-bottom: 20px;
}

.overall-rating .star-container {
font-size: 24px;
}

.overall-rating .progress-container {
background: #fff;
padding: 12px 15px;
border-radius: 8px;
margin-bottom: 12px;
box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.overall-rating .progress-label {
font-weight: 600;
color: #333;
}

.overall-rating .progress-bar {
height: 10px;
background: #e9ecef;
border-radius: 5px;
overflow: hidden;
}

.overall-rating .progress-bar-fill {
background: linear-gradient(90deg, #ffc107, #ff9800);
border-radius: 5px;
transition: width 0.3s ease;
}

.overall-rating .progress-percentage {
font-weight: 600;
color: #007bff;
}

/* Write a Review 버튼 스타일 */
.write-review-container {
text-align: center;
margin-top: 25px;
padding-top: 20px;
border-top: 1px solid #e9ecef;
}

.write-review-btn {
background: linear-gradient(135deg, #007bff, #0056b3);
color: white;
border: none;
padding: 12px 30px;
font-size: 1rem;
font-weight: 600;
border-radius: 25px;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.write-review-btn:hover {
background: linear-gradient(135deg, #0056b3, #004085);
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.write-review-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
}

.write-review-btn.disabled {
    background: #6c757d;
    color: #fff;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

.write-review-btn.disabled:hover {
    background: #6c757d;
    transform: none;
    box-shadow: none;
}

@keyframes shimmer {
0% { left: -100%; }
100% { left: 100%; }
}


.detailed-reviews h3 {
font-size: 1.5rem;
font-weight: 600;
color: #333;
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 2px solid #007bff;
}

.reviews-list {
max-height: none !important;
overflow-y: visible !important;
padding-right: 10px;
opacity: 1 !important;
visibility: visible !important;
display: block !important;
min-height: 200px;
}

.review-item {
background: #fff;
border: 1px solid #e5e7eb;
border-radius: 12px;
padding: 20px;
margin-bottom: 20px;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
transition: all 0.3s ease;
}

.review-item:hover {
border-color: #007bff;
box-shadow: 0 4px 16px rgba(0,123,255,0.1);
}

.review-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 15px;
}

.reviewer-info {
display: flex;
align-items: center;
gap: 12px;
}

.reviewer-avatar {
width: 40px;
height: 40px;
border-radius: 50%;
overflow: hidden;
border: 2px solid #e5e7eb;
}

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

.reviewer-details {
display: flex;
flex-direction: column;
gap: 4px;
}

.reviewer-name {
font-weight: 600;
color: #333;
font-size: 14px;
}

.review-date {
font-size: 12px;
color: #666;
}

.review-rating .stars {
margin-top: 5px;
}

.review-rating .star-container {
font-size: 16px;
}

.review-content {
margin-bottom: 15px;
}

.review-title {
font-size: 16px;
font-weight: 600;
color: #333;
margin-bottom: 8px;
line-height: 1.4;
}

.review-text {
font-size: 14px;
color: #555;
line-height: 1.6;
margin: 0;
}

.review-footer {
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 15px;
border-top: 1px solid #f0f0f0;
}

.review-location {
font-size: 12px;
color: #666;
font-style: italic;
}

.load-more-container {
text-align: center;
margin-top: 30px;
}

.load-more-btn {
background: #007bff;
color: #fff;
border: none;
padding: 12px 24px;
border-radius: 8px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
}

.load-more-btn:hover {
background: #0056b3;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

.no-reviews {
text-align: center;
padding: 40px 20px;
color: #666;
font-style: italic;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
.reviews-layout {
    grid-template-columns: 1fr;
    gap: 20px;
}

.overall-rating {
    order: 2;
    padding: 0px;
}

.overall-rating .section_title {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.overall-rating .review-score {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.detailed-reviews {
    order: 1;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}
}

.rating-text {
font-size: 16px;
font-weight: 600;
color: #111827;
}

.review-date {
font-size: 14px;
color: #6b7280;
}

.review-title {
font-size: 18px;
font-weight: 600;
color: #111827;
margin-bottom: 16px;
line-height: 1.4;
}

.review-description {
font-size: 15px;
color: #374151;
line-height: 1.6;
margin-bottom: 20px;
text-align: left;
white-space: pre-wrap;
}

.review-author {
display: flex;
justify-content: center;
gap: 16px;
font-size: 14px;
color: #6b7280;
}

.author-name {
font-weight: 500;
}

.author-location {
color: #9ca3af;
}

/* 리뷰 이미지 스타일 */
.review-images {
margin: 20px 0;
display: flex;
flex-wrap: wrap;
gap: 10px;
justify-content: center;
}

.review-image {
flex: 0 0 auto;
}

.review-image img {
width: 120px;
height: 120px;
object-fit: cover;
border-radius: 8px;
border: 1px solid #e5e7eb;
transition: transform 0.2s;
}

.review-image img:hover {
transform: scale(1.05);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
.review-modal-content {
    width: 95%;
    margin: 10% auto;
}

.review-modal-header {
    padding: 16px 20px;
}

.review-modal-body {
    padding: 20px;
}

.review-stars .star-bg,
.review-stars .star-fg {
    font-size: 20px;
}

.review-title {
    font-size: 16px;
}

.review-description {
    font-size: 14px;
}
}

@media (max-width: 480px) {
.review-modal-content {
    width: 98%;
    margin: 15% auto;
}

.review-modal-header {
    padding: 14px 16px;
}

.review-modal-body {
    padding: 16px;
}
}/* 상품 상세 페이지 스타일 */
.product_detail {
    padding: 40px 0;
    background-color: #fff;
}

.pd_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 상품 헤더 영역 */
.pd_header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: start;
}

/* 상품 이미지 영역 */
.pd_images {
    position: sticky;
    top: 20px;
}

.pd_main_image {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pd_img {
    width: 100%;
    height: auto;
    display: block;
}

.pd_thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pd_thumb {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.pd_thumb:hover {
    border-color: #007bff;
}

.pd_thumb.active {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.3);
}

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

/* Swiper 스타일 */
.pii_img > div {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.swp_img {
    width: 425px;
    height: 425px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    box-sizing: border-box;
    align-self: center;
}

.swp_img .swiper-slide {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.swp_img .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.swp_thumbs {
    width: 100%;
    height: 110px;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    margin-top: 0;
    clear: both;
}

.swp_thumbs .swiper-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 !important;
}

.swp_thumbs .swiper-slide {
    width: 70px !important;
    height: 70px !important;
    min-width: 70px !important;
    max-width: 70px !important;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 !important;
    margin-right: 0 !important;
    flex-shrink: 0;
}

.swp_thumbs .swiper-slide:hover {
    border-color: #007bff;
}

.swp_thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swp_thumbs .swiper-slide-thumb-active {
    border-color: #007bff;
}

/* 썸네일 모바일 반응형 */
@media (max-width: 768px) {
    .swp_thumbs {
        height: 80px;
        padding: 0 20px;
    }
    
    .swp_thumbs .swiper-slide {
        width: 55px;
        height: 55px;
    }
}

/* 태블릿 사이즈 (481px ~ 1024px) */
@media (min-width: 481px) and (max-width: 1024px) {
    .swp_img {
        width: 100% !important;
        height: 305px !important;
        max-width: 100% !important;
        max-height: 305px !important;
        min-height: 305px !important;
        margin-bottom: 20px !important;
        align-self: stretch;
        overflow: hidden;
        flex-shrink: 0 !important;
    }
    
    .swp_thumbs {
        margin-top: 0;
        clear: both;
        flex-shrink: 0 !important;
    }
    
    .pii_img > div {
        max-height: none !important;
        overflow: visible !important;
        height: auto !important;
    }
    
    .product_info .pii_img {
        max-height: none !important;
        overflow: visible !important;
        height: auto !important;
    }
    
    .product_info .pii_img .deco {
        flex-direction: column !important;
        align-items: center;
        max-height: none !important;
        overflow: visible !important;
        height: auto !important;
        padding: 0 25px !important;
    }
}

@media (max-width: 768px) {
    .swp_img {
        width: 100%;
        height: 305px;
        max-width: 100%;
        max-height: 305px;
        margin-bottom: 20px;
        align-self: stretch;
        overflow: hidden;
        flex-shrink: 0;
    }
    
    .swp_thumbs {
        margin-top: 0;
        clear: both;
        flex-shrink: 0;
    }
    
    .pii_img > div {
        max-height: none;
        overflow: visible;
    }
    
    .product_info .pii_img .deco {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .swp_img {
        width: 100%;
        height: 305px;
        max-width: 100%;
        max-height: 305px;
        margin-bottom: 20px;
        align-self: stretch;
        overflow: hidden;
        flex-shrink: 0;
    }
    
    .swp_thumbs {
        height: 75px;
        padding: 0 15px;
        margin-top: 0;
        clear: both;
        flex-shrink: 0;
    }
    
    .swp_thumbs .swiper-slide {
        width: 50px;
        height: 50px;
    }
    
    .pii_img > div {
        max-height: none;
        overflow: visible;
    }
    
    .product_info .pii_img .deco {
        flex-direction: column;
        align-items: center;
    }
}

.swiper-button-next,
.swiper-button-prev {
    color: #007bff;
}

/* 상품 정보 영역 */
.pd_info {
    padding: 20px;
}

.pd_title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.2;
}

.pd_subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 25px;
    font-style: italic;
}

.pd_label {
    font-weight: 600;
    color: #555;
    margin-right: 10px;
}

.pd_value {
    color: #333;
}

.pd_manufacturer,
.pd_ingredient,
.pd_prescription,
.pd_price {
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.pd_prescription_required {
    color: #dc3545;
    font-weight: 600;
}

.pd_prescription_not_required {
    color: #28a745;
    font-weight: 600;
}

.pd_prescription_partial_required {
    color: #ffc107;
    font-weight: 600;
}

.pd_price {
    border-bottom: 2px solid #007bff;
}

.pd_price_label {
    font-size: 1.1rem;
    font-weight: 600;
}

.pd_price_value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #007bff;
}

/* 상품 액션 버튼 */
.pd_actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.pd_btn {
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.pd_btn_cart {
    background-color: #fff;
    color: #007bff;
    border: 2px solid #007bff;
}

.pd_btn_cart:hover {
    background-color: #007bff;
    color: #fff;
}

.pd_btn_buy {
    background-color: #007bff;
    color: #fff;
}

.pd_btn_buy:hover {
    background-color: #0056b3;
}

/* 상품 상세 섹션 */
.pd_content {
    margin-top: 30px;
}

.pd_section {
    margin-bottom: 40px;
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.pd_section_title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}

.pd_section_content {
    line-height: 1.8;
    color: #555;
}

/* 관련 상품 */
.pd_related {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

.pd_related_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.pd_related_item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pd_related_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.pd_related_link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.pd_related_img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.pd_related_name {
    padding: 15px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.3;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .pd_header {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pd_container {
        padding: 0 15px;
    }
    
    .pd_title {
        font-size: 1.5rem;
    }
    
    .pd_section_title {
        font-size: 1.3rem;
    }
    
    .pd_actions {
        flex-direction: column;
    }
    
    .pd_related_grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    .swp_img .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }
}

@media (max-width: 480px) {
    .breadcrumb-item a {
        font-size: 0.7rem;
    }
    .breadcrumb-item.active {
        color: #6c757d;
        font-weight: 500;
        font-size: 0.7rem;
    }    
    .subcategory-item-link {
        padding: 4px 8px;
        font-size: 0.6rem;
        font-weight: 500;
    }
    .breadcrumb-nav{padding:0px;}

    
}
/* Flex 기반 Alternatives 섹션 (Combo Products도 동일) */
.box.bgbl {
    overflow: hidden; /* Swiper 버튼을 위한 클리핑 */
    padding: 30px 60px; /* 상하 패딩 감소, 좌우는 버튼 영역 확보 */
}

.alternatives-container,
.slider-unified-container {
    width: 100%;
    max-width: 100%;
    padding: 0 50px; /* 좌우 패딩으로 화살표 영역 확보 */
    margin: 0 auto;
    overflow: hidden; /* Swiper 버튼 영역을 넘지 않도록 */
    box-sizing: border-box;
    position: relative;
}

.alternatives-swiper,
.combo-products-swiper,
.slider-unified-swiper {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden; /* 카드가 버튼 영역을 넘지 않도록 */
    box-sizing: border-box;
}

.alternatives-swiper .swiper-wrapper,
.combo-products-swiper .swiper-wrapper,
.slider-unified-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
    justify-content: flex-start; /* space-between 대신 flex-start */
    gap: 0px;
}

.alternatives-swiper .swiper-slide,
.combo-products-swiper .swiper-slide,
.slider-unified-swiper .swiper-slide {
    width: auto !important; /* Swiper가 자동으로 계산하도록 */
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 0 6px; /* 카드 간격 */
    max-width: 100%; /* 화살표 밖으로 나가지 않도록 */
}

/* 상품 카드 스타일 */
.alternatives-swiper .product_card,
.combo-products-swiper .product_card {
    display: flex;
    flex-direction: column;
    height: 320px; /* 고정 높이로 배경과 정렬, 얼터네이티브와 콤보딜 동일 */
    width: 100% !important; /* 가로 사이즈 통일 */
    max-width: 100% !important;
    min-width: 0 !important; /* flex shrink 허용 */
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
}

/* 콤보딜 카드는 얼터네이티브와 동일한 높이 */
.combo-products-swiper .product_card {
    height: 320px !important; /* 얼터네이티브와 동일하게 */
}

/* layout.css의 모든 alternatives-swiper 스타일 오버라이드 - Alternatives와 Combo 완전히 동일하게 */
/* layout.css의 alternatives-container 스타일 무효화 */
#alternatives .alternatives-container,
#combo-products .alternatives-container,
.slider-unified-container {
    margin-top: 0 !important; /* layout.css 무효화 */
    padding: 0 50px !important; /* layout.css의 padding: 0 70px 무효화 */
    overflow: hidden !important; /* layout.css의 overflow: visible 무효화 */
}

/* layout.css의 alternatives-swiper 스타일 무효화 */
#alternatives .alternatives-swiper,
#combo-products .combo-products-swiper,
.slider-unified-swiper {
    padding: 0 !important; /* layout.css의 padding: 20px 0 무효화 */
    overflow: hidden !important; /* layout.css의 overflow: visible 무효화 */
    height: auto !important; /* layout.css의 height: 390px 무효화 */
}

/* layout.css의 swiper-slide 스타일 무효화 */
/* 기본 PC 크기 - 고정 너비 */
#alternatives .alternatives-swiper .swiper-slide,
#combo-products .combo-products-swiper .swiper-slide,
.slider-unified-swiper .swiper-slide {
    width: 240px !important; /* PC: 고정 너비 */
    flex-shrink: 0;
    box-sizing: border-box;
}

#alternatives .alternatives-container .product_card,
#combo-products .alternatives-container .product_card,
.slider-unified-container .product_card {
    max-width: 100% !important; /* layout.css의 max-width: 200px 무효화 */
    width: 100% !important;
    border-radius: 8px !important; /* layout.css의 border-radius: 10px 무효화 */
    margin-bottom: 0 !important; /* layout.css의 margin-bottom: 1.5rem 무효화 */
    height: 320px !important; /* 얼터네이티브와 콤보딜 모두 동일한 높이 */
}

#alternatives .alternatives-container .product_image,
#combo-products .alternatives-container .product_image,
.slider-unified-container .product_image {
    aspect-ratio: auto !important; /* layout.css의 aspect-ratio: 1/1 무효화 */
    height: 170px !important; /* product-detail.css와 동일 */
    border-radius: 0 !important; /* layout.css의 border-radius: 10px 무효화 */
    width: 100% !important;
    display: block !important; /* layout.css의 display: flex 무효화 */
}

#alternatives .alternatives-container .product_info,
#combo-products .alternatives-container .product_info,
.slider-unified-container .product_info {
    padding: 8px 10px 10px 10px !important; /* layout.css의 padding: 15px 0 0 0 무효화 */
}

.alternatives-swiper .product_card:hover,
.combo-products-swiper .product_card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

/* 상품 이미지 영역 */
.alternatives-swiper .product_image,
.combo-products-swiper .product_image {
    position: relative;
    background: #f8f9fa;
    overflow: hidden;
    height: 170px; /* 콤팩트하게 */
    flex-shrink: 0;
}

.alternatives-swiper .product_image img,
.combo-products-swiper .product_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.5s ease;
}

/* Lazy loading 이미지 효과 */
.alternative-lazy-image,
.combo-lazy-image {
    opacity: 0.3;
    filter: blur(5px);
    transition: opacity 0.5s ease, filter 0.5s ease;
}

.alternative-lazy-image.loaded,
.combo-lazy-image.loaded {
    opacity: 1;
    filter: blur(0);
}

.alternatives-swiper .product_card:hover .product_image img,
.combo-products-swiper .product_card:hover .product_image img {
    transform: scale(1.05);
}

/* 상품 정보 영역 */
.alternatives-swiper .product_info,
.combo-products-swiper .product_info {
    padding: 8px 10px 8px 10px !important; /* 위아래 패딩 좁히기 */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 2px !important; /* 상품명-가격 간격 좁히기 */
    width: 100% !important; /* 부모 요소 너비에 맞춤 */
    max-width: 100% !important; /* 부모 요소 너비를 넘지 않도록 */
    box-sizing: border-box; /* 패딩 포함 */
    overflow: hidden; /* 자식 요소가 넘치지 않도록 */
    min-height: 0;
    height: auto; /* 자동 높이로 변경 */
    min-height: 150px; /* 최소 높이 유지 */
}

/* 콤보딜 정보 영역은 더 크게 */
.combo-products-swiper .product_info {
    min-height: 170px; /* 콤보딜은 조금 더 크게 */
}

/* 상품 카테고리 */
.alternatives-swiper .product_category,
.combo-products-swiper .product_category {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 4px;
    flex-shrink: 0;
}

.alternatives-swiper .product_category span,
.combo-products-swiper .product_category span {
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

/* 상품명 */
.alternatives-swiper .product_text,
.combo-products-swiper .product_text {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2 !important; /* 줄바꿈을 위한 더 좁은 line-height */
    margin: 0 !important;
    margin-bottom: 3px !important; /* 가격과 간격 */
    padding: 0 !important; /* 위아래 패딩 제거 */
    color: #333;
    display: block; /* 줄바꿈 허용 */
    overflow: visible; /* 넘치는 텍스트 표시 */
    text-overflow: clip; /* ellipsis 제거 */
    flex-grow: 0;
    flex-shrink: 1;
    min-height: auto; /* 최소 높이 제거 */
    max-height: none; /* 최대 높이 제거 - 줄바꿈 허용 */
    width: 100% !important; /* 부모 요소 너비에 맞춤 */
    max-width: 100% !important; /* 부모 요소 너비를 넘지 않도록 */
    word-break: break-word !important; /* 강제 줄바꿈 */
    overflow-wrap: break-word !important; /* 강제 줄바꿈 */
    white-space: normal !important; /* 줄바꿈 허용 */
    box-sizing: border-box; /* 패딩 포함 */
}

/* 상품 가격 */
.alternatives-swiper .product_price,
.combo-products-swiper .product_price {
    margin: 0 !important;
    margin-top: 0 !important; /* 상품명과의 간격 제거 */
    margin-bottom: 3px !important; /* 별점과 간격 좁히기 */
    padding: 0 !important; /* 위아래 패딩 제거 */
    flex-shrink: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1 !important; /* 가격 텍스트 line-height 좁히기 */
}

.alternatives-swiper .product_price strong,
.combo-products-swiper .product_price strong {
    color: #dc3545;
    font-size: 16px;
    font-weight: 700;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1; /* strong 태그 내부 텍스트 line-height 설정 */
}

/* 상품 별점 */
.alternatives-swiper .product_rating,
.combo-products-swiper .product_rating {
    margin-top: 0; /* 가격과 간격 좁히기 */
    margin-bottom: 0;
    flex-shrink: 0;
    display: flex !important;
    align-items: center;
    gap: 6px;
    visibility: visible;
    opacity: 1;
    height: auto;
    min-height: 18px;
}

.alternatives-swiper .product_rating .stars,
.combo-products-swiper .product_rating .stars {
    display: flex !important;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    visibility: visible;
}

.alternatives-swiper .product_rating .star,
.combo-products-swiper .product_rating .star {
    font-size: 14px;
    color: #ffc107;
    line-height: 1;
    display: inline-block;
    visibility: visible;
}

.alternatives-swiper .product_rating .star.empty,
.combo-products-swiper .product_rating .star.empty {
    color: #ddd;
}

.alternatives-swiper .product_rating .rating_text,
.combo-products-swiper .product_rating .rating_text {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    flex-shrink: 0;
    visibility: visible;
    display: inline-block;
}

/* Swiper 네비게이션 버튼 */
.alternatives-swiper .swiper-button-next,
.alternatives-swiper .swiper-button-prev,
.combo-products-swiper .swiper-button-next,
.combo-products-swiper .swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    margin-top: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: #333;
    font-size: 16px;
    font-weight: bold;
    z-index: 10;
    transition: all 0.3s ease;
}

.alternatives-swiper .swiper-button-next:hover,
.alternatives-swiper .swiper-button-prev:hover,
.combo-products-swiper .swiper-button-next:hover,
.combo-products-swiper .swiper-button-prev:hover {
    background: #fff;
    color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.alternatives-swiper .swiper-button-next,
.combo-products-swiper .swiper-button-next {
    right: 8px; /* 컨테이너 내부에서 위치 */
}

.alternatives-swiper .swiper-button-prev,
.combo-products-swiper .swiper-button-prev {
    left: 8px; /* 컨테이너 내부에서 위치 */
}

.alternatives-swiper .swiper-button-next::after,
.alternatives-swiper .swiper-button-prev::after,
.combo-products-swiper .swiper-button-next::after,
.combo-products-swiper .swiper-button-prev::after {
    font-size: 14px;
    font-weight: 600;
}
/* 반응형 디자인 - 화면 크기별 고정 너비 설정 */
@media (max-width: 1400px) {
    .alternatives-swiper .swiper-slide,
    .combo-products-swiper .swiper-slide {
        width: 240px !important; /* 큰 PC: 고정 너비 */
    }
}

@media (max-width: 1200px) {
    .alternatives-swiper .swiper-slide,
    .combo-products-swiper .swiper-slide {
        width: 260px !important; /* 중간 PC: 고정 너비 */
    }
}

@media (max-width: 1024px) {
    /* Alternatives와 Combo Deals 모두 동일한 패딩 적용 */
    #alternatives.box.bgbl,
    #combo-products.box.bgbl {
        padding: 30px 60px !important; /* alternatives와 동일하게 */
    }
    
    .alternatives-swiper .swiper-slide,
    .combo-products-swiper .swiper-slide {
        width: 240px !important; /* 큰 태블릿: 고정 너비 */
    }
}

@media (max-width: 768px) {
    /* Alternatives와 Combo Deals 모두 동일한 패딩 적용 */
    #alternatives.box.bgbl,
    #combo-products.box.bgbl {
        padding: 25px 50px !important; /* alternatives와 동일하게 */
    }
    
    .alternatives-swiper .swiper-slide,
    .combo-products-swiper .swiper-slide {
        width: 200px !important; /* 작은 태블릿: 고정 너비 */
    }
}

@media (max-width: 900px) {
    /* Alternatives와 Combo Deals 모두 동일한 패딩 적용 */
    #alternatives.box.bgbl,
    #combo-products.box.bgbl {
        padding: 25px 50px !important; /* 모바일에서도 버튼 영역 확보 - 동일하게 */
    }
    
    /* layout.css의 모바일 스타일 무효화 */
    #alternatives .alternatives-swiper,
    #combo-products .combo-products-swiper {
        height: auto !important; /* layout.css의 height: 325px 무효화 */
        padding: 0 !important;
    }
    
    .alternatives-swiper .swiper-slide,
    .combo-products-swiper .swiper-slide {
        width: 200px !important; /* 큰 태블릿: 고정 너비 */
    }
    
    .alternatives-swiper .product_card,
    .combo-products-swiper .product_card {
        height: 300px !important; /* 콤팩트하게, 얼터네이티브와 콤보딜 동일 */
        width: 100% !important; /* 가로 사이즈 통일 */
        min-width: 0 !important; /* flex shrink 허용 */
    }
    
    #alternatives .alternatives-container .product_card,
    #combo-products .alternatives-container .product_card {
        height: 300px !important; /* 얼터네이티브와 콤보딜 동일 */
    }
    
    .alternatives-swiper .product_image,
    .combo-products-swiper .product_image {
        height: 160px !important; /* layout.css 오버라이드 */
        aspect-ratio: auto !important; /* layout.css의 aspect-ratio 무효화 */
    }
    
    #alternatives .alternatives-container .product_card,
    #combo-products .alternatives-container .product_card {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    #alternatives .alternatives-container .product_image,
    #combo-products .alternatives-container .product_image {
        aspect-ratio: auto !important;
        height: 160px !important;
    }
    
    .alternatives-swiper .product_info,
    .combo-products-swiper .product_info {
        padding: 8px 10px 10px 10px;
        gap: 4px; /* 상품명-가격 간격 */
        height: auto; /* 자동 높이 */
        min-height: 140px;
        overflow: hidden; /* 자식 요소가 넘치지 않도록 */
        width: 100% !important; /* 부모 요소 너비에 맞춤 */
        max-width: 100% !important; /* 부모 요소 너비를 넘지 않도록 */
        box-sizing: border-box; /* 패딩 포함 */
    }
    
    .alternatives-swiper .product_text,
    .combo-products-swiper .product_text {
        font-size: 12px;
        line-height: 1.4; /* 줄바꿈을 위한 적절한 line-height */
        min-height: auto; /* 최소 높이 제거 */
        max-height: none; /* 최대 높이 제거 - 줄바꿈 허용 */
        margin-bottom: 2px; /* 가격과 간격 좁히기 */
        overflow: visible; /* 넘치는 텍스트 표시 */
        display: block; /* 줄바꿈 허용 */
        white-space: normal !important; /* 줄바꿈 허용 */
        word-break: break-word !important; /* 강제 줄바꿈 */
        overflow-wrap: break-word !important; /* 강제 줄바꿈 */
        width: 100% !important; /* 부모 요소 너비에 맞춤 */
        max-width: 100% !important; /* 부모 요소 너비를 넘지 않도록 */
        box-sizing: border-box; /* 패딩 포함 */
    }
    
    .alternatives-swiper .product_price strong,
    .combo-products-swiper .product_price strong {
        font-size: 14px;
    }
    
    .alternatives-swiper .product_rating .star,
    .combo-products-swiper .product_rating .star {
        font-size: 12px;
    }
    
    .alternatives-swiper .product_rating .rating_text,
    .combo-products-swiper .product_rating .rating_text {
        font-size: 11px;
    }
}

@media (max-width: 600px) {
    /* Alternatives와 Combo Deals 모두 동일한 패딩 적용 */
    #alternatives.box.bgbl,
    #combo-products.box.bgbl {
        padding: 20px 45px !important; /* 모바일에서도 버튼 영역 확보 - 동일하게 */
    }
    
    #alternatives .alternatives-container,
    #combo-products .alternatives-container {
        padding: 0 40px !important; /* 모바일에서도 화살표 영역 확보 - 동일하게 */
        margin: 0 auto;
        overflow: hidden; /* Swiper 버튼 영역을 넘지 않도록 */
        width: 100%;
        box-sizing: border-box;
    }
    
    .alternatives-swiper,
    .combo-products-swiper {
        width: 100%;
        overflow: hidden; /* 카드가 버튼 영역을 넘지 않도록 */
        padding: 0; /* 컨테이너에서 패딩 처리 */
        margin: 0;
        box-sizing: border-box;
    }
    
    .alternatives-swiper .swiper-wrapper,
    .combo-products-swiper .swiper-wrapper {
        display: flex;
        width: 100%;
        box-sizing: border-box;
    }
    
    .alternatives-swiper .swiper-slide,
    .combo-products-swiper .swiper-slide {
        width: 180px !important; /* 큰 폰: 고정 너비 */
        flex-shrink: 0;
        padding: 0 5px !important; /* 동일한 패딩 */
        box-sizing: border-box;
        margin: 0;
    }
    
    .alternatives-swiper .product_card,
    .combo-products-swiper .product_card {
        max-width: 100% !important;
        width: 100% !important;
        height: 280px !important; /* 콤팩트하게, 얼터네이티브와 콤보딜 동일 */
        box-sizing: border-box;
        min-width: 0 !important; /* flex shrink 허용 */
    }
    
    #alternatives .alternatives-container .product_card,
    #combo-products .alternatives-container .product_card {
        height: 280px !important; /* 얼터네이티브와 콤보딜 동일 */
    }
    
    .alternatives-swiper .product_image,
    .combo-products-swiper .product_image {
        height: 150px !important; /* layout.css 오버라이드 */
        aspect-ratio: auto !important; /* layout.css의 aspect-ratio 무효화 */
    }
    
    #alternatives .alternatives-container .product_card,
    #combo-products .alternatives-container .product_card {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    #alternatives .alternatives-container .product_image,
    #combo-products .alternatives-container .product_image {
        aspect-ratio: auto !important;
        height: 150px !important;
    }
    
    .alternatives-swiper .product_info,
    .combo-products-swiper .product_info {
        height: auto; /* 자동 높이 */
        min-height: 130px;
        padding: 8px 10px 8px 10px !important; /* 위아래 패딩 좁히기 */
        gap: 2px !important; /* 상품명-가격 간격 좁히기 */
        display: flex;
        flex-direction: column;
        overflow: hidden; /* 자식 요소가 넘치지 않도록 */
        width: 100% !important; /* 부모 요소 너비에 맞춤 */
        max-width: 100% !important; /* 부모 요소 너비를 넘지 않도록 */
        box-sizing: border-box; /* 패딩 포함 */
    }
    
    .alternatives-swiper .product_text,
    .combo-products-swiper .product_text {
        font-size: 12px;
        line-height: 1.4; /* 줄바꿈을 위한 적절한 line-height */
        min-height: auto; /* 최소 높이 제거 */
        max-height: none; /* 최대 높이 제거 - 줄바꿈 허용 */
        margin-bottom: 2px; /* 가격과 간격 좁히기 */
        overflow: visible; /* 넘치는 텍스트 표시 */
        display: block; /* 줄바꿈 허용 */
        white-space: normal !important; /* 줄바꿈 허용 */
        word-break: break-word !important; /* 강제 줄바꿈 */
        overflow-wrap: break-word !important; /* 강제 줄바꿈 */
        width: 100% !important; /* 부모 요소 너비에 맞춤 */
        max-width: 100% !important; /* 부모 요소 너비를 넘지 않도록 */
        box-sizing: border-box; /* 패딩 포함 */
    }
    
    .alternatives-swiper .product_price strong,
    .combo-products-swiper .product_price strong {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        line-height: 1 !important; /* 가격 텍스트 line-height 좁히기 */
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .alternatives-swiper .product_rating,
    .combo-products-swiper .product_rating {
        margin-top: 0 !important; /* 가격과 간격 제거 */
        margin-bottom: 0 !important;
        padding: 0 !important;
        flex-shrink: 0;
    }
    
    .alternatives-swiper .product_rating .star,
    .combo-products-swiper .product_rating .star {
        font-size: 11px;
    }
    
    .alternatives-swiper .product_rating .rating_text,
    .combo-products-swiper .product_rating .rating_text {
        font-size: 10px;
    }
    
    .alternatives-swiper .product_category span,
    .combo-products-swiper .product_category span {
        font-size: 10px;
        padding: 1px 6px;
    }
    
    .alternatives-swiper .swiper-button-next,
    .alternatives-swiper .swiper-button-prev,
    .combo-products-swiper .swiper-button-next,
    .combo-products-swiper .swiper-button-prev {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .alternatives-swiper .swiper-button-next,
    .combo-products-swiper .swiper-button-next {
        right: 6px; /* 모바일에서는 더 안쪽 */
    }
    
    .alternatives-swiper .swiper-button-prev,
    .combo-products-swiper .swiper-button-prev {
        left: 6px; /* 모바일에서는 더 안쪽 */
    }
}
@media (max-width: 450px) {
    /* Alternatives와 Combo Deals 모두 동일한 패딩 적용 */
    #alternatives.box.bgbl,
    #combo-products.box.bgbl {
        padding: 20px 40px !important; /* 작은 모바일에서도 버튼 영역 확보 - 동일하게 */
    }
    
    #alternatives .alternatives-container,
    #combo-products .alternatives-container {
        padding: 0 35px !important; /* 작은 모바일에서도 화살표 영역 확보 - 동일하게 */
        width: 100%;
        box-sizing: border-box;
        overflow: hidden !important; /* Swiper 버튼 영역을 넘지 않도록 */
    }
    
    /* layout.css의 작은 모바일 스타일 무효화 */
    #alternatives .alternatives-swiper .swiper-slide,
    #combo-products .combo-products-swiper .swiper-slide {
        width: 160px !important; /* 작은 폰: 고정 너비 */
    }
    
    .alternatives-swiper,
    .combo-products-swiper {
        padding: 0; /* 컨테이너에서 패딩 처리 */
        overflow: hidden; /* 카드가 버튼 영역을 넘지 않도록 */
    }
    
    .alternatives-swiper .swiper-slide,
    .combo-products-swiper .swiper-slide {
        width: 160px !important; /* 작은 폰: 고정 너비 */
        padding: 0 4px !important; /* 동일한 패딩 */
        box-sizing: border-box;
        flex-shrink: 0;
    }
    
    .alternatives-swiper .product_card,
    .combo-products-swiper .product_card {
        max-width: 100% !important;
        width: 100% !important;
        height: 270px !important; /* 콤팩트하게, 얼터네이티브와 콤보딜 동일 */
        box-sizing: border-box;
        min-width: 0 !important; /* flex shrink 허용 */
    }
    
    #alternatives .alternatives-container .product_card,
    #combo-products .alternatives-container .product_card {
        height: 270px !important; /* 얼터네이티브와 콤보딜 동일 */
    }
}

/* 360px 이하 작은 화면 대응 - 2개씩 표시, 가로 폭 동일하게 */
@media (max-width: 360px) {
    /* Alternatives와 Combo Deals 모두 동일한 패딩 적용 */
    #alternatives.box.bgbl,
    #combo-products.box.bgbl {
        padding: 16px 20px !important; /* 더 작은 패딩으로 카드 폭 확보 - 동일하게 */
    }
    
    #alternatives .alternatives-container,
    #combo-products .alternatives-container {
        padding: 0 20px !important; /* 좌우 여백 최소화 - 동일하게 */
        width: 100%;
        box-sizing: border-box;
        overflow: hidden !important;
    }
    
    /* layout.css의 매우 작은 모바일 스타일 무효화 */
    #alternatives .alternatives-swiper .swiper-slide,
    #combo-products .combo-products-swiper .swiper-slide {
        width: 150px !important; /* 매우 작은 폰: 고정 너비 */
    }
    
    #alternatives .alternatives-container .product_card,
    #combo-products .alternatives-container .product_card {
        max-width: 100% !important; /* layout.css의 max-width: 170px 무효화 */
    }
    
    .alternatives-swiper .swiper-slide,
    .combo-products-swiper .swiper-slide {
        width: 150px !important; /* 매우 작은 폰: 고정 너비 */
        padding: 0 3px !important; /* 좌우 여백 최소화 */
        box-sizing: border-box;
        flex-shrink: 0;
    }
    
    .alternatives-swiper .product_card,
    .combo-products-swiper .product_card {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important; /* flex shrink 허용 */
        box-sizing: border-box;
    }
    
    #alternatives .alternatives-container .product_card,
    #combo-products .alternatives-container .product_card {
        height: 270px !important; /* 얼터네이티브와 콤보딜 동일 */
    }
}

/* 320px 이하 매우 작은 화면 - 고정 너비 */
@media (max-width: 320px) {
    .alternatives-swiper .swiper-slide,
    .combo-products-swiper .swiper-slide {
        width: 140px !important; /* 매우 작은 폰: 고정 너비 */
        padding: 0 2px !important;
        flex-shrink: 0;
        box-sizing: border-box;
    }
    
    #alternatives .alternatives-swiper .swiper-slide,
    #combo-products .combo-products-swiper .swiper-slide {
        width: 140px !important; /* 매우 작은 폰: 고정 너비 */
    }
    
    .alternatives-swiper .product_image,
    .combo-products-swiper .product_image {
        height: 145px !important; /* layout.css 오버라이드 */
        aspect-ratio: auto !important; /* layout.css의 aspect-ratio 무효화 */
    }
    
    #alternatives .alternatives-container .product_card,
    #combo-products .alternatives-container .product_card {
        max-width: 100% !important;
        width: 100% !important;
        height: 270px !important; /* 얼터네이티브와 콤보딜 동일 */
    }
    
    #alternatives .alternatives-container .product_image,
    #combo-products .alternatives-container .product_image {
        aspect-ratio: auto !important;
        height: 145px !important;
    }
    
    .alternatives-swiper .product_info,
    .combo-products-swiper .product_info {
        height: auto; /* 자동 높이 */
        min-height: 125px;
        padding: 8px 10px 10px 10px;
        gap: 4px; /* 상품명-가격 간격 */
        overflow: hidden; /* 자식 요소가 넘치지 않도록 */
        width: 100% !important; /* 부모 요소 너비에 맞춤 */
        max-width: 100% !important; /* 부모 요소 너비를 넘지 않도록 */
        box-sizing: border-box; /* 패딩 포함 */
    }
    
    .alternatives-swiper .swiper-button-next,
    .combo-products-swiper .swiper-button-next {
        right: 6px;
    }
    
    .alternatives-swiper .swiper-button-prev,
    .combo-products-swiper .swiper-button-prev {
        left: 6px;
    }
}


/* 리뷰 작성 가이드 스타일 */
.review-guide {
    margin-top: 15px;
    padding: 12px 16px;
    background: #f3f3f3;
    border: 1px solid #9dceff;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.5;
}

.guide-content {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.guide-icon {
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.guide-text {
    flex: 1;
}

.guide-text p {
    margin: 0;
    color: #495057;
    font-size: 14px;
    word-break: normal;
}

.guide-text p:last-child {
    margin-bottom: 0;
}

.guide-text strong {
    color: #212529;
    font-weight: 600;
}

.review-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    height: auto; /* 고정 높이 */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.review-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-color: #dee2e6;
}

.review-item.expanded {
    height: auto !important;
    min-height: 140px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    flex-shrink: 0;
    height: 40px; /* 헤더 고정 높이 */
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reviewer-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.reviewer-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.reviewer-name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.review-date {
    font-size: 12px;
    color: #6c757d;
}

.review-rating {
    flex-shrink: 0;
}
.product_info .pii_txt .stars {
    display: flex; 
    justify-content: left;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.stars {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

.stars .star-container {
    position: relative;
    display: inline-block;
    font-size: 16px;
    line-height: 1;
}

.stars p {
    margin: 0;
    font-size: 14px;
    line-height: 1;
    vertical-align: middle;
    color: #666;
}

.rating-number {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0 8px;
    vertical-align: middle;
}

.star-bg {
    position: absolute;
    top: 0;
    left: 0;
    color: #e0e0e0;
    font-size: 18px;
    font-weight: bold;
    width: 100%;
    height: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.star-fg {
    position: absolute;
    top: 0;
    left: 0;
    color: #ffc107;
    overflow: hidden;
    white-space: nowrap;
    font-size: 18px;
    font-weight: bold;
}

.review-content {
    margin-bottom: 8px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.review-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.review-text-container {
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.review-text {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin: 0;
    flex-grow: 1;
    word-wrap: break-word;
    word-break: break-word;
    transition: all 0.3s ease;
    /* 2줄 제한 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-text.expanded {
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
}

.review-text.expanded::after {
    display: none !important;
}

.read-more-btn {
    background: none;
    border: none;
    color: #007bff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    margin: 0;
    margin-left: 4px;
    transition: color 0.2s ease;
    display: inline;
}

.read-more-btn:hover {
    color: #0056b3;
    text-decoration: underline;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid #f8f9fa;
    flex-shrink: 0;
    height: 24px; /* 푸터 고정 높이 */
}

.review-location {
    font-size: 12px;
    color: #6c757d;
}

.load-more-container {
    text-align: center;
    margin-top: 20px;
}

.load-more-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.load-more-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.no-reviews {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-style: italic;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .review-item {
        padding: 12px;
        margin-bottom: 10px;
        height:auto; /* 모바일에서 약간 작은 높이 */
    }
    
    .review-header {
        flex-direction: row;
        gap: 8px;
        align-items: flex-start;
    }
    
    .reviewer-info {
        width: 100%;
    }
    
    .review-rating {
        align-self: self-end;
    }
    
    .review-title {
        font-size: 14px;
    }
    
    .review-text {
        font-size: 13px;
        /* line-clamp로 자동 제어 */
    }
    
    .read-more-btn {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .stars {
        gap: 6px;
        margin-bottom: 10px;
        justify-content: flex-start;
    }
    
    .stars .star-container {
        font-size: 16px;
        min-width: 80px;
    }
    
    .stars p {
        font-size: 13px;
    }
    
    .rating-number {
        font-size: 14px;
        margin: 0 6px;
    }
    
    .product_info .pii_txt .stars {
        justify-content: flex-start;
    }
    .banner-image.pc-image {
        display: none !important;
    }    
}

@media (max-width: 480px) {
    .review-item {
        padding: 10px;
        height: auto; /* 작은 모바일에서 더 작은 높이 */
    }
    
    .reviewer-avatar {
        width: 28px;
        height: 28px;
    }
    
    .reviewer-name {
        font-size: 13px;
    }
    
    .review-date {
        font-size: 11px;
    }
    
    .stars .star-container {
        font-size: 16px;
        width: auto !important;
        margin: 0px;
        line-height: 1;
        min-width: 95px;
    }

    /* 모바일에서 별점과 개수 레이아웃 개선 */
    .stars {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 6px;
        margin-bottom: 8px;
    }
    
    .stars p {
        margin: 0;
        font-size: 12px;
        line-height: 1;
        vertical-align: middle;
        color: #666;
    }
    
    .rating-number {
        font-size: 13px;
        margin: 0 4px;
    }
    
    .review-text {
        font-size: 12px;
        /* line-clamp로 자동 제어 */
    }
    
    .read-more-btn {
        font-size: 11px;
    }
    
    .review-title {
        font-size: 13px;
    }
}

/* 리뷰 모달창 스타일 */
.review-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.review-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.review-modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.review-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.review-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.review-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.review-modal-close:hover {
    background: #e9ecef;
    color: #333;
}

.review-modal-body {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
}

.review-modal-reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.review-modal-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.review-modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-modal-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.review-modal-name {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.review-modal-date {
    font-size: 14px;
    color: #6c757d;
}

.review-modal-rating {
    flex-shrink: 0;
}

.review-modal-content-text {
    margin-bottom: 20px;
}

.review-modal-content-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.review-modal-content-text p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.review-modal-footer {
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.review-modal-location {
    font-size: 14px;
    color: #6c757d;
}

/* 리뷰 헤더 이미지 스타일 */
.review-header-images {
    display: flex;
    gap: 4px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.review-header-thumbnail {
    width: 150px;
    height: 150px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    flex-shrink: 0;
    position: relative;
}

.review-header-thumbnail:hover {
    border-color: #007bff;
    transform: scale(1.1);
}

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

/* 리뷰 썸네일 워터마크 */
.review-header-thumbnail::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.3;
    z-index: 10;
    pointer-events: none;
}

.review-header-more {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.review-header-more:hover {
    background: #e9ecef;
    border-color: #007bff;
    color: #007bff;
}

/* 리뷰 이미지 스타일 */
.review-images {
    display: flex;
    gap: 8px;
    margin: 12px 0;
    flex-wrap: wrap;
}

.review-image-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    flex-shrink: 0;
}

.review-image-thumbnail:hover {
    border-color: #007bff;
    transform: scale(1.05);
}

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

.review-image-more {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.review-image-more:hover {
    background: #e9ecef;
    border-color: #007bff;
    color: #007bff;
}

/* 리뷰 모달 이미지 스타일 */
.review-modal-images {
    margin: 16px 0;
    display: none; /* 기본적으로 숨김 */
    grid-template-columns: repeat(auto-fit, minmax(120px, 4fr));
    gap: 12px;
    max-height: 300px;
}


.review-modal-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.review-modal-image:hover {
    transform: scale(1.02);
}

/* 리뷰 모달 이미지 워터마크 */
.review-modal-image::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 50px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.3;
    z-index: 10;
    pointer-events: none;
}


/* 반응형 모달 */
@media (max-width: 768px) {
    .review-modal {
        padding: 10px;
    }
    
    .review-modal-content {
        max-height: 90vh;
    }
    
    .review-modal-header {
        padding: 16px 20px;
    }
    
    .review-modal-title {
        font-size: 16px;
    }
    
    .review-modal-body {
        padding: 20px;
    }
    
    .review-modal-reviewer {
        gap: 10px;
        margin-bottom: 16px;
    }
    
    .review-modal-avatar {
        width: 36px;
        height: 36px;
    }
    
    .review-modal-name {
        font-size: 15px;
    }
    
    .review-modal-content-title {
        font-size: 16px;
    }
    
    .review-modal-content-text p {
        font-size: 14px;
    }
    
    .review-header-images {
        gap: 3px;
        margin-top: 3px;
    }
    
    .review-header-thumbnail,
    .review-header-more {
        width: 100px;
        height: 100px;
    }
    
    .review-header-thumbnail::after {
        width: 20px;
        height: 8px;
        top: 3px;
        right: 3px;
    }
    
    .review-header-more {
        font-size: 9px;
    }
    
    .review-modal-image::after {
        width: 40px;
        height: 16px;
        top: 5px;
        right: 5px;
    }
    
    .review-images {
        gap: 6px;
        margin: 10px 0;
    }
    
    .review-image-thumbnail,
    .review-image-more {
        width: 50px;
        height: 50px;
    }
    
    .review-modal-images {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 8px;
        margin: 12px 0;
        max-height: 250px;
    }
    
    .review-modal-image {
        max-width: 150px;
        max-height: 150px;
    }
    .product_info .pii_txt .star-container {
        position: relative !important;
        font-size: 16px !important;
        width: auto !important;
        height: 20px !important;
        margin: 0px;
        line-height: 20px !important;
        min-width: 80px;
        overflow: hidden !important;
    }
    
    .product_info .pii_txt .star-bg,
    .product_info .pii_txt .star-fg {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        font-size: 16px !important;
        overflow: hidden !important;
        white-space: nowrap !important;
    }
    
    .product_info .pii_txt .star-bg {
        color: #ccc !important;
        z-index: 1 !important;
    }
    
    .product_info .pii_txt .star-fg {
        color: #ffc107 !important;
        z-index: 2 !important;
    }
    
    .product_info .pii_txt .rating-number {
        font-size: 14px !important;
        margin: 0 6px !important;
    }
}

@media (max-width: 480px) {
    .review-modal {
        padding: 5px;
    }
    
    .review-modal-content {
        border-radius: 8px;
    }
    
    .review-modal-header {
        padding: 12px 16px;
    }
    
    .review-modal-body {
        padding: 16px;
    }
    
    .review-modal-reviewer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .review-modal-info {
        width: 100%;
    }
    
    .review-header-images {
        gap: 2px;
        margin-top: 2px;
    }
    
    .review-header-thumbnail,
    .review-header-more {
        width: 90px;
        height: 90px;
    }
    
    .review-header-more {
        font-size: 8px;
    }
    
    .review-images {
        gap: 4px;
        margin: 8px 0;
    }
    
    .review-image-thumbnail,
    .review-image-more {
        width: 45px;
        height: 45px;
    }
    
    .review-image-more {
        font-size: 10px;
    }
    
    .review-modal-images {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 6px;
        margin: 10px 0;
        max-height: 200px;
    }
    
    .review-modal-image {
        max-width: 120px;
        max-height: 120px;
    }
    .progress-container {
        margin: 0 !important;
    }
    .write-review-container {
        text-align: center;
        margin-top: 0px;
        padding-top: 15px;
        border-top: 1px solid #e9ecef;
    }
    .guide-icon{display:none;}
    .detailed-reviews .reviews-list {padding:0px;}
}

/* Backorder Guide Styles */
.backorder-guide {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    margin: 8px 0;
}

.guide-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #dee2e6;
}

.guide-icon {
    font-size: 18px;
    margin-right: 8px;
}

.guide-title {
    font-weight: 600;
    color: #495057;
    font-size: 16px;
}

.guide-content {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.guide-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.guide-bullet {
    color: #007bff;
    font-weight: bold;
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.guide-text {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
    word-break: break-word;
}

.guide-text strong {
    color: #495057;
    font-weight: 600;
}

/* Back Order Guide Styles - Updated */
.backorder-guide {
    background: #f0fff4;
    border: 1px solid #9ae6b4;
    border-radius: 8px;
    padding: 16px;
    margin: 12px 0;
}

/* Order Detail Review Section Styles */
.item-review-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.existing-review {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
}

.review-summary {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-rating .star {
    color: #ffc107;
    font-size: 14px;
}

.review-rating .star.empty {
    color: #ddd;
}

.review-title {
    font-weight: 500;
    color: #495057;
    font-size: 14px;
}

.review-actions {
    margin-top: 10px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-outline-primary {
    background: transparent;
    color: #007bff;
    border: 1px solid #007bff;
}

.btn-outline-primary:hover {
    background: #007bff;
    color: white;
}

/* Review Modal Styles */
.review-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.review-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.review-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.review-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.review-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.review-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.review-modal-close:hover {
    background: #e9ecef;
    color: #333;
}

.review-modal-body {
    padding: 24px;
}

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

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

.required {
    color: #dc3545;
}

.product-name-display {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    font-weight: 500;
    color: #495057;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.star-rating {
    display: flex;
    gap: 8px;
    align-items: center;
}

.star-input {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
}

.star-input.filled {
    color: #ffc107;
}

.star-input:hover {
    color: #ffc107;
}

.image-upload-section {
    margin-top: 8px;
}

.image-drop-zone {
    border: 2px dashed #ced4da;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f8f9fa;
}

.image-drop-zone:hover,
.image-drop-zone.drag-over {
    border-color: #007bff;
    background: #e3f2fd;
}

.drop-zone-content svg {
    color: #6c757d;
    margin-bottom: 12px;
}

.drop-zone-content p {
    margin: 0 0 4px 0;
    color: #495057;
    font-weight: 500;
}

.upload-hint {
    font-size: 12px;
    color: #6c757d !important;
    font-weight: 400 !important;
}

.image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.image-preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #dee2e6;
}

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

.remove-image {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #dc3545;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .review-modal {
        padding: 10px;
    }
    
    .review-modal-content {
        max-height: 95vh;
    }
    
    .review-modal-header {
        padding: 16px 20px;
    }
    
    .review-modal-body {
        padding: 20px;
    }
    
    .existing-review {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .image-drop-zone {
        padding: 30px 15px;
    }
    
    .drop-zone-content svg {
        width: 36px;
        height: 36px;
    }
    
    .drop-zone-content p {
        font-size: 14px;
    }
    
    .upload-hint {
        font-size: 11px;
    }
    
    .image-preview-item {
        width: 60px;
        height: 60px;
    }
    
    .remove-image {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
    
    .star-input {
        font-size: 20px;
    }
    
    .item-review-section {
        margin-top: 12px;
        padding-top: 12px;
    }
    
    .existing-review {
        padding: 10px;
    }
    
    .review-summary {
        gap: 8px;
    }
    
    .review-rating .star {
        font-size: 12px;
    }
    
    .review-title {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .review-modal {
        padding: 5px;
    }
    
    .review-modal-content {
        border-radius: 8px;
    }
    
    .review-modal-header {
        padding: 12px 16px;
    }
    
    .review-modal-body {
        padding: 16px;
    }
    
    .image-drop-zone {
        padding: 20px 10px;
    }
    
    .drop-zone-content svg {
        width: 32px;
        height: 32px;
    }
    
    .drop-zone-content p {
        font-size: 13px;
    }
    
    .upload-hint {
        font-size: 10px;
    }
    
    .image-preview-item {
        width: 50px;
        height: 50px;
    }
    
    .remove-image {
        width: 16px;
        height: 16px;
        font-size: 9px;
    }
    
    .star-input {
        font-size: 18px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 13px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

.guide-header {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #9ae6b4;
}

.guide-title {
    font-size: 16px;
    font-weight: 600;
    color: #2f855a;
    margin: 0;
}

.guide-content {
    background: #fff;
    border-radius: 4px;
    padding: 12px;
}

.guide-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.guide-item:last-child {
    margin-bottom: 0;
}

.guide-bullet {
    color: #38a169;
    margin-right: 8px;
    margin-top: 1px;
    font-weight: 600;
}

.guide-text {
    color: #4a5568;
    flex: 1;
}

.guide-text strong {
    color: #2f855a;
    font-weight: 600;
}

.backorder {
    background: transparent !important;
    border: none !important;
}

.backorder th {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

@media (max-width: 768px) {
    .backorder-guide {
        padding: 12px;
        margin: 8px 0;
    }
    
    .guide-title {
        font-size: 15px;
    }
    
    .guide-content {
        padding: 10px;
    }
    
    .guide-item {
        font-size: 13px;
    }
}

/* 카테고리 태그 스타일 */
.category-tags-container {
    margin-bottom: 16px;
}

.category-tags-group {
    margin-bottom: 0;
}

.category-tags-visible,
.category-tags-expanded {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.category-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #E6F3FF;
    color: #1E40AF;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    border: 1px solid #B3D9FF;
    box-shadow: 0 2px 4px rgba(30, 64, 175, 0.1);
    transition: all 0.2s ease;
    cursor: default;
}

.category-tag:hover {
    background: #D1E7FF;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(30, 64, 175, 0.15);
}

.category-tag-more {
    display: inline-block;
    padding: 4px 8px;
    background: linear-gradient(135deg, #FFB6C1 0%, #FFC0CB 100%);
    color: #8B1538;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    border: 1px solid #FFB6C1;
    box-shadow: 0 2px 4px rgba(255, 182, 193, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-tag-more:hover {
    background: linear-gradient(135deg, #FFA0B4 0%, #FFB6C1 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 182, 193, 0.4);
}

/* PC에서 호버 효과 */
@media (min-width: 769px) {
    .category-tags-group:hover .category-tags-expanded {
        display: flex !important;
    }
    
    .category-tags-group:hover .category-tags-visible {
        display: none !important;
    }
}

/* 모바일에서 클릭 효과 */
@media (max-width: 768px) {
    .category-tags-group.expanded .category-tags-expanded {
        display: flex !important;
    }
    
    .category-tags-group.expanded .category-tags-visible {
        display: none !important;
    }
    
    .category-tag-more {
        cursor: pointer;
    }

}

/* 워터마크 */
.swp_img::after {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 80px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.3;
    z-index: 10;
    pointer-events: none;
}

@media (max-width: 768px) {
    .swp_img::after {
        width: 60px;
        height: 22px;
        top: 10px;
        right: 10px;
    }
}

