/* ===================================
   샵오브코리아 체크아웃/주문 요약 CSS
   작성일: 2025-01-07
   설명: 장바구니 사이드바, 주문 요약, 체크아웃 관련 스타일
   =================================== */

/* ===================================
   1. 장바구니/체크아웃 사이드바 스타일
   =================================== */
   .sok-cart-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    position: sticky;
    top: 100px;
}

.sok-cart-order-detail {
    margin-bottom: 20px;
}

.sok-checkout-btn {
    width: 100%;
    padding: 15px 20px;
    background: #b82647;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.sok-checkout-btn:hover {
    background: #a02040;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 38, 71, 0.3);
}

.sok-checkout-btn:active {
    transform: translateY(0);
}

.sok-checkout-btn:focus {
    outline: 2px solid #b82647;
    outline-offset: 2px;
}

/* 버튼 비활성화 상태 */
.sok-checkout-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

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

/* ===================================
   2. 모바일 반응형
   =================================== */
@media (max-width: 1023px) {
    .sok-cart-info {
        padding: 15px;
        position: relative;
        top: auto;
    }
    
    .sok-checkout-btn {
        padding: 12px 20px;
        font-size: 15px;
    }
}
/* ===================================
   2. 주문 요약 스타일
   =================================== */
   .sok-order-summary {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.sok-order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.sok-order-row:last-child {
    border-bottom: none;
}

.sok-order-row.total {
    background: #f8f9fa;
    font-weight: 600;
    font-size: 16px;
    border-top: 2px solid #e9ecef;
}

.sok-order-label {
    color: #666;
    font-weight: 500;
}

.sok-order-value {
    color: #333;
    font-weight: 500;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

/* 적립금 사용 행의 경우 세로 배치 */
.sok-order-row.discount .sok-order-value {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

/* 전체 금액 강조 */
.sok-order-row.total .sok-order-label,
.sok-order-row.total .sok-order-value {
    color: #b82647;
    font-weight: 600;
}

/* 할인 관련 스타일 */
.sok-order-row.discount .sok-order-value {
    color: #28a745;
}

/* 배송비 스타일 */
.sok-order-row.shipping .sok-order-label {
    color: #333;
}

/* 적립금 입력 필드 */
.sok-input-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}

.sok-order-input {
    width: 80px;
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    text-align: right;
    background: #fff;
    transition: border-color 0.2s ease;
}

.sok-order-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.sok-order-input::placeholder {
    color: #ccc;
}

/* 통화 단위 */
.sok-currency {
    color: #666;
    font-size: 13px;
    margin-left: 4px;
    font-weight: 400;
}

/* 적립금 적용 버튼 */
.sok-apply-btn {
    background: #007bff;
    color: #fff;
    border: 1px solid #007bff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 6px;
}

.sok-apply-btn:hover {
    background: #0056b3;
    border-color: #0056b3;
}

.sok-apply-btn:active {
    background: #004085;
    border-color: #004085;
}

/* 적립금 정보 행 */
.sok-order-row.point-info {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.sok-order-row.point-info .sok-order-label {
    color: #495057;
    font-size: 13px;
}

.sok-order-row.point-info .sok-order-value {
    color: #28a745;
    font-weight: 600;
}

/* 적립금 입력 필드 아래 작은 정보 */
.sok-point-info-small {
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #666;
}

.sok-point-available {
    color: #696969;
    font-weight: 500;
}

.sok-point-info-small .sok-remove-point-btn {
    font-size: 10px;
    padding: 1px 4px;
    border-color: #6c757d;
    color: #6c757d;
}

.sok-point-info-small .sok-remove-point-btn:hover {
    background: #6c757d;
    color: #fff;
}

/* 적립금 사용안함 버튼 */
.sok-remove-point-btn {
    background: none;
    border: 1px solid #dc3545;
    color: #dc3545;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 3px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.sok-remove-point-btn:hover {
    background: #dc3545;
    color: #fff;
}

.sok-remove-point-btn svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
}

/* ===================================
   3. 모바일 반응형 (주문 요약)
   =================================== */
@media (max-width: 1023px) {
    .sok-order-row {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .sok-order-row.total {
        font-size: 15px;
    }
    
    .sok-order-value {
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
    }
    
    /* 모바일에서 적립금 사용 행 */
    .sok-order-row.discount .sok-order-value {
        gap: 3px;
    }
    
    .sok-remove-point-btn {
        font-size: 10px;
        padding: 1px 4px;
    }
    
    /* 모바일에서 적립금 입력 필드 */
    .sok-input-row {
        margin-bottom: 3px;
        gap: 3px;
    }
    
    .sok-order-input {
        width: 70px;
        font-size: 13px;
        padding: 3px 6px;
    }
    
    /* 모바일에서 적용 버튼 */
    .sok-apply-btn {
        font-size: 11px;
        padding: 3px 6px;
        margin-left: 4px;
    }
    
    .sok-currency {
        font-size: 12px;
        margin-left: 2px;
    }
    
    /* 모바일에서 적립금 정보 행 */
    .sok-order-row.point-info {
        padding: 8px 12px;
    }
    
    .sok-order-row.point-info .sok-order-label {
        font-size: 12px;
    }
    
    /* 모바일에서 적립금 작은 정보 */
    .sok-point-info-small {
        margin-top: 3px;
        font-size: 10px;
        gap: 6px;
    }
    
    .sok-point-info-small .sok-remove-point-btn {
        font-size: 9px;
        padding: 1px 3px;
    }
}

/* 모바일 하단 고정 바 */
.sok-mobile-checkout-bar {
    display: none;
}

@media (max-width: 1023px) {
    .sok-mobile-checkout-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #ddd;
        padding: 10px 15px;
        gap: 15px;
        align-items: center;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 100;
        transition: transform 0.3s ease;
    }
    
    /* 숨김 상태 */
    .sok-mobile-checkout-bar.hidden {
        transform: translateY(100%);
    }
    
    .sok-mobile-total {
        flex: 1;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .sok-mobile-label {
        font-weight: 600;
        color: #666;
    }
    
    .sok-mobile-price {
        font-size: 18px;
        font-weight: 700;
        color: #b82647;
    }
    
    .sok-mobile-checkout-btn {
        padding: 12px 30px;
        background: #b82647;
        color: #fff;
        border: none;
        border-radius: 6px;
        font-weight: 600;
    }
}

/* ===================================
   샵오브코리아 체크아웃 페이지 CSS
   =================================== */

/* 컨테이너 */
.sok-checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sok-checkout-content {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

/* 메인 영역 */
.sok-checkout-main {
    flex: 1;
    min-width: 0;
}

/* 사이드바 */
.sok-checkout-sidebar {
    width: 350px;
    flex-shrink: 0;
}

.sok-checkout-sticky {
    position: sticky;
    top: 100px;
}

/* 섹션 */
.sok-checkout-section {
    position: relative;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

.sok-checkout-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

/* 폼 그룹 */
.sok-checkout-form-group {
    margin-top: 20px;
}

.sok-checkout-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.sok-checkout-field {
    flex: 1;
    min-width: 0;
}

.sok-checkout-field-full {
    width: 100%;
}

.sok-checkout-field label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 8px;
}

.sok-checkout-field input,
.sok-checkout-field select,
.sok-checkout-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.sok-checkout-field input:focus,
.sok-checkout-field select:focus,
.sok-checkout-field textarea:focus {
    outline: none;
    border-color: #b82647;
    box-shadow: 0 0 0 3px rgba(184, 38, 71, 0.1);
}

.sok-checkout-field textarea {
    resize: vertical;
    font-family: inherit;
}

.sok-checkout-field small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #999;
}

.required {
    color: #dc3545;
}

/* 체크박스 */
.sok-checkout-same-check {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sok-checkout-same-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.sok-checkout-same-check label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

/* 주소록 버튼 */
.sok-checkout-address-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    padding: 6px 16px;
    background: #2f415d;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
}

.sok-checkout-address-btn:hover {
    background: #253346;
}

/* 배송방법 */
.sok-checkout-delivery {
    margin-top: 20px;
}

.sok-checkout-delivery-item {
    margin-bottom: 10px;
}

.sok-checkout-delivery-btn {
    width: 100%;
    padding: 15px 20px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    text-align: left;
    font-size: 15px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
}

.sok-checkout-delivery-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.sok-checkout-delivery-btn.active {
    background: #b82647;
    border-color: #b82647;
    color: #fff;
}

.sok-checkout-delivery-content {
    display: none;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 6px 6px;
    margin-top: -1px;
}

.sok-checkout-delivery-content.active {
    display: block;
}

.sok-checkout-delivery-content p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 주문 요약 */
.sok-checkout-summary {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

/* 결제 버튼 */
.sok-checkout-payment {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sok-checkout-btn {
    width: 100%;
    padding: 14px 20px;
    background: #b82647;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.sok-checkout-btn:hover {
    background: #b82647;
    transform: translateY(-1px);
}

.sok-checkout-btn.active {
    background: #e96f84;
    border-color: #e96f84;
}

.sok-checkout-btn-primary {
    background: #b82647;
}

.sok-checkout-btn-primary:hover {
    background: #a02040;
}

/* 무통장입금 상세 */
.sok-checkout-bank-detail {
    margin-top: 15px;
    padding: 20px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
}

.sok-checkout-bank-detail .sok-checkout-field {
    margin-bottom: 15px;
}

.sok-checkout-invoice {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.sok-checkout-invoice label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    cursor: pointer;
}

.sok-checkout-invoice input[type="radio"] {
    width: 16px;
    height: 16px;
}

/* 모달 */
.sok-checkout-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sok-checkout-modal {
    background: #fff;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.sok-checkout-modal-payment {
    max-height: 95vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sok-checkout-modal-payment .sok-checkout-modal-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.sok-checkout-modal-small {
    max-width: 400px;
}

.sok-checkout-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sok-checkout-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.sok-checkout-modal-close {
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sok-checkout-modal-close:hover {
    color: #333;
}

.sok-checkout-modal-body {
    padding: 20px 25px;
    max-height: 60vh;
    overflow-y: auto;
}

.sok-checkout-modal-header,
.sok-checkout-modal-footer {
    flex-shrink: 0;
}

.sok-checkout-modal-footer {
    padding: 15px 25px;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* 주소록 리스트 */
.sok-checkout-address-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sok-checkout-address-item {
    padding: 15px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.sok-checkout-address-item:hover {
    background: #f8f9fa;
    border-color: #b82647;
}

.sok-checkout-address-desc {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.sok-checkout-address-info {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 처리중 모달 */
.sok-checkout-processing {
    padding: 40px;
    text-align: center;
}

.sok-checkout-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #b82647;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.sok-checkout-processing p {
    margin: 0;
    font-size: 16px;
    color: #666;
}

/* 모바일 반응형 */
/* 모바일 반응형 - 수정 */
@media (max-width: 1023px) {
    .sok-checkout-content {
        flex-direction: column;
    }
    
    .sok-checkout-sidebar {
        width: 100%;
        /* order: -1; 제거 - 사이드바가 아래에 위치하도록 */
    }
    
    .sok-checkout-sticky {
        position: relative;
        top: auto;
    }
    
    .sok-checkout-section {
    position: relative;
        padding: 20px;
    }
    
    .sok-checkout-row {
        flex-direction: column;
    }
    
    .sok-checkout-modal {
        width: 95%;
    }
    
    /* 모바일에서 사이드바 상단에 구분선 추가 */
    .sok-checkout-sidebar {
        margin-top: 30px;
        padding-top: 30px;
        border-top: 2px solid #e9ecef;
    }
}

@media (max-width: 640px) {
    .sok-checkout-container {
        padding: 0 15px;
    }
    
    .sok-checkout-section {
    position: relative;
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .sok-checkout-title {
        font-size: 16px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    .sok-checkout-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}


/* 결제 방법 선택 */
.sok-checkout-payment-method {
    margin-top: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.sok-checkout-payment-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.sok-checkout-payment-options {
    display: grid;
    gap: 10px;
}

.sok-checkout-payment-card {
    display: block;
    cursor: pointer;
}

.sok-checkout-payment-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.sok-checkout-payment-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: #fff;
    transition: all 0.2s;
}

.sok-checkout-payment-card input:checked + .sok-checkout-payment-content {
    border-color: #b82647;
    background: #fff5f7;
}

.sok-checkout-payment-icon {
    font-size: 20px;
}

.sok-checkout-payment-text {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

/* PC용 결제 버튼 */
.sok-checkout-desktop-btn {
    display: block;
    width: 100%;
    margin-top: 20px;
}

/* 모바일 하단 고정 바 */
.sok-checkout-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 12px 15px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 100;
    align-items: center;
    justify-content: space-between;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.sok-checkout-mobile-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex-shrink: 1;
}

.sok-checkout-mobile-label {
    font-size: 12px;
    color: #666;
}

.sok-checkout-mobile-price {
    font-size: 18px;
    font-weight: 700;
    color: #b82647;
}

.sok-checkout-mobile-btn {
    padding: 12px 30px;
    background: #b82647;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

/* 모바일 반응형 */
@media (max-width: 1023px) {
    .sok-checkout-content {
        flex-direction: column;
        padding-bottom: 80px; /* 하단 바 공간 */
    }
    
    .sok-checkout-sidebar {
        width: 100%;
        margin-top: 30px;
        padding-top: 30px;
        border-top: 2px solid #e9ecef;
    }
    
    .sok-checkout-sticky {
        position: relative;
        top: auto;
    }
    
    /* PC 결제 버튼 숨기기 */
    .sok-checkout-desktop-btn {
        display: none;
    }
    
    /* 모바일 하단 바 표시 */
    .sok-checkout-mobile-bar {
        display: flex;
    }
    
    /* 결제 방법 카드 크기 조정 */
    .sok-checkout-payment-content {
        padding: 12px;
    }
    
    .sok-checkout-payment-icon {
        font-size: 18px;
    }
    
    .sok-checkout-payment-text {
        font-size: 14px;
    }
}
/* checkout-page.css */
.sok-checkout-delivery-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.sok-checkout-delivery-option {
    padding: 15px 10px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.sok-checkout-delivery-option:hover {
    border-color: #b82647;
    background: #fef5f7;
}

.sok-checkout-delivery-option.active {
    border-color: #b82647;
    background: #b82647;
    color: #fff;
}

.sok-delivery-name {
    font-size: 14px;
    font-weight: 600;
}

.sok-delivery-fee {
    font-size: 12px;
    opacity: 0.8;
}

.sok-checkout-delivery-option.active .sok-delivery-fee {
    opacity: 0.9;
}
/* 배송방법 선택 - 결제방법과 동일한 스타일 */
.sok-checkout-delivery-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.sok-checkout-delivery-card {
    display: block;
    cursor: pointer;
}

.sok-checkout-delivery-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.sok-checkout-delivery-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: #fff;
    transition: all 0.2s;
}

.sok-checkout-delivery-card input:checked + .sok-checkout-delivery-content {
    border-color: #b82647;
    background: #fff5f7;
}

.sok-checkout-delivery-card:hover .sok-checkout-delivery-content {
    border-color: #adb5bd;
}

.sok-checkout-delivery-name {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.sok-checkout-delivery-fee {
    font-size: 13px;
    color: #666;
    font-weight: 600;
}

.sok-checkout-delivery-card input:checked + .sok-checkout-delivery-content .sok-checkout-delivery-fee {
    color: #b82647;
}

/* 모바일 반응형 */
@media (max-width: 640px) {
    .sok-checkout-delivery-options {
        grid-template-columns: 1fr;
    }
    
    .sok-checkout-delivery-content {
        padding: 12px 15px;
    }
    
    .sok-checkout-delivery-name {
        font-size: 14px;
    }
    
    .sok-checkout-delivery-fee {
        font-size: 12px;
    }
}

/* ===================================
   배송방법 안내 버튼 및 모달 스타일
   =================================== */

/* 배송방법 섹션 헤더 */
.sok-checkout-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    gap: 15px;
}

.sok-checkout-section-header .sok-checkout-title {
    margin: 0;
    flex: 1;
}

/* 배송방법 안내 버튼 */
.sok-checkout-delivery-info {
    margin-bottom: 15px;
}

.sok-checkout-delivery-info-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #495057;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.sok-checkout-delivery-info-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #212529;
}

.sok-checkout-delivery-info-btn:focus {
    outline: 2px solid #b82647;
    outline-offset: 2px;
}

.sok-checkout-delivery-info-btn .sok-truck-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* 배송방법 모달 스타일 (cart.css와 동일) */
.sok-cart-modal-overlay {
    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;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sok-cart-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sok-cart-modal {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 90vw;
    max-height: 90vh;
    width: 600px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.sok-cart-modal-overlay.active .sok-cart-modal {
    transform: scale(1);
}

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

.sok-cart-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #212529;
}

.sok-cart-modal-close {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.sok-cart-modal-close:hover {
    background: #e9ecef;
}

.sok-cart-modal-close svg {
    width: 20px;
    height: 20px;
    fill: #6c757d;
}

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

.sok-cart-modal-footer {
    padding: 20px 24px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.sok-cart-modal-btn {
    padding: 10px 20px;
    background: #b82647;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sok-cart-modal-btn:hover {
    background: #a02040;
}

/* 배송방법 아코디언 스타일 */
.sok-cart-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sok-cart-accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.sok-cart-accordion-header {
    margin: 0;
}

.sok-cart-accordion-button {
    width: 100%;
    padding: 16px 20px;
    background: #f8f9fa;
    border: none;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.sok-cart-accordion-button:hover {
    background: #e9ecef;
}

.sok-cart-accordion-button.active {
    background: #b82647;
    color: #fff;
}

.sok-cart-accordion-arrow {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.sok-cart-accordion-button.active .sok-cart-accordion-arrow {
    transform: rotate(180deg);
}

.sok-cart-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.sok-cart-accordion-content.active {
    max-height: 500px;
}

.sok-cart-accordion-body {
    padding: 20px;
    background: #fff;
    border-top: 1px solid #e9ecef;
}

.sok-cart-accordion-body p {
    margin: 0;
    line-height: 1.6;
    color: #495057;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .sok-checkout-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .sok-checkout-delivery-info-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .sok-cart-modal {
        width: 95vw;
        max-height: 95vh;
    }
    
    .sok-cart-modal-header,
    .sok-cart-modal-body,
    .sok-cart-modal-footer {
        padding: 16px 20px;
    }
    
    .sok-cart-modal-title {
        font-size: 16px;
    }
    
    .sok-cart-accordion-button {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .sok-cart-accordion-body {
        padding: 16px;
    }
}
/* 비회원 로그인 안내 배너 */
.sok-checkout-auth-prompt {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #f0f7ff;
    border: 1px solid #d0e3f7;
    border-radius: 8px;
    margin-bottom: 20px;
}

.sok-checkout-auth-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.sok-checkout-auth-text {
    flex: 1;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.sok-checkout-auth-text strong {
    display: block;
    margin-bottom: 2px;
    font-size: 15px;
}

.sok-checkout-auth-text span {
    color: #666;
    font-size: 13px;
}

.sok-checkout-auth-link {
    flex-shrink: 0;
    padding: 8px 20px;
    background: #2f6fba;
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
}

.sok-checkout-auth-link:hover {
    background: #245a9e;
    color: #fff;
}

@media (max-width: 640px) {
    .sok-checkout-auth-prompt {
        flex-wrap: wrap;
        padding: 12px 15px;
    }
    .sok-checkout-auth-link {
        width: 100%;
        text-align: center;
        margin-top: 4px;
    }
}

/* 결제 페이지: 공통 하단 네비게이션 숨김 (캐시된 topmenu에서 유입) */
.sok-bottom-sticky, .sok-bottom-sticky.active {
    display: none !important;
}
body.sok-has-bottom-sticky {
    padding-bottom: 0 !important;
}
