.order_contents{
    max-width: 1600px;
    margin: 0 auto;
}
.product-detail-banner-image {display: inline-block !important;}
.order_contents .wrap {display: flex; align-items: flex-start; gap: 50px;}
.iti {width:100%;}
.oc_box {flex: 1; margin-top:1rem; max-width: 860px;}
.oc_box .area {padding: 20px; background-color:#fff; margin-bottom: 30px; border-radius: 10px; box-sizing: border-box;}
.oc_box .area:last-child {margin-bottom:0;}

.oc_fix {width: 460px;position: sticky;top: 290px;background-color: white;border: 1px solid #00427b;padding: 20px;height: fit-content; box-sizing: border-box; border-radius: 10px;  margin-top:1rem;}
.box {
    margin-bottom: 20px;
    padding: 40px;
    background: #f5f5f5;
}
@media (max-width: 769px) {
    .box, .box.t1 {
        padding: 10px;
        margin-bottom: 0px;
    }
}

@media (min-width: 769px) and (max-width: 1400px) {
    .box {
        padding: 30px;
        border-radius: 10px;
    }
}

.section_title {margin-bottom: 20px !important; font-size: 2rem; font-weight: 700; line-height: 50px !important; color:#000;}
.oc_fix .re_area {height: auto;}
.re_area .re_img {width: 120px;}
.of_item {padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid #eee; position: relative;}
.of_item .del {position: absolute; right:0; top:0;}
.of_qty {margin-top:10px;}
.of_qty span {font-size : 14px;}
.breadcrumb-container {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.breadcrumb-nav {
    max-width: 1200px;
    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;
}
.order{ margin-top:20px;}
.currency-info{ text-align: center; margin-top: 10px; font-size: 12px; color: rgb(214, 0, 0); }
span.small{font-size: 0.9rem; font-weight: 500;}
span.cs{color:#6c757d}
.select{height: 25px;}
.sub_info{display: flex;     justify-content: flex-start;
    margin: 1rem 0.5rem;
    gap: 6rem;}
.re_info .tit {
    margin-top: 5px;
    font-size: 14px;
    line-height: 24px;
    font-weight: 600;
}
.oc_box .area {
    padding: 20px 20px 1px 20px;
    margin-bottom: 15px;
}
.oc_fix {
    width: 500px;
    position: relative;
    top: 68px;
}
.sub_info_item{display: flex; justify-content: space-between; gap:1rem; align-items: baseline;}
.oc_box .area:last-child {
    margin-bottom: 0;
}
.of_item{padding-bottom: 0; margin-bottom: 10;}
.item-unit-price {
    color: #6c757d;
    font-size: 12px;
    margin-bottom: 3px;
}

@media (max-width: 640px) {
    .btn {width: auto !important;}
}
@media (max-width: 768px) {

    .oc_box {
        padding:0 !important;
    }
    #contents {
        margin-top: 187px !important;
    }
    .of_item{margin-bottom: 0;}
    .order {
        margin-top: 20px;
        padding: 10px 0;
    }
    .sub_info_item {
        display: flex;
        justify-content: space-between;
        gap: 10px; 
    }
    .sub_info {
        display: flex;
        justify-content: flex-start;
        margin: 0.5rem 0;
        gap: 0rem;
        flex-direction: column;
    }
    .re_info .txt {
        margin-top: 5px;
        font-size: 0.7rem;
        line-height: 24px;
    }
    .re_area{
        margin-top:1rem;
    }
}

@media (max-width: 1080px) {
    .oc_box {
        padding: 20px 0;
    }
    .pc{display: none;}
    .oc_fix.active{
        height: 320px;
        overflow-y: hidden;
        bottom: 0;
        z-index: 999;
        width: 100%;
    }
    .oc_fix.active .btn_top {
        bottom: 320px;
        display: none;
    }
    #proceed-btn{width: 100% !important; margin-top: 10px !important; margin-bottom: 10px !important; }
}

@media (max-width: 768px) {
    .mypage .wrap {display: block;}
    .order_contents .wrap {display: block;}
    .oc_fix {width: 100%; bottom: -20px; margin-top: 0; left: 0; right: 0; height: 0; overflow:hidden; top: inherit; border:0px; border-radius: 0; /*padding-bottom: 90px;*/ box-shadow: 0 -2px 30px rgba(0, 0, 0, 0.1);}
    .btn_top {display: block; position: fixed; bottom: 20px; left:50%; width: 80px; height: 20px; background-color: #fff; box-sizing: border-box; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; border-top-right-radius: 5px; border-top-left-radius: 5px;}
    .btn_top .bt_icon {
        width: 12px;
        height: 12px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232e9da7'%3E%3Cpath d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        transition: transform 0.3s ease;
    }
    .oc_fix.active {height: 300px; overflow-y:scroll; bottom: 0; z-index: 10002;}
    .oc_fix.active .btn_top {
        bottom: 20px;
        z-index: 10003;
    }
    .oc_fix.active .btn_top .bt_icon {
        transform: rotate(180deg); 
        opacity: 1; 
        visibility: visible;
    }
}

/* Exchange & Refund Policy Modal */
.refund-policy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
}

.refund-policy-content {
    position: relative;
    background: white;
    margin: 5% auto;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.refund-policy-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    z-index: 1;
}

.refund-policy-close:hover {
    color: #333;
}

.refund-policy-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.refund-policy-content h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0;
    padding: 20px 30px 20px 30px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 15px;
}

.refund-policy-content h4 {
    font-size: 16px;
    font-weight: bold;
    color: #555;
    margin: 0px 0 10px 0;
    padding-left: 10px;
    border-left: 3px solid #007bff;
}

.refund-policy-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 12px 0;
}

.refund-policy-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.refund-policy-content li {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin: 5px 0;
}

@media (max-width: 768px) {
    .refund-policy-content {
        width: 95%;
        margin: 3% auto;
    }

    .refund-policy-body {
        padding: 20px;
    }

    .refund-policy-content h3 {
        font-size: 18px;
        padding: 15px 20px 10px 20px;
    }

    .refund-policy-content h4 {
        font-size: 14px;
    }

    .refund-policy-content p {
        font-size: 13px;
    }

    .refund-policy-content li {
        font-size: 13px;
    }
    .oc_fix {padding:10px;}
    .oc_total {
        margin-top: 10px;
        padding-top: 10px;
    }
}

/* 장바구니 왼쪽 섹션 스크롤 제한 */
.oc_box #shipping {
    max-height: 525px;
    overflow-y: auto;
}

.oc_box #shipping::-webkit-scrollbar {
    width: 6px;
}

.oc_box #shipping::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.oc_box #shipping::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.oc_box #shipping::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 장바구니 배너 스타일 */
.cart-banner {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    text-align: center;
}

.cart-banner a {
    display: block;
}

.cart-banner .banner-image {
    width: auto;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
}

/* PC/모바일 이미지 반응형 처리 */
.cart-banner .pc-image {
    display: block;
}

.cart-banner .mobile-image {
    display: none;
}

@media (max-width: 768px) {
    .cart-banner {
        border-radius: 8px;
    }
    
    .cart-banner .banner-image {
        border-radius: 8px;
    }
    
    .cart-banner .pc-image {
        display: none !important;
    }
    
    .cart-banner .mobile-image {
        display: block;
    }
}

/* 장바구니 Alternatives & Combo Products 스타일 */
.alternatives-container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
}

