/* 기본 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS 변수 */
:root {
    --primary-blue: #3b82f6;
    --primary-dark: #1e40af;
    --primary-purple: #8b5cf6;
    --primary-indigo: #4f46e5;
    --accent-cyan: #06b6d4;
    --accent-teal: #0d9488;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --surface: rgba(255, 255, 255, 0.95);
    --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 25px 50px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 35px 80px rgba(0, 0, 0, 0.25);
}

/* 기본 바디 스타일 */
body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #667eea 50%, #f093fb 75%, #f5576c 100%);
    background-size: 400% 400%;
    min-height: 100vh;
    animation: gradientFlow 15s ease infinite;
    position: relative;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 배경 애니메이션 파티클 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="g"><stop offset="20%" stop-color="rgba(255,255,255,0.1)"/><stop offset="100%" stop-color="rgba(255,255,255,0)"/></radialGradient></defs><circle cx="20" cy="20" r="3" fill="url(%23g)"><animate attributeName="cy" values="20;80;20" dur="8s" repeatCount="indefinite"/></circle><circle cx="80" cy="40" r="2" fill="url(%23g)"><animate attributeName="cx" values="80;20;80" dur="12s" repeatCount="indefinite"/></circle><circle cx="50" cy="80" r="4" fill="url(%23g)"><animate attributeName="cy" values="80;20;80" dur="10s" repeatCount="indefinite"/></circle></svg>');
    pointer-events: none;
    z-index: 0;
}

/* 메인 래퍼 */
.main-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

