.trade-view-container {
    max-width: 1400px;
    margin: 0 auto;
}

.trade-view-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    margin-bottom: 3rem;
}

.item-main {
    background: #1a1a2e;
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid #2a2a3e;
}

/* 거래 상태 표시 */
.trade-status-bar {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #2a2a3e;
}

.trade-status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.trade-status-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
}

.trade-status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.status-1 { background: #3498db; color: #fff; }
.status-2 { background: #f39c12; color: #fff; }
.status-3 { background: #27ae60; color: #fff; }
.status-8 { background: #e74c3c; color: #fff; }
.status-9 { background: #2ecc71; color: #fff; }

.trade-progress {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.progress-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #2a2a3e;
}

.progress-step.active::after,
.progress-step.completed::after {
    background: #00d4ff;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2a2a3e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-size: 1.2rem;
    color: #aaa;
}

.progress-step.active .step-icon,
.progress-step.completed .step-icon {
    background: #00d4ff;
    color: #fff;
}

.step-label {
    font-size: 0.85rem;
    color: #aaa;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: #ffffff;
    font-weight: 500;
}

/* 거래 정보 박스 */
.trade-info-box {
    background: #2a2a3e;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.trade-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.info-label {
    font-size: 0.85rem;
    color: #aaa;
}

.info-value {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 500;
}

/* 금액 상세 정보 */
.price-detail-box {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 204, 0.1));
    border: 1px solid #00d4ff;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.price-detail-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #00d4ff;
}

.price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.price-row:last-child {
    border-bottom: none;
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 2px solid #00d4ff;
}

.price-row-label {
    color: #aaa;
}

.price-row-value {
    font-weight: 500;
    color: #ffffff;
}

.price-row.total .price-row-value {
    font-size: 1.3rem;
    color: #00d4ff;
}

/* 옵션 정보 */
.options-box {
    background: #2a2a3e;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.options-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.option-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #3a3a5e;
}

.option-item:last-child {
    border-bottom: none;
}

.option-name {
    color: #ffffff;
}

.option-value {
    color: #00d4ff;
    font-weight: 500;
}

/* 거래 액션 버튼 */
.trade-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.trade-action-btn {
    padding: 1rem;
    border-radius: 10px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #fff;
}

.btn-confirm {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.btn-chat {
    background: linear-gradient(135deg, #3498db, #2980b9);
    position: relative;
}

.btn-chat .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.btn-cancel {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.btn-dispute {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.trade-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.trade-action-btn:disabled {
    background: #2a2a3e;
    color: #aaa;
    cursor: not-allowed;
    transform: none;
}

/* 거래 상대방 정보 */
.trader-info-card {
    background: #1a1a2e;
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid #2a2a3e;
    margin-bottom: 1rem;
}

.trader-label {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 1rem;
}

.trader-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.trader-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #2a2a3e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #aaa;
}

.trader-info {
    flex: 1;
}

.trader-name {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.trader-telegram {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #aaa;
}

.telegram-id {
    color: #0088cc;
    font-weight: 500;
}

/* 알림 박스 */
.notice-box {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid #ffd700;
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #ffffff;
}

.notice-box.info {
    background: rgba(0, 212, 255, 0.1);
    border-color: #00d4ff;
}

.notice-box.success {
    background: rgba(46, 204, 113, 0.1);
    border-color: #2ecc71;
}

.notice-box i {
    margin-right: 0.5rem;
}

/* 상품 정보 */
.item-header {
    margin-bottom: 2rem;
}

.item-type-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 0.5rem;
}

.type-1 { background: #3498db; color: #fff; }
.type-2 { background: #e74c3c; color: #fff; }
.type-3 { background: #9b59b6; color: #fff; }

.item-category {
    display: inline-block;
    margin-left: 0.5rem;
}

.item-category a {
    color: #00d4ff;
    text-decoration: none;
}

.item-category a:hover {
    text-decoration: underline;
}

.item-title {
    font-size: 2rem;
    font-weight: 600;
    margin: 1rem 0;
    color: #ffffff;
}

.item-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: #aaa;
}

.price-section {
    background: #2a2a3e;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 0.5rem;
}

.price-krw {
    font-size: 1.1rem;
    color: #aaa;
}

.delivery-info {
    background: #2a2a3e;
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
}
/* 기존 .item-content 스타일에 추가 */
.item-content {
    margin: 2rem 0;
    line-height: 1.8;
    color: #ffffff;
    max-width: 748px; /* 최대 너비 제한 추가 */
    overflow-x: auto; /* 넘치는 콘텐츠 스크롤 처리 */
}

/* 콘텐츠 내부 이미지 스타일 */
.item-content img {
    max-width: 100%; /* 부모 요소 너비에 맞춤 */
    height: auto; /* 비율 유지 */
    display: block; /* 블록 요소로 처리 */
    margin: 1rem auto; /* 중앙 정렬 및 여백 */
    border-radius: 10px; /* 모서리 둥글게 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* 그림자 효과 */
}

/* 반응형 이미지 처리 */
.item-content p img,
.item-content div img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
}

/* 테이블이 있는 경우 */
.item-content table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

/* iframe (유튜브 등) 반응형 처리 */
.item-content iframe {
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9; /* 16:9 비율 유지 */
    border-radius: 10px;
}

/* 모바일에서 더 작은 화면 대응 */
@media (max-width: 768px) {
    .item-content {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .item-content img {
        border-radius: 5px;
    }
}

/* 사이드바 */
.seller-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* 판매자 카드 */
.seller-card {
    background: #1a1a2e;
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid #2a2a3e;
}

.seller-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.seller-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #2a2a3e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #aaa;
}

.seller-info {
    flex: 1;
}

.seller-name {
    font-weight: 600;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.seller-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.stars {
    color: #ffd700;
}

.text-muted {
    color: #aaa;
}

/* 인증 뱃지 */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
}

.telegram-verified {
    background: #0088cc;
    color: #ffffff;
}

.site-verified {
    background: #28a745;
    color: #ffffff;
}

/* 판매자 통계 */
.seller-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.stat-item {
    background: #2a2a3e;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.85rem;
    color: #aaa;
}

/* 신뢰 뱃지 */
.seller-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.trust-badge {
    background: #2a2a3e;
    border: 1px solid #3a3a5e;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-badge.active {
    background: rgba(0, 212, 255, 0.1);
    border-color: #00d4ff;
    color: #00d4ff;
}

/* 액션 카드 */
.action-card {
    background: #1a1a2e;
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid #2a2a3e;
}

.action-button {
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.action-button:last-child {
    margin-bottom: 0;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
}

.btn-secondary {
    background: #3a3a5e;
}

.btn-danger {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}

.btn-disabled {
    background: #2a2a3e;
    color: #666;
    cursor: not-allowed;
}

.action-button:hover:not(.btn-disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.warning-box {
    background: rgba(0, 128, 0, 0.1); /* 연한 초록 배경 */
    border: 1px solid #00cc66;        /* 진한 초록 테두리 */
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #e6ffe6;                   /* 연한 초록빛 글씨 */
    text-align: center;
}

/* 관련 상품 섹션 */
.related-section {
    margin-top: 3rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.view-more {
    color: #00d4ff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.view-more:hover {
    text-decoration: underline;
}

/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #1a1a2e;
    border-radius: 20px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    border: 1px solid #2a2a3e;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.5rem;
    color: #00d4ff;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #2a2a3e;
    color: #ffffff;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 500;
}

.form-control {
    width: 100%;
    background: #0f0f23;
    border: 2px solid #2a2a3e;
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 5px !important;
}

.form-control:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.report-warning {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.report-warning p {
    color: #ff6b6b;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.report-warning ul {
    margin: 0;
    padding-left: 1.5rem;
}

.report-warning li {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.5;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.form-buttons .btn {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary {
    background: #2a2a3e;
    color: #ffffff;
}

.btn-secondary:hover {
    background: #3a3a5e;
}

.btn-danger {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

/* 반응형 */
@media (max-width: 768px) {
    .trade-view-grid {
        grid-template-columns: 1fr;
    }
    
    .trade-info-grid {
        grid-template-columns: 1fr;
    }
    
    .trade-actions {
        grid-template-columns: 1fr;
    }
    
    .trade-progress {
        font-size: 0.8rem;
    }
    
    .step-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .seller-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* 추가 스타일 */
.stock-info {
    padding: 0.8rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.stock-unlimited {
    background: rgba(78, 205, 196, 0.2);
    color: #4ecdc4;
}

.stock-limited {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.stock-soldout {
    background: rgba(255, 71, 87, 0.2);
    color: #ff4757;
}

.review-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #2a2a3e;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title i {
    color: #ffd700;
}

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

.review-item {
    background: #2a2a3e;
    border-radius: 10px;
    padding: 1.5rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-user {
    font-weight: 500;
}

.review-content {
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.review-date {
    font-size: 0.85rem;
    color: #888;
}

/* 상품 선택 영역 스타일 */
.product-selection-area {
    margin-bottom: 2rem;
}

/* 모바일 탭 스타일 */
.product-tabs {
    display: none;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #3a3a5e;
}

.product-tab {
    background: none;
    border: none;
    color: #888;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.product-tab.active {
    color: #00d4ff;
}

.product-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #00d4ff;
}

/* 상품 섹션 스타일 */
.product-section {
    padding: 1.5rem 0;
}

.main-section {
    border-bottom: 1px solid #3a3a5e;
    margin-bottom: 1.5rem;
}

.selection-title {
    font-size: 1.1rem;
    color: #00d4ff;
    margin-bottom: 1rem;
}

.main-product-info {
    background: #2a2a3e;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-name {
    font-weight: 500;
    color: #fff;
}

.product-price {
    color: #ffd700;
    font-weight: 600;
}

.option-group {
    margin-bottom: 1rem;
}

.option-price {
    font-size: 0.85rem;
    color: #ffd700;
    font-weight: normal;
}

/* 수량 컨트롤 스타일 */
.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #3a3a5e;
    background: #2a2a3e;
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.qty-btn:hover {
    background: #3a3a5e;
    border-color: #00d4ff;
}

.qty-input {
    width: 80px;
    height: 36px;
    text-align: center;
    background: #1a1a2e;
    border: 1px solid #3a3a5e;
    color: #fff;
    border-radius: 6px;
    font-size: 1rem;
}

/* 장바구니 스타일 */
.cart-area {
    margin-top: 2rem;
    padding: 2rem;
    background: #1a1a2e;
    border-radius: 15px;
    border: 1px solid #2a2a3e;
}

.cart-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #00d4ff;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.cart-item {
    background: #2a2a3e;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.cart-item-type {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    background: #00d4ff;
    color: #000;
    border-radius: 4px;
    font-weight: 600;
}

.cart-item-info {
    flex: 1;
    padding-left: 3.5rem;
}

.cart-item-name {
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: #fff;
}

.cart-item-options {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 0.2rem;
}

.cart-item-quantity {
    font-size: 0.85rem;
    color: #888;
}

.cart-item-price {
    color: #ffd700;
    font-weight: 600;
    margin-left: 1rem;
    text-align: right;
}

.cart-item-price small {
    display: block;
    font-size: 0.75rem;
    color: #888;
    font-weight: normal;
}

.cart-item-remove {
    margin-left: 1rem;
    color: #ff4757;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.cart-item-remove:hover {
    color: #ff6b81;
}

.cart-summary {
    background: #2a2a3e;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.summary-row.total {
    border-top: 1px solid #3a3a5e;
    padding-top: 1rem;
    margin-top: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.summary-row.total span:last-child {
    color: #00d4ff;
}

.summary-row.krw {
    font-size: 0.85rem;
    color: #888;
}

.cart-empty {
    text-align: center;
    padding: 2rem;
    color: #888;
}

.cart-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .mobile-only {
        display: flex !important;
    }
    
    .product-section {
        display: none;
    }
    
    .product-section.active {
        display: block;
    }
    
    .main-section {
        border-bottom: none;
        margin-bottom: 0;
    }
    
    .cart-area {
        margin-left: -1rem;
        margin-right: -1rem;
        border-radius: 0;
    }
}

/* PC에서는 모든 섹션 보이기 */
@media (min-width: 769px) {
    .product-section {
        display: block !important;
    }
}
/* 프로필 이미지 스타일 추가 */
.trader-avatar img.profile-img,
.seller-avatar img.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.trader-avatar,
.seller-avatar {
    position: relative;
    overflow: hidden;
}

/* 기본 아이콘 스타일 유지 */
.trader-avatar i,
.seller-avatar i {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 반응형 조정 */
@media (max-width: 768px) {
    .trader-avatar img.profile-img,
    .seller-avatar img.profile-img {
        border: 2px solid rgba(0, 212, 255, 0.3);
    }
}