.alternatives-swiper,
.combo-products-swiper {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

/* 로딩 스피너 애니메이션 */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 할인 정보 스타일 */
.discount-info {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 2px 0;
    font-size: 12px;
}

.discount-info b {
    color: #dc3545;
    font-weight: bold;
}

.discount-info .strikethrough {
    text-decoration: line-through;
    color: #999;
    font-size: 11px;
}

.alternatives-swiper .swiper-wrapper,
.combo-products-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap:0px;
}

.alternatives-swiper .swiper-slide,
.combo-products-swiper .swiper-slide {
    /* 화면 크기에 따른 퍼센트 설정 */
    width: 16.6666% !important; /* 기본: 4개씩 표시 */
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 0 5px;
}

/* 상품 카드 스타일 */
.alternatives-swiper .product_card,
.combo-products-swiper .product_card {
    display: flex;
    flex-direction: column;
    height: 300px;
    width: 100%; /* 슬라이드 너비의 100% 사용 */
    max-width: 235px;
    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;
}

.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: 200px;
    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;
}

.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: 0px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* 상품 카테고리 */
.alternatives-swiper .product_category,
.combo-products-swiper .product_category {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
    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: 14px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    height: 20px;
}

/* 상품 가격 */
.alternatives-swiper .product_price,
.combo-products-swiper .product_price {
    margin: 0;
    margin-top: auto;
    flex-shrink: 0;
}

