/* ============================================
   사용자 페이지 간소화 및 리디자인
   ============================================ */

/* 간소화된 헤더 */
.compact-header {
    height: auto;
    min-height: 300px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

.compact-header h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    margin-bottom: 0.75rem;
}

.compact-header .subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    margin-bottom: 1.5rem;
}

.trust-badges {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

/* 간소화된 주문 요약 */
.order-compact-summary {
    background: linear-gradient(135deg, #FFF5EB 0%, #FFE8D6 100%);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.total {
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.summary-label {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.summary-value {
    font-weight: 600;
    color: var(--color-text-main);
}

.summary-value.price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

/* 인라인 수량 선택 */
.quantity-inline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: white;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: var(--color-primary);
    color: white;
    transform: scale(1.05);
}

.qty-btn:active {
    transform: scale(0.95);
}

.quantity-inline span {
    font-size: 1.2rem;
    font-weight: 700;
    min-width: 30px;
    text-align: center;
}

/* 간소화된 입금 안내 */
.payment-info-compact {
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-top: 1rem;
}

.payment-label {
    font-size: 0.9rem;
    color: var(--color-text-main);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.payment-account {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.payment-account span {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.copy-btn-small {
    padding: 0.4rem 0.8rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn-small:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

/* 아코디언 스타일 */
.accordion-section {
    background: white;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: white;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-main);
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: var(--color-bg-main);
}

.accordion-header.active {
    background: var(--color-primary-soft);
    color: var(--color-primary);
}

.accordion-icon {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.accordion-content.active {
    max-height: none;
    padding: 1.5rem;
}

.lookup-description {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .compact-header {
        min-height: 250px;
        padding: 2rem 1rem;
        margin-bottom: 1rem;
    }

    .trust-badges {
        gap: 0.5rem;
    }

    .trust-badge {
        padding: 0.3rem 0.75rem;
        font-size: 0.75rem;
    }

    .order-compact-summary {
        padding: 1rem;
    }

    .summary-item {
        padding: 0.6rem 0;
    }

    .summary-label {
        font-size: 0.85rem;
    }

    .summary-value.price {
        font-size: 1.3rem;
    }

    .payment-info-compact {
        padding: 0.85rem;
    }

    .payment-account {
        flex-direction: column;
        align-items: flex-start;
    }

    .accordion-header {
        padding: 1rem;
        font-size: 1rem;
    }

    .accordion-content.active {
        padding: 1rem;
    }
}