/* 컨테이너 */
.container {
    position: relative;
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 
        var(--shadow-strong),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* 광고 배너 스타일 */
.ad-banner {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.ad-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.ad-banner img {
    width: 100%;
    height: auto;
    max-height: 120px;
    display: block;
    border-radius: 12px;
    object-fit: contain; /* 이미지 비율 유지하며 전체 표시 */
    background-color: transparent;
}

.ad-banner a {
    display: block;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ad-banner a:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

/* 광고 마크 스타일 */
.ad-banner::after {
    content: 'AD';
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 10;
    font-family: 'Arial', sans-serif;
    letter-spacing: 0.5px;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .ad-banner {
        margin: 0 1rem 1.5rem 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .ad-banner img {
        border-radius: 8px;
    }
    
    /* 모바일에서 광고 마크 크기 조정 */
    .ad-banner::after {
        bottom: 6px;
        left: 6px;
        font-size: 9px;
        padding: 1px 4px;
        border-radius: 3px;
    }
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, 
        var(--primary-blue) 0%, 
        var(--accent-cyan) 25%, 
        var(--primary-purple) 50%, 
        var(--accent-teal) 75%, 
        var(--primary-indigo) 100%);
    background-size: 300% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.container::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: 24px;
    z-index: -1;
}

/* 헤더 섹션 */
.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-section h1 {
    margin: 0;
    flex: 1;
}

/* 제목 스타일 */
h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(135deg, 
        var(--primary-blue) 0%, 
        var(--primary-purple) 50%, 
        var(--primary-indigo) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--primary-blue), 
        var(--accent-cyan), 
        var(--primary-purple));
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

/* 사용자 정보 섹션 */
.user-info-section {
    display: flex;
    align-items: center;
    min-height: 40px;
}

.customer-user-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.customer-user-card:hover {
    background: rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    text-decoration: none;
    color: inherit;
}

.profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.user-name {
    color: #1e40af;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
}

.user-email {
    color: #6b7280;
    font-size: 0.8rem;
    line-height: 1.2;
}

.login-prompt {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: rgba(107, 114, 128, 0.1);
    border: 1px solid rgba(107, 114, 128, 0.2);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.login-prompt:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3b82f6;
    transform: translateY(-1px);
}

/* 레이블 스타일 */
label {
    display: block;
    margin: 2rem 0 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    letter-spacing: -0.01em;
}

label::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: linear-gradient(180deg, var(--primary-blue), var(--primary-purple));
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 폼 요소 스타일 */
select, input[type="text"], input[type="tel"], input[type="email"], input[type="number"] {
    width: 100%;
    padding: 1.25rem 1.5rem;
    margin-bottom: 0.5rem;
    border: 2px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    box-sizing: border-box;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary);
    position: relative;
}

select:focus, input:focus {
    border-color: var(--primary-blue);
    outline: none;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 0 0 4px rgba(59, 130, 246, 0.1),
        0 8px 25px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* 버튼 스타일 */
button {
    width: 100%;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, 
        var(--primary-blue) 0%, 
        var(--accent-cyan) 30%, 
        var(--primary-purple) 60%, 
        var(--primary-indigo) 100%);
    background-size: 300% 300%;
    color: white;
    border: none;
    border-radius: 18px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 800;
    font-family: inherit;
    letter-spacing: -0.01em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 2.5rem;
    box-shadow: 
        0 8px 25px rgba(59, 130, 246, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.6s ease;
}

button:active {
    transform: scale(0.98);
    box-shadow: 
        0 4px 15px rgba(59, 130, 246, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.1);
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 홈 버튼 */
.home-button {
    position: absolute;
    top: 3rem;
    right: 2.5rem;
    background: linear-gradient(135deg, 
        #bfdbfe 0%, 
        #93c5fd 30%, 
        #60a5fa 70%, 
        #3b82f6 100%);
    color: white;
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
    border-radius: 50% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 
        0 12px 35px rgba(147, 197, 253, 0.5),
        0 6px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    border: none;
    animation: rotateHome 4s linear infinite;
    z-index: 1000;
    pointer-events: auto;
    -webkit-tap-highlight-color: rgba(147, 197, 253, 0.3);
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

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

.material-icons {
    font-size: 24px;
}

/* 가격 입력 컨테이너 */
.price-input-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.price-input-container input {
    margin-bottom: 0;
    padding-right: 45px;
}

.price-unit {
    position: absolute;
    right: 12px;
    color: #666;
}

/* 계좌 정보 */
.account-info {
    margin: 15px 0 25px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.account-info p {
    margin: 0 0 15px 0;
    font-weight: 500;
}

.copy-account {
    margin: 10px 0;
    padding: 8px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.account-number {
    text-align: center;
    margin-top: 12px;
    margin-bottom: 12px;
    font-size: 1.1em;
    line-height: 1.4;
}

.account-notice {
    text-align: center;
    color: #666;
    margin: 5px 0 10px;
    font-size: 0.9em;
}

/* 현금영수증 섹션 */
.receipt-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.receipt-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
    font-size: 1.2rem;
    font-weight: 700;
}

.receipt-section h4 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* 약관 컨테이너 */
.terms-container {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: #f9f9f9;
}

.terms-item {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terms-item input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
}

.terms-item label {
    margin: 0;
    font-size: 14px;
}

.view-terms {
    margin-left: 10px;
    padding: 6px 12px;
    background: linear-gradient(135deg, 
        var(--primary-blue) 0%, 
        var(--accent-cyan) 30%, 
        var(--primary-purple) 60%, 
        var(--primary-indigo) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    height: auto;
    line-height: 1;
    margin-top: 0;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* 매장 정보 및 도착 안내 */
.store-info {
    color: #ff0000;
    font-size: 0.9em;
    margin-top: 5px;
    margin-bottom: 15px;
}

.arrival-notice {
    color: #ff0000;
    font-size: 0.9em;
    margin-top: 5px;
    margin-bottom: 15px;
}

/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 2% auto;
    padding: 20px;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-close-btn {
    position: sticky;
    bottom: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, 
        var(--primary-blue) 0%, 
        var(--accent-cyan) 30%, 
        var(--primary-purple) 60%, 
        var(--primary-indigo) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 20px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, 
        #60a5fa 0%, 
        #06b6d4 30%, 
        #a855f7 60%, 
        #6366f1 100%);
}

.modal-text {
    margin-bottom: 20px;
    padding-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
}

.modal-text p {
    margin-bottom: 12px;
    font-size: 14px;
}

.modal-text h2 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.modal-text h3 {
    font-size: 16px;
    margin-bottom: 12px;
    margin-top: 20px;
    color: var(--text-primary);
}

.modal-text h4 {
    font-size: 14px;
    margin-bottom: 8px;
    margin-top: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-text ul {
    margin-bottom: 12px;
    padding-left: 18px;
}

.modal-text li {
    margin-bottom: 6px;
    font-size: 13px;
}

.modal-buttons {
    position: sticky;
    bottom: 0;
    background: white;
    padding-top: 15px;
    margin-top: 20px;
    border-top: 1px solid #eee;
}

/* 확인 안내 */
.confirmation-notice {
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.notice-list {
    margin-bottom: 20px;
}

.notice-item {
    margin-bottom: 12px;
    line-height: 1.5;
    color: #333;
    padding-left: 20px;
    position: relative;
}

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

.confirm-checkbox {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.checkbox-label span {
    font-weight: 500;
    color: #333;
}

/* 스피너 */
.spinner-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* 쿠폰 시스템 */
.coupon-section {
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border-radius: 12px;
    border: 2px solid #c4b5fd;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

.coupon-header {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.coupon-header h3 {
    margin: 0 0 5px 0;
    color: #8b5cf6;
    font-size: 1.2rem;
    font-weight: 700;
}

.coupon-description {
    margin: 0;
    color: #6b21a8;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.coupon-description::before {
    content: "ℹ️";
}

.coupon-section h4 {
    margin: 20px 0 10px 0;
    color: #8b5cf6;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.coupon-input-section {
    margin-bottom: 20px;
}

.coupon-input-group {
    margin-bottom: 10px;
}

#couponCode {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #8b5cf6;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

#couponCode:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.coupon-button-group {
    margin-top: 10px;
}

.coupon-apply-btn {
    width: 100%;
    padding: 12px 16px;
    background: #8b5cf6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.coupon-apply-btn:hover {
    background: #7c3aed;
    transform: translateY(-1px);
}

.coupon-remove-btn {
    width: 100%;
    padding: 12px 16px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.coupon-remove-btn:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

.coupon-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.coupon-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.coupon-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.login-required-message {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 12px;
    border: 1px solid #d1d5db;
    margin: 20px 0;
}

.login-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.7;
}

.login-text {
    color: #374151;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
}

.login-link {
    display: inline-block;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(139, 92, 246, 0.3);
}

.login-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(139, 92, 246, 0.4);
    text-decoration: none;
    color: white;
}

.available-coupons {
    margin-top: 20px;
}

.coupon-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.coupon-item {
    padding: 15px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.coupon-item:hover {
    border-color: #8b5cf6;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

.coupon-item.selected {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border-color: #7c3aed;
}

.coupon-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.coupon-details-left {
    flex: 1;
}

.coupon-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 3px;
}

.coupon-discount {
    font-size: 0.9rem;
    opacity: 0.8;
}

.coupon-usage {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 3px;
}

.coupon-details-right {
    text-align: right;
    font-size: 0.9rem;
    font-weight: 600;
}

.coupon-select-btn {
    margin-top: 8px;
    padding: 6px 12px;
    background: #8b5cf6;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.coupon-select-btn:hover {
    background: #7c3aed;
}

.coupon-item.selected .coupon-select-btn {
    background: rgba(255, 255, 255, 0.2);
}

/* 가격 요약 박스 */
.price-summary-box {
    background: linear-gradient(145deg, #f8f9ff 0%, #e8ebff 100%);
    border: 2px solid #e0e6ff;
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 
        0 8px 25px rgba(139, 92, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.price-header {
    margin-bottom: 12px;
}

.original-price {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 4px;
}

.original-price span {
    font-weight: bold;
    color: #2d3748;
}

.discount-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #16a085 !important;
}

.coupon-applied {
    background: rgba(22, 160, 133, 0.1);
    border: 1px solid rgba(22, 160, 133, 0.2);
    border-radius: 12px;
    padding: 12px;
    margin: 12px 0;
}

.coupon-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.coupon-label {
    font-size: 0.95rem;
    color: #16a085;
    font-weight: 600;
}

.coupon-discount {
    font-size: 1rem;
    font-weight: bold;
    color: #16a085;
}

.coupon-name {
    font-size: 0.85rem;
    color: #718096;
    font-style: italic;
}

.final-price {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 16px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.final-price span {
    font-size: 1.5rem;
    font-weight: 800;
}

/* 확인 모달 스타일 */
.confirmation-modal {
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(145deg, #ffffff 0%, #f8faff 100%);
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 10px 30px rgba(139, 92, 246, 0.1);
}

.confirmation-header {
    text-align: center;
    padding: 2rem 2rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px 20px 0 0;
    margin: -1.5rem -1.5rem 0;
}

.header-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.confirmation-header h2 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.header-subtitle {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.confirmation-info-card {
    padding: 1.5rem;
}

.info-section {
    background: white;
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-section h3 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: #4a5568;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

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

.info-item.highlight {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.info-label {
    font-size: 0.85rem;
    color: #718096;
    font-weight: 500;
}

.info-item.highlight .info-label {
    color: rgba(255, 255, 255, 0.9);
}

.info-value {
    font-size: 0.95rem;
    color: #2d3748;
    font-weight: 600;
}

.info-item.highlight .info-value {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
}

.price-highlight {
    font-size: 1.3rem !important;
    font-weight: 800 !important;
}

.cashbill-info {
    background: rgba(139, 92, 246, 0.05);
    border-radius: 8px;
    padding: 1rem;
    border-left: 4px solid #8b5cf6;
}

.cashbill-badge {
    background: #8b5cf6;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.cashbill-details p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
}

.confirmation-agreement {
    background: linear-gradient(135deg, #fff5f5 0%, #fef2f2 100%);
    border: 2px solid #fed7d7;
    border-radius: 12px;
    margin: 1.5rem 1.5rem 1rem;
    overflow: hidden;
}

.agreement-header {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.warning-icon {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.agreement-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.agreement-content {
    padding: 1.5rem;
}

.agreement-items {
    margin-bottom: 1.5rem;
}

.agreement-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    padding: 0.8rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.check-icon {
    color: #48bb78;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.agreement-item span:last-child {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #4a5568;
}

.final-agreement {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 1rem 0;
    max-width: 100%;
    margin: 0;
    text-align: center;
}

.agreement-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3748;
}

.agreement-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid #4fd1c7;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.agreement-checkbox input[type="checkbox"]:checked + .checkmark {
    background: #4fd1c7;
    border-color: #4fd1c7;
}

.agreement-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.agreement-text {
    line-height: 1.4;
    white-space: nowrap;
}

.confirmation-buttons {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* 다중 주문 정보 블록 스타일링 */
.order-block {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fafbff 0%, #f0f4ff 100%);
}

.order-block h3 {
    color: #4f46e5;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e7ff;
}

.order-info-group {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.info-subsection {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.info-subsection h4 {
    color: #374151;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid #f3f4f6;
}

.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    min-width: 120px;
    justify-content: center;
    white-space: nowrap;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.btn-submit:disabled {
    background: #e2e8f0;
    color: #a0aec0;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-cancel {
    background: #f7fafc;
    color: #4a5568;
    border: 2px solid #e2e8f0;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.btn-icon {
    font-size: 1.2rem;
}

/* 계좌 모달 스타일 */
.payment-amount {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin: 1rem 0;
}

.payment-amount .amount-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    display: block;
}

.payment-amount .amount-value {
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
}

.account-details {
    background: #f8faff;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.account-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.account-info-row:last-child {
    border-bottom: none;
}

.account-label {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
}

.account-value {
    font-size: 1rem;
    color: #000000;
    font-weight: bold;
}

.account-number {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem !important;
    color: #000000 !important;
    font-weight: bold !important;
}

.notice-section {
    background: linear-gradient(135deg, #fff5f5 0%, #fef2f2 100%);
    border: 1px solid #fed7d7;
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;
    padding: 0.5rem;
}

.notice-icon {
    font-size: 1.2rem;
    color: #e53e3e;
}

.notice-text {
    color: #e53e3e;
    font-weight: 600;
    font-size: 0.9rem;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .container {
        width: 95%;
        margin: 10px auto;
        padding: 20px 15px;
        border-radius: 16px;
    }

    .main-wrapper {
        padding: 1rem 0.5rem;
    }

    .header-section {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .header-section h1 {
        font-size: 1.95rem;
        flex: 1;
        margin: 0;
    }
    
    .user-info-section {
        flex-shrink: 0;
    }
    
    .user-info-card {
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
        border-radius: 15px;
    }
    
    .profile-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .user-details {
        gap: 0;
    }
    
    .user-name {
        font-size: 0.8rem;
        font-weight: 600;
        line-height: 1.1;
    }
    
    .user-email {
        font-size: 0.7rem;
        line-height: 1.1;
    }
    
    .login-prompt {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        border-radius: 15px;
        gap: 0.3rem;
    }
    
    .login-prompt i {
        font-size: 0.7rem;
    }

    h1 {
        font-size: 2.2rem;
        margin-top: 25px;
        margin-bottom: 2rem;
    }

    select, input[type="text"], input[type="tel"], input[type="email"], input[type="number"] {
        padding: 1rem;
        font-size: 16px;
        border-radius: 12px;
    }

    .home-button {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
        max-width: 50px !important;
        max-height: 50px !important;
        top: 15px;
        right: 15px;
    }

    .home-button span {
        font-size: 22px !important;
    }

    .modal-content {
        width: 95%;
        margin: 10px auto;
        padding: 15px;
        max-height: 85vh;
        border-radius: 16px;
    }

    .modal-text {
        font-size: 13px;
    }

    .modal-text p {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .modal-text h2 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .modal-text h3 {
        font-size: 15px;
        margin-bottom: 10px;
        margin-top: 16px;
    }

    .modal-text h4 {
        font-size: 13px;
        margin-bottom: 6px;
        margin-top: 12px;
    }

    .modal-text li {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .modal-close-btn {
        font-size: 13px;
        padding: 12px;
    }

    .account-info {
        padding: 12px;
        margin: 12px 0 20px;
        border-radius: 12px;
    }

    .terms-container {
        padding: 12px;
        margin: 15px 0;
        border-radius: 12px;
    }

    .confirmation-notice {
        padding: 15px;
        margin: 15px 0;
        border-radius: 12px;
    }

    button {
        padding: 1rem;
        font-size: 1.1rem;
        border-radius: 12px;
    }

    .view-terms {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .view-terms:active {
        transform: scale(0.95);
        background: linear-gradient(135deg, 
            #60a5fa 0%, 
            #06b6d4 30%, 
            #a855f7 60%, 
            #6366f1 100%);
    }

    .home-button {
        -webkit-tap-highlight-color: rgba(147, 197, 253, 0.3);
        touch-action: manipulation;
        cursor: pointer;
        pointer-events: auto;
        z-index: 1001;
    }
    
    .home-button:active {
        transform: scale(0.95);
        animation-play-state: paused;
        background: linear-gradient(135deg, 
            #dbeafe 0%, 
            #bfdbfe 30%, 
            #93c5fd 70%, 
            #60a5fa 100%);
    }
}

@media (max-width: 480px) {
    .header-section {
        gap: 0.5rem;
    }
    
    .header-section h1 {
        font-size: 1.69rem;
    }
    
    .user-info-card {
        padding: 0.4rem 0.6rem;
        gap: 0.4rem;
    }
    
    .profile-avatar {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
    
    .user-name {
        font-size: 0.75rem;
    }
    
    .user-email {
        font-size: 0.65rem;
    }
    
    .login-prompt {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }

    .container {
        padding: 15px 10px;
    }

    h1 {
        font-size: 1.4em;
    }

    select, input[type="text"], input[type="tel"], input[type="email"], input[type="number"] {
        font-size: 13px;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 15px 10px;
    }

    h1 {
        font-size: 1.4em;
    }

    select, input[type="text"], input[type="tel"], input[type="email"], input[type="number"] {
        font-size: 13px;
    }
}

/* 데스크톱 전용 hover 효과 */
@media (hover: hover) and (pointer: fine) {
    label:hover::before {
        opacity: 1;
    }

    select:hover, input:hover {
        border-color: var(--primary-blue);
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    }

    button:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 
            0 20px 40px rgba(59, 130, 246, 0.4),
            0 10px 25px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
        animation-play-state: paused;
    }

    button:hover::before {
        left: 100%;
    }

    .view-terms:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
        background: linear-gradient(135deg, 
            #60a5fa 0%, 
            #06b6d4 30%, 
            #a855f7 60%, 
            #6366f1 100%);
    }

    .home-button:hover {
        transform: translateY(-2px);
        box-shadow: 
            0 20px 40px rgba(147, 197, 253, 0.6),
            0 10px 25px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.6);
        background: linear-gradient(135deg, 
            #dbeafe 0%, 
            #bfdbfe 30%, 
            #93c5fd 70%, 
            #60a5fa 100%);
        animation-play-state: paused;
    }
}

/* 모바일 전용 터치 최적화 */
@media (hover: none) and (pointer: coarse) {
    label {
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }
    
    label::before {
        display: none;
    }

    select, input[type="text"], input[type="tel"], input[type="email"], input[type="number"] {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        -webkit-appearance: none;
        appearance: none;
    }
    
    select {
        cursor: pointer;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        background-size: 1em;
        padding-right: 3rem;
    }
    
    select:focus {
        -webkit-tap-highlight-color: transparent;
        border-color: var(--primary-blue);
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
    }
    
    input:active {
        border-color: var(--primary-blue);
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
    }

    button {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .view-terms {
        padding: 8px 14px;
        height: auto;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 700;
        margin-left: 8px;
        box-shadow: 0 3px 10px rgba(59, 130, 246, 0.4);
        min-height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* ==========================================
   파트너/트랜스퍼존 전용 스타일
   ========================================== */

/* VAT 정보 스타일 (파트너/트랜스퍼존 페이지 전용) */
.vat-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.5rem;
    font-weight: 500;
    opacity: 0.8;
}

/* 장바구니 버튼 */
.cart-button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, 
        var(--primary-blue) 0%, 
        var(--accent-cyan) 30%, 
        var(--primary-purple) 60%, 
        var(--primary-indigo) 100%);
    background-size: 300% 300%;
    color: white;
    border: none;
    border-radius: 18px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 800;
    font-family: inherit;
    letter-spacing: -0.01em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 10px;
    box-shadow: 
        0 8px 25px rgba(59, 130, 246, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: gradientShift 3s ease infinite;
}

.cart-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.6s ease;
}

.cart-button:active {
    transform: scale(0.98);
    box-shadow: 
        0 4px 15px rgba(59, 130, 246, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 플로팅 버튼 */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 170px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.floating-button {
    width: auto;
    height: 50px;
    padding: 0 20px;
    border-radius: 25px;
    background: linear-gradient(135deg, 
        var(--primary-blue) 0%, 
        var(--accent-cyan) 30%, 
        var(--primary-purple) 60%, 
        var(--primary-indigo) 100%);
    color: white;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 
        0 8px 25px rgba(59, 130, 246, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Noto Sans KR', sans-serif;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-button.cart-btn {
    order: -1;
    position: relative;
}

.floating-button .material-icons {
    font-size: 18px;
    margin-right: 5px;
}

.floating-button:active {
    transform: scale(0.95);
}

/* 장바구니 패널 */
.cart-panel {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    max-width: 90%;
    width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1000;
}

.cart-item {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    margin-bottom: 10px;
}

.cart-item-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.cart-badge {
    position: relative;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #ff4757 0%, #ff3838 50%, #ff2828 100%);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 
        0 4px 12px rgba(255, 71, 87, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.2);
    border: 2px solid white;
    animation: pulse 2s ease-in-out infinite;
    margin-left: 8px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.progress-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #f0f0f0;
    z-index: 1002;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary-blue);
    width: 0;
    transition: width 0.3s ease;
}

/* 페이지별 타이틀 크기 조정 */
.transfer-page h1 {
    font-size: 2.0rem;
}

.partner-page h1 {
    font-size: 2.4rem;
}

/* 트랜스퍼존 페이지는 홈 버튼 숨김 */
.transfer-page .home-button {
    display: none;
}

/* 컨테이너 마진 조정 (파트너/트랜스퍼존 페이지용) */
.partner-page .container,
.transfer-page .container {
    margin-bottom: 120px;
}

/* 데스크톱 호버 효과 - 장바구니 관련 */
@media (hover: hover) and (pointer: fine) {
    .cart-button:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 
            0 20px 40px rgba(59, 130, 246, 0.4),
            0 10px 25px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
        animation-play-state: paused;
    }

    .cart-button:hover::before {
        left: 100%;
    }

    .floating-button:hover {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 
            0 12px 30px rgba(59, 130, 246, 0.5),
            0 6px 20px rgba(0, 0, 0, 0.2);
    }
}

/* 모바일 터치 최적화 - 장바구니 관련 */
@media (hover: none) and (pointer: coarse) {
    .cart-button {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .floating-button {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
}

/* 반응형 - 장바구니 관련 */
@media screen and (max-width: 768px) {
    .floating-buttons {
        right: 15px;
        bottom: 140px;
    }
    
    .floating-button {
        height: 45px;
        padding: 0 15px;
        font-size: 13px;
    }
    
    .floating-button.cart-btn {
        font-size: 12px;
    }
    
    .cart-panel {
        width: 95%;
        max-width: 350px;
        padding: 15px;
    }
    
    .cart-button {
        padding: 0.8rem 1.5rem;
        font-size: 1.1rem;
    }
    
    /* 모바일 다중 주문 정보 블록 스타일링 */
    .order-block {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .order-block h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .order-info-group {
        gap: 1rem;
    }

    .info-subsection {
        padding: 0.8rem;
    }

    .info-subsection h4 {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }

    .info-grid {
        gap: 0.8rem;
    }

    .info-item {
        padding: 0.5rem 0;
    }
}

@media screen and (max-width: 480px) {
    .floating-buttons {
        right: 10px;
        bottom: 120px;
    }
    
    .floating-button {
        height: 40px;
        padding: 0 12px;
        font-size: 12px;
    }
    
    .floating-button.cart-btn {
        font-size: 11px;
    }
    
    .cart-panel {
        width: 98%;
        max-width: 320px;
        padding: 12px;
    }
    
    .cart-button {
        padding: 0.7rem 1.2rem;
        font-size: 1rem;
    }
}

@media screen and (max-width: 320px) {
    .floating-buttons {
        right: 5px;
        bottom: 100px;
    }
    
    .floating-button {
        height: 35px;
        padding: 0 10px;
        font-size: 11px;
    }
    
    .cart-button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}