@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-1Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-2ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-3Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-9Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

@font-face {
    font-family: 'SBAggroB';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SBAggroL.woff') format('woff');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'GangwonEduPower';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2201-2@1.0/GangwonEduPowerExtraBoldA.woff') format('woff');
    font-weight: 400;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* 헤더 */
.header {
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header.hidden {
    transform: translateY(-100%);
}

.header-container {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    font-weight: 600;
    font-size: 22px;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.logo-text {
    transition: all 0.3s ease;
    display: inline-block;
    height: 15px;
    width: auto;
}

.logo.scrolled .logo-text {
    opacity: 0;
    transform: translateY(-20px);
}

.logo-new-text {
    font-family: 'Paperozi', sans-serif !important;
    font-weight: 700;
    font-size: 24px;
    position: absolute;
    top: -2px;
    left: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.logo.scrolled .logo-new-text {
    opacity: 1;
    transform: translateY(0);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    position: relative;
    width: 300px;
}

.search-input {
    width: 100%;
    padding: 8px 16px 8px 40px;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    font-size: 14px;
    background: #f8f9fa;
}

.search-input:focus {
    outline: none;
    border-color: #007bff;
    background: #ffffff;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 16px;
}

.header-icons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.header-icon {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ffffff;
    transition: color 0.3s ease;
}

.header.scrolled .header-icon {
    color: #6c757d;
}

.header-icon:hover {
    color: #007bff;
}

/* 사용자 메뉴 */
.user-menu {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    min-width: 280px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    margin-top: 8px;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.user-details {
    flex: 1;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.user-email {
    font-size: 12px;
    color: #6c757d;
}

.user-menu-items {
    padding: 8px 0;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.menu-item:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

.menu-divider {
    border: none;
    border-top: 1px solid #f0f0f0;
    margin: 8px 0;
}

.logout-btn {
    color: #dc3545;
}

.logout-btn:hover {
    background-color: #fff5f5;
    color: #dc3545;
}

/* 아이콘 호버 효과 */
.header-icon:hover svg {
    color: #007bff;
}


/* 히어로 배너 */
.hero-banner {
    background-color: #2d3748;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="%234a5568" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 175px 0 25px 0;
    position: relative;
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: rgba(0, 0, 0, 0.6);
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.hero-text {
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Paperozi', sans-serif !important;
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #ffffff;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 20px;
    color: #e2e8f0;
    font-weight: 500;
}

/* 네비게이션 탭 */
.nav-tabs {
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 60px;
    z-index: 999;
    transition: all 0.3s ease;
}

.nav-tabs.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid #f0f0f0;
}

.nav-tabs-container {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 20px;
}

.nav-tab {
    padding: 12px 18px;
    color: #6b7280;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    letter-spacing: -1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-tab:hover {
    color: #1a1a1a;
}
.nav-tab.active {
    color: #1a1a1a;
    font-weight: 600;
    border-bottom-color: #1a1a1a;
}

.nav-tab-new {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #f76b19;
    border-radius: 50%;
    position: absolute;
    top: 13px;
    right: 7px;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.nav-tab {
    position: relative;
}

.nav-tab.active .nav-tab-new {
    opacity: 1 !important;
}

.nav-tab:not(.active) .nav-tab-new {
    opacity: 0.5 !important;
}

.nav-tab:not(.active) .nav-tab-new:hover {
    opacity: 0.6 !important;
}

.nav-tab.active .nav-tab-new:hover {
    opacity: 0.9 !important;
}

/* 플래시 메시지 */
.flash-message {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    min-width: 300px;
    max-width: 600px;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
    animation: slideDown 0.3s ease;
}

.flash-message.hiding {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.flash-content {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.flash-message svg {
    flex-shrink: 0;
}

.flash-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.flash-success {
    background: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}




.cash-receipt-card-inline {
}

.cash-receipt-card-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 16px;
}

.cash-receipt-btn {
    width: 100%;
    border: none;
    border-radius: 10px;
    background: #0078FF;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cash-receipt-btn:hover {
    background: #005fcc;
}

.cash-receipt-btn:disabled {
    background: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
}

.cash-receipt-status-summary {
    margin-bottom: 16px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}

.cash-receipt-status-summary strong {
    display: block;
    color: #1e293b;
    font-size: 14px;
    margin-bottom: 4px;
}

.cash-receipt-status-memo {
    margin-top: 8px;
    color: #1f2937;
    font-size: 13px;
}

.cash-receipt-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 7px;
}

.cash-receipt-status-tag.pending {
    background: rgba(0, 120, 255, 0.12);
    color: #0078FF;
}

.cash-receipt-status-tag.processing {
    background: rgba(251, 146, 60, 0.12);
    color: #ea580c;
}

.cash-receipt-status-tag.completed {
    background: rgba(16, 185, 129, 0.12);
    color: #0f766e;
}

.cash-receipt-status-tag.rejected {
    background: rgba(248, 113, 113, 0.12);
    color: #dc2626;
}

.cash-receipt-note {
    margin-top: 12px;
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.5;
}

.popup-body {
    background: #f6f7fb;
}

.popup-body .header,
.popup-body .nav-tabs,
.popup-body .footer,
.popup-body .hero-banner {
    display: none;
}

.popup-body .main-content {
    max-width: 460px;
    width: 100%;
    margin: 24px auto;
    padding: 0 12px 0 16px;
    border-radius: 0;
    background: transparent;
}

.cash-receipt-wrapper {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    padding: 24px;
    box-shadow: none;
}

.cash-receipt-wrapper h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.cash-receipt-desc {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cash-receipt-order-summary {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.cash-receipt-order-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #475569;
    padding: 6px 0;
}

.cash-receipt-order-row .label {
    font-weight: 600;
    color: #1e293b;
}

.cash-receipt-order-row .value {
    font-weight: 500;
}

.cash-receipt-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cash-receipt-field {
    display: flex;
    flex-direction: column;
}

.cash-receipt-label {
    font-weight: 600;
    font-size: 13px;
    color: #1f2937;
    margin-bottom: 6px;
}

.cash-receipt-input {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 14px;
    background: #ffffff;
    color: #1f2937;
}

.cash-receipt-input:focus {
    border-color: #0078FF;
    outline: none;
}

.cash-receipt-radio-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cash-receipt-radio {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.cash-receipt-radio input {
    display: none;
}

.cash-receipt-radio.active {
    border-color: #0078FF;
    color: #0078FF;
    background: rgba(0, 120, 255, 0.08);
}

.cash-receipt-hint {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
    line-height: 1.4;
}

.cash-receipt-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.cash-receipt-submit {
    flex: 1;
    background: #0078FF;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cash-receipt-submit:hover {
    background: #005fcc;
}

.cash-receipt-close {
    flex: 1;
    background: #f3f4f6;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-weight: 600;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cash-receipt-close:hover {
    background: #e5e7eb;
}

.cash-receipt-alert {
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.cash-receipt-alert.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.cash-receipt-alert.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.cash-receipt-existing {
    margin-top: 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    padding: 14px;
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cash-receipt-existing strong {
    display: block;
    margin-bottom: 6px;
    color: #1e293b;
}
/* 메인 컨텐츠 */
.main-content {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 50px;
    padding: 40px 20px;
    border-radius: 24px 24px 0 0;
}

/* 홈 배너 */
.home-banner {
    border-radius: 8px;
    padding: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 80px;
    min-height: 80px;
    max-height: 80px;
    position: relative;
    overflow: hidden;
}

/* 홈 페이지에서만 margin-bottom 적용 */
.banners-wrapper > .home-banner,
.banners-wrapper > .home-banner-link {
    margin-bottom: 40px;
}

.banners-wrapper > .home-banner:last-child,
.banners-wrapper > .home-banner-link:last-child {
    margin-bottom: 0;
}

.home-banner-link {
    display: block;
}

.home-banner-link .home-banner {
    cursor: pointer;
}

.home-banner-content {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 0 16px;
    box-sizing: border-box;
}

.home-banner-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: absolute;
    left: 50%;
    z-index: 2;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: none;
    white-space: nowrap;
}

.home-banner-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
}

/* 인라인 스타일로 설정된 글씨 크기가 있을 경우 CSS 변수로 저장 */
.home-banner-title[style*="font-size"] {
    /* CSS 변수가 이미 인라인 스타일에 설정되어 있음 */
}

.home-banner-subtitle {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
    white-space: nowrap;
}

/* 인라인 스타일로 설정된 글씨 크기가 있을 경우 CSS 변수로 저장 */
.home-banner-subtitle[style*="font-size"] {
    /* CSS 변수가 이미 인라인 스타일에 설정되어 있음 */
}

.home-banner-image {
    width: 200px;
    height: 80px;
    max-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
}

.home-banner-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .home-banner {
        padding: 0;
    }
    
    .banners-wrapper > .home-banner,
    .banners-wrapper > .home-banner-link {
        margin-bottom: 32px;
    }
    
    .banners-wrapper > .home-banner:last-child,
    .banners-wrapper > .home-banner-link:last-child {
        margin-bottom: 0;
    }
    
    .home-banner-content {
        /* 미디어 쿼리에서는 중앙 정렬 유지 */
    }
    
    /* 모바일에서는 글씨 크기를 약 83%로 축소 (20/24 = 0.833, 14/16 = 0.875) */
    .home-banner-title {
        font-size: calc(var(--title-font-size, 24px) * 0.833) !important;
    }
    
    .home-banner-subtitle {
        font-size: calc(var(--subtitle-font-size, 16px) * 0.875) !important;
    }
    
    .home-banner-image {
        width: 200px;
        height: 80px;
        max-height: 80px;
    }
}

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

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.3px;
}

.see-more {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.see-more:hover {
    color: #007bff;
}

/* 상품 그리드 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

/* 상품 없을 때 메시지 */
.no-products-message {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: #6b7280;
}

.no-products-message svg {
    margin-bottom: 24px;
    opacity: 0.5;
}

.no-products-message h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.no-products-message p {
    font-size: 14px;
    color: #6b7280;
}

/* 상품 카드 */
.product-card {
    border: none;
    overflow: hidden;
    transition: background-color 0.2s ease;
    position: relative;
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #e0e0e0;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.3px;
}

.product-badge.popular {
    background: #007bff;
}

.product-badge.limited {
    background: #6c757d;
}

.product-badge.combo {
    background: #ff6b35;
}

.product-tag {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.1px;
    margin-right: 8px;
    vertical-align: middle;
    line-height: 1.4;
}

.product-tag-popular {
    background: #FF6B7A;
}

.product-tag-limited {
    background: #FF8C5A;
}

.product-tag-new {
    background: #4ECB71;
}

.product-tag-sale {
    background: #0078FF;
}

.product-tag-recommended {
    background: #A78BFA;
}

.product-tag-best {
    background: #FFB84D;
}

.sold-out-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border-radius: 8px;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sold-out-overlay.closed {
}

.product-content {
    padding: 10px 0 0 0;
    margin-bottom: 42px;
}

.product-title {
    font-size: 16px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 2px;
    line-height: 1.5;
    letter-spacing: -0.2px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.product-title .product-tag {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    margin-right: 0;
}

.product-title-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.product-description {
    font-size: 14px;
    color: #909090;
    margin-bottom: 6px;
    letter-spacing: -0.2px;
    font-weight: 400;
}

.product-price-old {
    font-size: 14px;
    font-weight: bold;
    color: #bbbbbb;
    text-decoration: line-through;
}

.product-price-percent {
    font-size: 18px;
    font-weight: bold;
    color: #ff5c35;
    margin-right: 4px;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.purchase-limits {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.purchase-limit {
    font-size: 11px;
    color: #666;
    background: #f5f5f5;
    border: none;
    border-radius: 4px;
    padding: 3px 8px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}

.period-badge {
    margin-top: 6px;
    font-size: 11px;
    color: #0078FF;
    background: rgba(0, 120, 255, 0.08);
    border: 1px solid rgba(0, 120, 255, 0.2);
    border-radius: 12px;
    padding: 2px 8px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    display: inline-block;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
}

.stars {
    color: #ffc107;
}

.rating-count {
    color: #6c757d;
}

.product-heart {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    color: #9ca3af;
    font-size: 16px;
    transition: color 0.2s ease, background-color 0.2s ease;
    z-index: 2;
}

.product-heart:hover {
    color: #007bff;
}

.sold-out-text {
    text-align: center;
    padding: 10px;
    color: #7c828d;
    font-size: 12px;
    font-weight: 600;
    background: #f6f8fa;
    border-top: none;
    border-radius: 8px;
    margin-bottom: 40px;
}

.sold-out-text.closed {
}


/* 구매 플로우 페이지 스타일 - 2컬럼 레이아웃 */
.buyflow-container {
    max-width: 1500px;
    margin: 0 auto;
}

.buyflow-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e5e5;
}

.buyflow-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.buyflow-back-link {
    color: #0078FF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.buyflow-back-link:hover {
    color: #0056b3;
}

.buyflow-main-form {
    width: 100%;
}

.buyflow-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    min-width: 0;
    align-items: start;
}

/* 왼쪽 컬럼 스타일 */
.buyflow-left-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    overflow: hidden;
}

.buyflow-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 24px;
    min-width: 0;
    overflow: hidden;
}

.buyflow-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.buyflow-form-row {
    margin-bottom: 16px;
}

.buyflow-form-row:last-child {
    margin-bottom: 0;
}

.buyflow-form-group {
    width: 100%;
}

.buyflow-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.buyflow-required {
    color: #ff5c35;
    font-weight: 600;
}

.buyflow-display-value {
    padding: 12px 16px;
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
}

.buyflow-input,
.buyflow-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.buyflow-input:focus,
.buyflow-textarea:focus {
    outline: none;
    border-color: #0078FF;
}

.buyflow-textarea {
    resize: vertical;
    min-height: 80px;
}

.buyflow-help {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.buyflow-payment-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.buyflow-payment-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.buyflow-payment-option:hover {
    border-color: #0078FF;
    background-color: #f8f9fa;
}

.buyflow-payment-option input[type="radio"] {
    margin: 4px 0 0 0;
}

.buyflow-payment-option input[type="radio"]:checked + .buyflow-payment-text {
    color: #0078FF;
}

.buyflow-payment-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.buyflow-payment-text strong {
    font-size: 14px;
    font-weight: 600;
}

.buyflow-payment-text small {
    font-size: 12px;
    color: #666;
}

.buyflow-agreements {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.buyflow-agreement {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
}

.buyflow-agreement input[type="checkbox"] {
    margin: 2px 0 0 0;
}

.buyflow-agreement-text {
    flex: 1;
    font-size: 13px;
    color: #333;
}

.buyflow-agreement-view {
    background: none;
    border: 1px solid #0078FF;
    color: #0078FF;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.buyflow-agreement-view:hover {
    background: #0078FF;
    color: #fff;
}

/* 오른쪽 컬럼 스타일 */
.buyflow-right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 130px;
    align-self: flex-start;
}

.buyflow-order-summary {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 24px;
}

.buyflow-product-item {
    display: flex;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.buyflow-product-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.buyflow-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.buyflow-image-placeholder {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 11px;
    border-radius: 6px;
}

.buyflow-product-details {
    flex: 1;
}

.buyflow-product-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.buyflow-product-name .product-tag {
    margin-right: 0;
}

.buyflow-product-subtitle {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.buyflow-product-quantity {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.buyflow-product-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.buyflow-price-original {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.buyflow-price-discount {
    font-size: 13px;
    color: #ff5c35;
    font-weight: 600;
}

.buyflow-price-final {
    font-size: 16px;
    font-weight: 700;
    color: #0078FF;
}

.buyflow-price-summary {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
}

.buyflow-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}

.buyflow-price-total {
    border-top: 1px solid #e5e5e5;
    margin-top: 8px;
    padding-top: 16px;
    font-size: 16px;
    font-weight: 600;
}

.buyflow-total-price {
    font-size: 18px;
    font-weight: 700;
    color: #0078FF;
}

.buyflow-order-btn {
    width: 100%;
    margin-top: 16px;
    padding: 16px;
    background: #0078FF;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.buyflow-order-btn:hover {
    background: #0056b3;
}

.buyflow-order-btn:disabled {
    background: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
}

.buyflow-error-message {
    margin-top: 8px;
    font-size: 13px;
    color: #dc2626;
    text-align: center;
    min-height: 18px;
}

.buyflow-error-message:empty {
    display: none;
}

.buyflow-error-message span {
    line-height: 1.5;
}

/* 약관 모달 스타일 */
.buyflow-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: 10000;
    padding: 20px;
}

.buyflow-modal {
    background: white;
    border-radius: 12px;
    max-width: 450px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.buyflow-modal-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.buyflow-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.buyflow-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.buyflow-modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.buyflow-modal-content {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.buyflow-modal-footer {
    padding: 16px 24px 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}

.buyflow-modal-ok {
    background: #0078FF;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.buyflow-modal-ok:hover {
    background: #0066dd;
}

.buyflow-terms-content {
    line-height: 1.6;
    color: #374151;
}

.buyflow-terms-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 24px 0 12px 0;
}

.buyflow-terms-content h4:first-child {
    margin-top: 16px;
}

.buyflow-terms-content p {
    margin: 8px 0;
    font-size: 14px;
}

.buyflow-terms-content p:empty {
    height: 1em;
    margin: 8px 0;
}

.buyflow-terms-content strong {
    font-weight: 600;
    color: #111827;
}

.buyflow-terms-content ul,
.buyflow-terms-content ol {
    margin: 8px 0;
    padding-left: 24px;
    font-size: 14px;
}

.buyflow-terms-content li {
    margin: 4px 0;
}

.buyflow-terms-content ul ul,
.buyflow-terms-content ol ol,
.buyflow-terms-content ul ol,
.buyflow-terms-content ol ul {
    margin: 4px 0;
    padding-left: 20px;
}

.buyflow-highlight {
    color: #0078FF !important;
    font-weight: 500 !important;
}

/* 태블릿/작은 데스크톱 반응형 */
@media (max-width: 1200px) {
    .buyflow-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .buyflow-right-column {
        position: static;
        order: 1;
    }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .buyflow-card {
        padding: 20px;
    }
    
    .buyflow-modal {
        margin: 16px;
        max-height: calc(100vh - 32px);
    }
    
    .buyflow-modal-header {
        padding: 20px 20px 12px;
    }
    
    .buyflow-modal-content {
        padding: 0 20px;
    }
    
    .buyflow-modal-footer {
        padding: 12px 20px 20px;
    }
    
    .buyflow-terms-content h4 {
        margin: 20px 0 8px 0;
    }
}

/* 보상 선택 섹션 스타일 */
.reward-section-points {
    margin-bottom: 20px;
    padding: 18px;
    background: #f5f5f5;
    border-radius: 6px;
}

.reward-section-points-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    flex-wrap: wrap;
    gap: 8px;
}

.reward-section-points-label {
    font-size: 16px;
    color: #666;
    font-weight: 600;
}

.reward-section-points-value {
    font-size: 18px;
    font-weight: 800;
    color: #0078FF;
}

.reward-section-points-desc {
    margin: 0;
    font-size: 14px;
    color: #999;
    line-height: 1.5;
    text-align: justify;
}

#rewardsContainer {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
}

.reward-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    background: white;
    transition: all 0.2s;
    display: flex;
    gap: 15px;
    align-items: center;
    min-width: 0;
    overflow: hidden;
}

.reward-item.selected {
    border-color: #0078FF;
}

.reward-item-content {
    flex: 1;
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 0;
    overflow: hidden;
}

.reward-item-content > div:last-child {
    min-width: 0;
}

.reward-item-image {
    flex-shrink: 0;
    height: 50px;
    display: flex;
    align-items: center;
    position: relative;
}

.reward-item-image-wrapper {
    position: relative;
    width: 50px;
    height: 50px;
}

.reward-item-image-wrapper img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    transition: filter 0.2s;
}

.reward-item-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    border-radius: 6px;
    transition: background 0.2s;
    pointer-events: none;
    z-index: 1;
}

.reward-item-image-wrapper:hover .reward-item-image-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.reward-item-image-wrapper:hover img {
    filter: brightness(0.7);
}

.reward-item-image img,
.reward-item-image-placeholder {
    width: 50px;
    height: 50px;
}

.reward-item-info-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 2;
    color: white;
    pointer-events: none;
}

.reward-item-image-wrapper:hover .reward-item-info-btn {
    opacity: 1;
    pointer-events: auto;
}

.reward-item-info-btn:hover {
    opacity: 0.8;
}

.reward-item-info-btn svg {
    width: 20px;
    height: 20px;
}

.reward-item-image-placeholder {
    width: 50px;
    height: 50px;
    background: #f3f4f6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 10px;
}

.reward-item-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    min-width: 0;
    height: 50px;
    overflow: hidden;
}

.reward-item-name {
    font-weight: 600;
    font-size: 15px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.reward-item-subtitle {
    font-size: 12px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.reward-item-points {
    font-size: 15px;
    color: #0078FF;
    font-weight: 700;
    flex-shrink: 0;
    align-self: center;
}

.reward-quantity {
    flex-shrink: 0;
}

.reward-quantity-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reward-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.reward-btn:hover {
    border-color: #0078FF;
    color: #0078FF;
}

.reward-count-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0;
    width: 60px;
    justify-content: center;
    flex-shrink: 0;
}

.reward-count {
    font-weight: 600;
    text-align: center;
    font-size: 15px;
    color: #333;
    line-height: 1;
    margin-right: 4px;
}

.reward-count span {
    line-height: 1;
}

.reward-max-count {
    font-size: 13px;
    color: #999;
    font-weight: 400;
    margin-left: 0;
    line-height: 1;
}

.reward-item-limit {
    flex-shrink: 0;
    align-self: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 11px;
}

.reward-limit-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    background: #f3f4f6;
    color: #666;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.2;
}

.reward-limit-badge.limit-reached {
    background: #fee2e2;
    color: #dc2626;
}

@media (max-width: 1024px) {
    #rewardsContainer {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .reward-item {
        flex-wrap: wrap;
        align-items: center;
    }
    
    .reward-item-content {
        flex: 1;
        min-width: 0;
        align-items: center;
    }
    
    .reward-item-points {
        flex-shrink: 0;
        align-self: center;
    }
    
    .reward-item-limit {
        width: 100%;
        order: 2;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .reward-limit-badge {
        font-size: 11px;
        padding: 3px 6px;
    }
    
    .reward-quantity {
        width: 100% !important;
        padding-top: 12px;
        border-top: 1px solid #f0f0f0;
        order: 3;
    }
    
    .reward-quantity-controls {
        justify-content: center;
    }
}

/* 주문 상세 페이지 스타일 - orderinfo- prefix */
.orderinfo-container {
    max-width: 1500px;
    margin: 0 auto;
}

.orderinfo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}

.orderinfo-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.orderinfo-back-link {
    color: #0078FF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.orderinfo-back-link:hover {
    color: #0056b3;
}

.orderinfo-status-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.orderinfo-status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.orderinfo-status {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.orderinfo-status-pending {
    background: #fff3cd;
    color: #856404;
}

.orderinfo-status-expired {
    background: #f8d7da;
    color: #721c24;
}

.orderinfo-status-paid {
    background: #d1ecf1;
    color: #0c5460;
}

.orderinfo-status-completed {
    background: #d4edda;
    color: #155724;
}

.orderinfo-status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.orderinfo-status-failed {
    background: #f8d7da;
    color: #721c24;
}

.orderinfo-order-id {
    font-size: 14px;
    color: #666;
}

.orderinfo-countdown-section {
    text-align: center;
    padding: 20px;
    background: #fff5f5;
    border: 2px solid #fecaca;
    border-radius: 12px;
}

.orderinfo-countdown-title {
    font-size: 16px;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 12px;
}

.orderinfo-countdown-timer {
    font-size: 36px;
    font-weight: 700;
    color: #dc2626;
    font-family: monospace;
    margin-bottom: 8px;
}

.orderinfo-countdown-warning {
    font-size: 14px;
    color: #dc2626;
}

.orderinfo-content-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.orderinfo-payment-guide {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px;
}

.orderinfo-guide-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 20px 0;
}

.orderinfo-bank-accounts {
    margin-bottom: 20px;
}

.orderinfo-bank-account {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 12px;
}

.orderinfo-bank-account:last-child {
    margin-bottom: 0;
}

.orderinfo-bank-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.orderinfo-bank-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.orderinfo-account-number {
    font-size: 22px;
    font-weight: 600;
    color: #0078FF;
}

.orderinfo-account-holder {
    font-size: 14px;
    color: #666;
}

.orderinfo-copy-btn {
    background: #0078FF;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.orderinfo-copy-btn:hover {
    background: #0056b3;
}

.orderinfo-payment-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #e7f3ff;
    border-radius: 8px;
    margin-bottom: 20px;
}

.orderinfo-amount-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.orderinfo-amount-value {
    font-size: 24px;
    font-weight: 700;
    color: #0078FF;
}

.orderinfo-payment-notes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.orderinfo-note-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
}

.orderinfo-note-icon {
    font-size: 16px;
}

.orderinfo-product-section {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px;
}

.orderinfo-details-section {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.orderinfo-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 20px 0;
}

.orderinfo-product-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.orderinfo-product-details {
    flex: 1;
}

.orderinfo-product-name {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.orderinfo-product-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.orderinfo-product-quantity {
    font-size: 14px;
    color: #666;
}

.orderinfo-product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.orderinfo-price-original {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.orderinfo-price-discount {
    font-size: 14px;
    color: #ff5c35;
    font-weight: 600;
}

.orderinfo-price-final {
    font-size: 20px;
    font-weight: 700;
    color: #0078FF;
}

.orderinfo-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.orderinfo-info-grid3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.orderinfo-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.orderinfo-full-width {
    grid-column: 1 / -1;
}

.orderinfo-info-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.orderinfo-info-value {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 600;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .orderinfo-status-header,
    .buyflow-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .orderinfo-bank-account {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .orderinfo-payment-amount {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .orderinfo-product-info {
        flex-direction: column;
        gap: 16px;
    }
    
    .orderinfo-product-price {
        align-items: flex-start;
    }
    
    .orderinfo-content-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .orderinfo-info-grid {
        grid-template-columns: 1fr;
    }
    
    .buyflow-product-summary {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .buyflow-price-display {
        justify-content: center;
    }
}

/* 푸터 */
.footer {
    margin-top: auto;
}

.footer-container {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 40px 32px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-left {
    flex: 1;
}

.footer-right {
    flex: 0 0 auto;
}

.footer-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-nav-link {
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-nav-link:hover {
    color: #0078FF;
}

.footer-nav-divider {
    color: #d1d5db;
    font-size: 14px;
    margin: 0 4px;
}

.footer-company {
    margin-bottom: 0;
}

.footer-company-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.6;
    color: #6b7280;
}

.footer-company-info:last-child {
    margin-bottom: 0;
}

.company-name {
    color: #6b7280;
    font-weight: 400;
}

.company-item {
    color: #6b7280;
    font-weight: 400;
}

.company-divider {
    color: #d1d5db;
    margin: 0 4px;
}

.footer-support {
    text-align: right;
}

.support-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 12px 0;
}

.contact-info {
    text-align: right;
}

.contact-item {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.6;
}

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

.contact-label {
    color: #9ca3af;
    margin-right: 8px;
    font-weight: 400;
}

.contact-value {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-value:hover {
    color: #0078FF;
}

.footer-disclaimer {
    margin-top: 24px;
    padding: 16px 20px;
    background: #f9fafb;
    border-radius: 6px;
}

.footer-disclaimer p {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
    text-align: center;
    font-weight: 400;
}

/* 반응형 디자인 */
@media (max-width: 1400px) {
    .header-container,
    .hero-container,
    .main-content {
        padding: 25px 30px 20px;
    }
    
    .footer-container {
        padding: 36px 30px 20px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 0;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 16px;
    }

    .search-box {
        width: 250px;
    }
}

@media (max-width: 1024px) {
    .header-container,
    .hero-container,
    .main-content {
        padding: 25px 30px 20px;
    }
    
    .footer-container {
        padding: 36px 30px 20px;
    }

    .hero-banner {
        padding: 140px 0 25px 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 16px;
    }

    .search-box {
        width: 200px;
    }

    .footer-container {
        padding: 36px 30px 28px;
    }

    .footer-main {
        flex-direction: column;
        gap: 32px;
    }

    .footer-right {
        width: 100%;
    }

    .footer-support {
        text-align: left;
    }

    .contact-info {
        text-align: left;
    }

    .footer-company-info {
        font-size: 12px;
        gap: 6px;
    }

    .footer-disclaimer {
        margin-top: 20px;
        padding: 14px 18px;
    }

    .footer-disclaimer p {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .header-container,
    .hero-container,
    .nav-tabs-container,
    .main-content,
    .footer-container {
        padding: 25px 16px 20px;
    }

    .header-container {
        height: 56px;
    }

    .logo {
        font-size: 20px;
    }

    .logo-new-text {
        font-size: 20px;
    }

    .search-box {
        display: none;
    }

    .hero-banner {
        padding: 120px 0 20px 0;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 0;
    }

    .nav-tabs-container {
        overflow-x: auto;
        gap: 12px;
        padding: 0 16px;
        -webkit-overflow-scrolling: touch;
    }

    .nav-tab {
        padding: 10px 14px;
        font-size: 15px;
        white-space: nowrap;
    }

    .main-content {
        padding: 30px 16px;
    }

    .section-title {
        font-size: 20px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 12px;
    }


    .footer-container {
        padding: 32px 20px 24px;
    }

    .footer-main {
        flex-direction: column;
        gap: 24px;
    }

    .footer-nav {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 20px;
    }

    .footer-nav-link {
        font-size: 13px;
    }

    .footer-nav-divider {
        display: inline;
        margin: 0 3px;
    }

    .footer-company-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        font-size: 13px;
    }

    .company-divider {
        display: none;
    }

    .footer-support {
        text-align: left;
    }

    .support-title {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .contact-info {
        text-align: left;
    }

    .contact-item {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .footer-disclaimer {
        margin-top: 24px;
        padding: 16px;
    }

    .footer-disclaimer p {
        font-size: 12px;
        line-height: 1.6;
    }

    .info-item {
        display: block;
        margin-right: 0;
        margin-bottom: 4px;
    }

    .nav-tabs {
        top: 56px;
    }

    .logo-new-text {
        top: 0px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 15px;
    }

    .hero-banner {
        padding: 100px 0 20px 0;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .main-content {
        padding: 24px 12px;
    }

    .section-header {
        margin-bottom: 20px;
        align-items: flex-start;
        gap: 8px;
    }

    .section-title {
        font-size: 18px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
        gap: 10px;
    }

    .product-content {
        padding-top: 12px;
    }

    .product-title {
        font-size: 13px;
    }

    .product-price {
        font-size: 14px;
    }

    .purchase-limit {
        font-size: 10px;
        padding: 2px 6px;
        border-radius: 4px;
    }

    .footer-container {
        padding: 28px 16px 20px;
    }
    
    .footer-main {
        gap: 20px;
    }
    
    .footer-nav {
        gap: 6px;
        margin-bottom: 18px;
    }
    
    .footer-nav-link {
        font-size: 13px;
    }
    
    .footer-company-info {
        font-size: 12px;
        gap: 5px;
    }
    
    .support-title {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .contact-item {
        font-size: 12px;
        margin-bottom: 7px;
    }
    
    .footer-disclaimer {
        margin-top: 20px;
        padding: 14px;
    }
    
    .footer-disclaimer p {
        font-size: 11px;
    }

    .logo-new-text {
        top: 0px;
    }
}

/* 제품 구매 모달 */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.product-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.product-modal-content {
    position: relative;
    background-color: #ffffff;
    border-radius: 12px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10001;
    padding: 0;
}

.product-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: background-color 0.2s, color 0.2s;
    z-index: 10002;
}

.product-modal-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: #000;
}

.product-modal-body {
    display: flex;
    gap: 0;
}

.product-modal-left {
    flex: 1;
    background-color: #fafafa;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-modal-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.product-modal-image {
    width: 100%;
}

.product-modal-info {
    padding: 32px;
    flex: 1;
    overflow-y: auto;
}

.modal-divider {
    border: none;
    border-top: 1px solid #f0f0f0;
    margin: 24px 0;
}

.modal-product-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.modal-product-title .product-tag {
    margin-right: 0;
    font-size: 12px;
    padding: 4px 10px;
}

.modal-product-brand {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.modal-product-description {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    white-space: pre-wrap;
}

.modal-product-price-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-period-info {
    margin-top: 16px;
    margin-bottom: 8px;
}

.modal-period-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.modal-period-text {
    font-size: 13px;
    color: #0078FF;
    background: rgba(0, 120, 255, 0.08);
    border: 1px solid rgba(0, 120, 255, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 500;
    display: inline-block;
}

.modal-purchase-limits {
    margin-top: 16px;
    margin-bottom: 8px;
}

.modal-limits-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.modal-limits-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.modal-limits-list .purchase-limit {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    position: relative;
}

.purchase-limit-tooltip {
    position: fixed;
    padding: 14px 18px;
    background: #333;
    color: #fff;
    font-size: 13px;
    white-space: pre-line;
    min-width: 280px;
    max-width: 500px;
    width: max-content;
    text-align: center;
    line-height: 1.7;
    border-radius: 6px;
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    word-break: keep-all;
}

.purchase-limit-tooltip::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
}

.purchase-limit-tooltip.tooltip-above::after {
    top: 100%;
    border-top-color: #333;
}

.purchase-limit-tooltip.tooltip-below::after {
    bottom: 100%;
    border-bottom-color: #333;
}

.modal-limits-list .purchase-limit:hover .purchase-limit-tooltip {
    opacity: 1;
    visibility: visible;
}

.modal-price-old {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.modal-product-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-price-percent {
    font-size: 18px;
    font-weight: 700;
    color: #ff5c35;
}

.modal-price-current {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.product-modal-actions {
    display: flex;
    gap: 12px;
    padding: 16px 24px 24px;
}

.modal-btn-cancel,
.modal-btn-purchase {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.modal-btn-cancel {
    background-color: #f5f5f5;
    color: #666;
}

.modal-btn-cancel:hover {
    background-color: #e5e5e5;
}

.modal-btn-purchase {
    background-color: #0078FF;
    color: #ffffff;
}

.modal-btn-purchase:hover {
    background-color: #005FCC;
}

@media (max-width: 768px) {
    .product-modal-content {
        max-width: 550px;
    }

    .product-modal-body {
        flex-direction: column;
    }

    .product-modal-left {
        background-color: transparent;
    }

    .modal-product-title {
        font-size: 20px;
    }

    .modal-price-current {
        font-size: 22px;
    }

    .modal-btn-cancel,
    .modal-btn-purchase {
        padding: 12px 20px;
        font-size: 15px;
    }

    .product-modal-info {
        padding: 25px;
        padding-top: 0;
        flex: 1;
        overflow-y: auto;
    }
}


/* 주문 내역 필터 바 */
.order-filter-bar {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px 16px;
    margin-bottom: 35px;
}

.order-filter-form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.order-filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-filter-select {
    padding: 10px 14px;
    border: 1px solid #dde3ef;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    color: #1a1a1a;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.order-filter-select:focus {
    outline: none;
    border-color: #0078FF;
}

.order-period-btn {
    padding: 8px 16px;
    border: 1px solid #dde3ef;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: #495168;
    cursor: pointer;
    transition: all 0.2s;
}

.order-period-btn:hover {
    border-color: #0078FF;
    color: #0078FF;
}

.order-period-btn.active {
    border-color: #0078FF;
    background: #0078FF;
    color: #fff;
}

.order-filter-date {
    padding: 10px 12px;
    border: 1px solid #dde3ef;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    color: #1a1a1a;
    cursor: pointer;
}

.order-filter-date:focus {
    outline: none;
    border-color: #0078FF;
}

.order-filter-separator {
    font-size: 14px;
    color: #666;
    padding: 0 4px;
}

.order-filter-submit {
    padding: 8px 24px;
    border: none;
    border-radius: 6px;
    background: #0078FF;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.order-filter-submit:hover {
    background: #005FCC;
}

@media (max-width: 768px) {
    .order-filter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .order-filter-group {
        width: 100%;
        justify-content: flex-start;
    }

    .order-filter-select,
    .order-filter-date {
        flex: 1;
    }

    .order-filter-submit {
        width: 100%;
    }
}

/* 주문 내역 빈 상태 */
.order-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.order-empty-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.order-empty-text {
    font-size: 16px;
    color: #6a7286;
    font-weight: 500;
    margin: 0;
}

.order-card-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-card {
    border: 1px solid #dde3ef;
    border-radius: 8px;
    padding: 14px 15px;
    background: #fff;
}

.order-card-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.order-card-product {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.order-card-thumb {
    width: 60px;
    height: 60px;
    border: 1px solid #d5def0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f6fb;
    overflow: hidden;
    flex-shrink: 0;
}

.order-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.order-card-thumb-placeholder {
    font-size: 11px;
    font-weight: 600;
    color: #9aa0b1;
}

.order-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-card-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.order-card-date {
    font-size: 13px;
    color: #6d7488;
    white-space: nowrap;
}

.order-card-meta {
    margin-top: 0px;
    font-size: 13px;
    color: #495168;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.order-card-meta strong {
    font-weight: 600;
    color: #3d4047;
    margin-right: 5px;
}

.order-card-meta-value {
    color: #6a7286;
    font-weight: 400;
}

.order-card-status-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.order-card-amount {
    font-size: 17px;
    font-weight: 800;
    color: #0078FF;
}

.order-card-status-group .orderinfo-status {
    font-size: 11px;
    padding: 5px 12px;
}

.order-card-link-area {
    display: block;
    color: inherit;
    text-decoration: none;
}

.order-card-link-area:focus-visible {
    outline: 2px solid #0078FF;
    border-radius: 12px;
    outline-offset: 4px;
}

@media (max-width: 640px) {
    .order-card {
        padding: 12px 14px;
    }

    .order-card-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .order-card-product {
        width: 100%;
    }

    .order-card-thumb {
        width: 56px;
        height: 56px;
    }

    .order-card-title {
        white-space: normal;
    }

    .order-card-status-group {
        width: 100%;
        align-items: flex-start;
    }

    .order-card-amount {
        font-size: 16px;
    }

    .order-card-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0px;
    }

    .order-card-date {
        color: #8b92a6;
    }

    .order-card-meta {
        margin-top: 5px;
    }
}

/* 추천 상품 슬라이드 */
.recommended-products-section {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    min-width: 0;
}

.recommended-products-section .buyflow-card-title {
    width: 100%;
    margin-bottom: 0;
    padding-bottom: 12px;
}

.recommended-products-section > .recommended-products-header {
    width: 100%;
    box-sizing: border-box;
}

.recommended-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.recommended-products-slider {
    position: relative;
    overflow: hidden !important;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
    contain: layout style;
    min-width: 0;
}

.recommended-products-track {
    display: flex;
    gap: 12px;
    transition: transform 0.3s ease;
    will-change: transform;
    width: max-content;
    flex-wrap: nowrap;
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.recommended-product-card {
    flex: 0 0 188px;
    min-width: 188px;
    max-width: 188px;
    width: 188px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    flex-shrink: 0;
}

.recommended-product-card:hover {
    border-color: #0078FF;
}

.recommended-product-image {
    width: 100%;
    height: 140px;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.recommended-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommended-product-placeholder {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 600;
}

.recommended-product-info {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.recommended-product-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 4px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recommended-product-subtitle {
    font-size: 12px;
    color: #6b7280;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recommended-product-price {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.recommended-price-original {
    font-size: 12px;
    color: #9ca3af;
    text-decoration: line-through;
}

.recommended-price-discount {
    font-size: 12px;
    color: #ef4444;
    font-weight: 600;
}

.recommended-price-final {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.recommended-products-nav {
    position: absolute;
    top: 50%;
    margin-right: 10px;
    margin-left: 10px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.recommended-products-nav:hover {
    background: #0078FF;
    color: #fff;
    border-color: #0078FF;
    box-shadow: 0 4px 12px rgba(0, 120, 255, 0.3);
}

.recommended-products-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.recommended-products-nav-prev {
    left: 0;
}

.recommended-products-nav-next {
    right: 0;
}

.recommended-products-nav[aria-label="이전"],
.recommended-products-nav[aria-label="다음"] {
    line-height: 1;
    padding: 0;
}

@media (max-width: 768px) {
    
    .recommended-product-card {
        flex: 0 0 160px;
        min-width: 160px;
        max-width: 160px;
    }
    
    .recommended-product-image {
        height: 120px;
    }
    
    .recommended-products-nav {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }

    .nav-tab-new {
        width: 5px;
        height: 5px;
        top: 13px;
        right: 4px;
    }
}