.alternatives-swiper .product_price strong,
.combo-products-swiper .product_price strong {
    color: #dc3545;
    font-size: 16px;
    font-weight: 700;
}

/* 리뷰 영역 */
.alternatives-swiper .pii_txt,
.combo-products-swiper .pii_txt {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    flex-shrink: 0;
}

.alternatives-swiper .review-count,
.combo-products-swiper .review-count {
    font-size: 12px;
    color: #666;
}

/* 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: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: #007bff;
    border: 1px solid #e0e0e0;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.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: 10px;
}

.alternatives-swiper .swiper-button-prev,
.combo-products-swiper .swiper-button-prev {
    left: 10px;
}

.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: 1200px) {
    .alternatives-swiper .swiper-slide,
    .combo-products-swiper .swiper-slide {
        width: 20% !important; /* 3개씩 표시 */
    }
}

@media (max-width: 900px) {
    .alternatives-swiper .swiper-slide,
    .combo-products-swiper .swiper-slide {
        width: 33.33% !important; /* 2개씩 표시 */
    }
    
    .alternatives-swiper .product_card,
    .combo-products-swiper .product_card {
        height: 320px;
    }
    
    .alternatives-swiper .product_image,
    .combo-products-swiper .product_image {
        height: 180px;
    }
    
    .alternatives-swiper .product_info,
    .combo-products-swiper .product_info {
        padding: 10px;
        gap: 6px;
    }
    
    .alternatives-swiper .product_text,
    .combo-products-swiper .product_text {
        font-size: 13px;
        height: 35px;
    }
    
    .alternatives-swiper .product_price strong,
    .combo-products-swiper .product_price strong {
        font-size: 15px;
    }
}

@media (max-width: 600px) {
    .alternatives-swiper .swiper-slide,
    .combo-products-swiper .swiper-slide {
        width: 50% !important; /* 1개씩 표시 */
        padding: 0 2px;
    }
    
    .alternatives-swiper .product_card,
    .combo-products-swiper .product_card {
        height: 300px;
    }
    
    .alternatives-swiper .product_image,
    .combo-products-swiper .product_image {
        height: 160px;
    }
    
    .alternatives-swiper .product_info,
    .combo-products-swiper .product_info {
        height: 140px;
        padding: 8px;
    }
    
    .alternatives-swiper .product_text,
    .combo-products-swiper .product_text {
        font-size: 12px;
        height: 50px;
        -webkit-line-clamp: 2;
    }
    
    .alternatives-swiper .product_price strong,
    .combo-products-swiper .product_price strong {
        font-size: 14px;
    }
    
    .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: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .alternatives-swiper .swiper-button-next,
    .combo-products-swiper .swiper-button-next {
        right: 5px;
    }
    
    .alternatives-swiper .swiper-button-prev,
    .combo-products-swiper .swiper-button-prev {
        left: 5px;
    }
    .alternatives-swiper,
    .combo-products-swiper {
        height: 255px;
    }
    .alternatives-swiper .product_image,
    .combo-products-swiper .product_image {
        height: 125px;
    }
    .alternatives-swiper .product_info,
    .combo-products-swiper .product_info {
        height: 100px;
        padding: 8px;
    }
    .alternatives-swiper .product_card,
    .combo-products-swiper .product_card {
        height: 245px;
    }
}

@media (max-width: 450px) {
    .alternatives-swiper,
    .combo-products-swiper {
        height: 255px;
    }
    .alternatives-swiper .product_image,
    .combo-products-swiper .product_image {
        height: 125px;
    }
    .alternatives-swiper .product_info,
    .combo-products-swiper .product_info {
        height: 100px;
        padding: 0px;
    }
    .alternatives-swiper .product_card,
    .combo-products-swiper .product_card {
        height: 245px;
    }
}