/* ============================================
   모바일 전용 CSS - 원앤원홈페이지 스타일 적용
============================================ */

/* PC에서 모바일 요소들 숨김 */
@media (min-width: 769px) {
    .mobile-animation-title,
    .mobile-header,
    .mobile-only,
    .mobile-main-content,
    .mobile-sections-container,
    .mobile-section,
    .mobile-main-section {
        display: none !important;
    }
}

/* 모바일에서 PC 요소들 숨기기 */
@media (max-width: 768px) {
    /* PC 전용 요소들 숨기기 */
    .navbar,
    .offcanvas,
    .main-wrapper,
    .intro-section,
    .intro-content,
    .alert,
    .guide-btn,
    .legal-footer {
        display: none !important;
    }
    
    /* PC 검색 결과 영역은 기본적으로 숨김 (모바일 검색 시에만 표시) */
    #result {
        display: none !important;
    }
    
    /* 모바일 전용 요소들 표시 */
    .mobile-only {
        display: block !important;
    }
    
    /* PC 전용 요소들 숨기기 */
    .pc-only {
        display: none !important;
    }
}

/* 1단: 애니메이션 타이틀 - 원앤원홈페이지 스타일 */
.mobile-animation-title {
    color: #ffffff !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    overflow: hidden;
    padding: 8px 15px 4px 15px !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    z-index: 1000 !important;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .mobile-animation-title {
        display: flex !important;
    }
}

/* 애니메이션 메시지 전환 효과 */
.mobile-animation-title .animation-message {
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    opacity: 1;
    transform: translateX(0);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 애니메이션 타이틀 전환 효과 */
.mobile-animation-title {
    transition: transform 0.3s ease;
}

/* 글리터 효과 */
.glitter-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
    background-size: 200% 200%;
    animation: glitter 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes glitter {
    0% {
        background-position: -200% -200%;
    }
    100% {
        background-position: 200% 200%;
    }
}

/* 2단: 모바일 헤더 - 원앤원홈페이지 스타일 */
.mobile-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 60px;
    min-height: 60px;
    margin-top: 0;
    transition: transform 0.3s ease;
}

/* 모바일 헤더 스크롤 시 숨김 효과 */
.mobile-header.scrolled {
    transform: translateY(-100px);
}

@media (max-width: 768px) {
    .mobile-header {
        display: flex !important;
    }
}

.mobile-hamburger {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    border-radius: 0;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6b4a2e;
    font-size: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 10;
    gap: 3px;
}

.mobile-hamburger::before,
.mobile-hamburger::after {
    content: '';
    width: 18px;
    height: 2px;
    background: #999999;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
    transform-origin: center;
}

.mobile-hamburger::before {
    transform: translateY(-4px);
}

.mobile-hamburger::after {
    transform: translateY(4px);
}

.mobile-hamburger .hamburger-line {
    width: 18px;
    height: 2px;
    background: #999999;
    border-radius: 1px;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* 사이드바 열릴 때 X자 변환 */
body.sidebar-open .mobile-header .mobile-hamburger::before {
    transform: translateY(0) rotate(45deg) !important;
}

body.sidebar-open .mobile-header .mobile-hamburger::after {
    transform: translateY(0) rotate(-45deg) !important;
}

body.sidebar-open .mobile-header .mobile-hamburger .hamburger-line {
    opacity: 0 !important;
    transform: scale(0) !important;
}

.mobile-hamburger:hover {
    background: none;
    transform: scale(1.05);
}

.mobile-hamburger:hover::before,
.mobile-hamburger:hover::after,
.mobile-hamburger:hover .hamburger-line {
    background: #666666;
}

.mobile-header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 5;
}

.mobile-header-content i {
    position: absolute;
    left: calc(50% - 80px);
    z-index: 10;
    font-size: 1.2rem;
}

.mobile-header h1 {
    font-size: 1.3rem;
    font-weight: bold;
    color: #6b4a2e;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.mobile-header h1 i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* 모바일 컨테이너 */
.mobile-container {
    margin-top: 100px; /* 애니메이션 타이틀 + 헤더 높이 */
    padding: 15px;
    min-height: calc(100vh - 100px);
    background: #f8f9fa;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .mobile-container {
        display: block !important;
    }
}

/* 모바일 검색 폼 */
.mobile-search-form {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-search-form .form-group {
    margin-bottom: 15px;
}

.mobile-search-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.mobile-search-form select,
.mobile-search-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.mobile-search-form button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #FF6F0F 0%, #FF8A3D 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.mobile-search-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 111, 15, 0.3);
}

/* 모바일 검색 결과 */
.mobile-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.mobile-product-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.mobile-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.mobile-product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.mobile-product-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.mobile-product-price {
    font-size: 18px;
    font-weight: bold;
    color: #FF6F0F;
    margin-bottom: 8px;
}

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

.mobile-product-time {
    font-size: 12px;
    color: #999;
}

/* 모바일 통계 카드 */
.mobile-stat-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.mobile-stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #FF6F0F;
    margin-bottom: 5px;
}

.mobile-stat-label {
    font-size: 14px;
    color: #666;
}

/* 모바일 진행률 표시 */
.mobile-progress-container {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.mobile-progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #FF6F0F 0%, #FF8A3D 100%);
    transition: width 0.3s ease;
}

.mobile-progress-text {
    font-size: 14px;
    color: #666;
    text-align: center;
}

/* 모바일 알림 */
.mobile-alert {
    position: fixed;
    top: 110px;
    left: 15px;
    right: 15px;
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mobile-alert.alert-info {
    border-left: 4px solid #0dcaf0;
}

.mobile-alert.alert-danger {
    border-left: 4px solid #dc3545;
}

.mobile-alert.alert-success {
    border-left: 4px solid #198754;
}

.mobile-alert.alert-warning {
    border-left: 4px solid #ffc107;
}

/* 모바일 로딩 */
.mobile-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.mobile-loading-content {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
}

.mobile-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #FF6F0F;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

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

.mobile-loading-text {
    font-size: 16px;
    color: #333;
    margin: 0;
}

/* 모바일 터치 최적화 */
.mobile-container * {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* 터치 반응성 향상 */
    touch-action: manipulation;
    -webkit-touch-callout: none;
}

.mobile-container input,
.mobile-container textarea,
.mobile-container select {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
    /* 입력 필드 터치 최적화 */
    touch-action: manipulation;
    font-size: 16px; /* iOS 줌 방지 */
}

/* 모바일 버튼 터치 최적화 */
.mobile-container button,
.mobile-container .btn {
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.2s ease;
}

.mobile-container button:active,
.mobile-container .btn:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* 모바일 스크롤 최적화 */
.mobile-container {
    -webkit-overflow-scrolling: touch;
}

/* 모바일 푸터 */
.mobile-footer {
    background: #f8f9fa;
    border-top: 1px solid #e2e8f0;
    margin-top: 30px;
    padding: 20px 15px;
    position: relative;
    z-index: 1;
}

.mobile-footer-content {
    max-width: 100%;
}

.mobile-footer-title {
    font-size: 16px;
    font-weight: bold;
    color: #6b4a2e;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-footer-section {
    margin-bottom: 20px;
}

.mobile-footer-subtitle {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mobile-footer-text {
    font-size: 12px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 10px;
}

.mobile-footer-list {
    margin: 0;
}

.mobile-footer-item {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.4;
    color: #666;
}

.mobile-footer-item strong {
    color: #333;
    font-weight: 600;
}

/* ============================================
   모바일 사이드바 스타일 (개편)
============================================ */

/* PC에서 모바일 사이드바 완전 숨김 */
@media (min-width: 769px) {
    .mobile-sidebar,
    .mobile-sidebar *,
    .mobile-sidebar-overlay {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

@media (max-width: 768px) {
    /* 사이드바 오버레이 */
    .mobile-sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* 사이드바 컨테이너 */
    .mobile-sidebar {
        position: fixed;
        top: 0;
        left: -320px; /* 숨겨진 상태 */
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background: #ffffff;
        z-index: 9001;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: 4px 0 16px rgba(0,0,0,0.1);
        scrollbar-width: none;
        -ms-overflow-style: none;
        display: flex;
        flex-direction: column;
    }
    
    .mobile-sidebar.active {
        left: 0; /* 열린 상태 */
    }
    
    .mobile-sidebar::-webkit-scrollbar {
        display: none;
    }
    
    /* ============================================
       사이드바 헤더 (세련된 디자인)
    ============================================ */
    .mobile-sidebar-header {
        background: #ffffff;
        border-bottom: 1px solid #f1f3f4;
        padding: 0;
        flex-shrink: 0;
    }
    
    /* 헤더 상단 (타이틀 + 닫기 버튼) */
    .mobile-sidebar-header-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 24px;
        border-bottom: 1px solid #f1f3f4;
    }
    
    .mobile-sidebar-title {
        font-size: 18px;
        font-weight: 700;
        color: #1a1a1a;
        margin: 0;
        letter-spacing: -0.02em;
    }
    
    .close-sidebar {
        width: 32px;
        height: 32px;
        border: none;
        background: rgba(0, 0, 0, 0.05);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #64748b;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .close-sidebar:hover {
        background: rgba(0, 0, 0, 0.1);
        color: #1e293b;
    }
    
    /* ============================================
       헤더 사용자 정보
    ============================================ */
    .header-user-info {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1;
    }
    
    .user-name {
        font-size: 20px;
        font-weight: 800;
        color: #1a1a1a;
        letter-spacing: -0.02em;
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }
    
    .user-name i {
        color: #FF6F0F;
        font-size: 22px;
    }
    
    .user-plan {
        font-size: 10px;
        color: #FF6F0F;
        background: rgba(255, 111, 15, 0.06);
        padding: 3px 8px;
        border-radius: 12px;
        font-weight: 600;
        border: 1px solid rgba(255, 111, 15, 0.12);
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    /* ============================================
       잔여 정보 영역
    ============================================ */
    .mobile-remaining-info {
        padding: 20px 24px;
        background: #ffffff;
        border-bottom: 1px solid #f1f3f4;
    }
    
    .remaining-info-item {
        margin-bottom: 20px;
        padding: 16px;
        background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
        border-radius: 12px;
        border: 1px solid #f1f3f4;
    }
    
    .remaining-label {
        display: block;
        font-size: 12px;
        color: #8e8e93;
        font-weight: 600;
        margin-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .remaining-value {
        display: block;
        font-size: 16px;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 4px;
    }
    
    .remaining-days {
        font-size: 13px;
        color: #FF6F0F;
        font-weight: 600;
    }
    
    /* 잔여 횟수들 */
    .remaining-counts {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .remaining-count-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
        border-radius: 12px;
        border: 1px solid #f1f3f4;
    }
    
    .count-label {
        font-size: 13px;
        color: #1a1a1a;
        font-weight: 600;
    }
    
    .count-value {
        font-size: 14px;
        font-weight: 700;
        color: #FF6F0F;
        background: rgba(255, 111, 15, 0.08);
        padding: 4px 10px;
        border-radius: 8px;
        border: 1px solid rgba(255, 111, 15, 0.15);
    }
    
    /* ============================================
       사이드바 본문 (PC와 동일한 구조)
    ============================================ */
    .mobile-sidebar-body {
        flex: 1;
        padding: 20px;
        overflow-y: auto;
    }
    
    /* 검색 옵션 */
    .mobile-search-options {
        margin-bottom: 20px;
    }
    
    /* ============================================
       아코디언 스타일 (PC와 완전 동일)
    ============================================ */
    .mobile-accordion-item {
        border: 1px solid #e2e8f0;
        margin-bottom: 12px;
        border-radius: 8px !important;
        overflow: hidden;
    }
    
    .mobile-accordion-header {
        width: 100%;
        padding: 12px 16px;
        background: #ffffff;
        border: none;
        text-align: left;
        font-size: 0.95rem;
        font-weight: 600;
        color: #1a1a1a;
        cursor: pointer;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        position: relative;
    }
    
    .mobile-accordion-header:not(.collapsed) {
        background: #FF6F0F;
        color: white;
        box-shadow: none;
    }
    
    .mobile-accordion-header:focus {
        box-shadow: none;
        border-color: #FF6F0F;
    }
    
    /* 아코디언 화살표 아이콘 (PC와 동일) */
    .mobile-accordion-header::after {
        content: '';
        flex-shrink: 0;
        width: 16px;
        height: 16px;
        margin-left: auto;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-size: 16px;
        transition: transform 0.2s ease-in-out;
    }
    
    .mobile-accordion-header:not(.collapsed)::after {
        transform: rotate(-180deg);
        filter: brightness(0) invert(1);
    }
    
    .mobile-accordion-header.collapsed::after {
        filter: none;
    }
    
    .mobile-accordion-collapse {
        border-top: 1px solid #e2e8f0;
    }
    
    .mobile-accordion-body {
        padding: 16px;
        background: #ffffff;
    }
    
    /* ============================================
       검색 범위 라디오 버튼 (PC와 완전 동일)
    ============================================ */
    .mobile-search-scope-radios {
        padding: 0;
        background: none;
        margin-bottom: 16px;
    }
    
    .mobile-search-scope-radios .form-check {
        margin-bottom: 10px;
        padding-left: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .mobile-search-scope-radios .form-check-label {
        font-size: 0.95rem;
        cursor: pointer;
        user-select: none;
        width: 100%;
        padding-left: 0;
        color: #1a1a1a;
        margin-bottom: 0;
    }
    
    .mobile-search-scope-radios .form-check-input {
        cursor: pointer;
        width: 18px;
        height: 18px;
        margin-top: 0;
        margin-left: 0;
        flex-shrink: 0;
        position: static;
        float: none;
    }
    
    .mobile-search-scope-radios .form-check-input:checked {
        background-color: #FF6F0F;
        border-color: #FF6F0F;
    }
    
    .mobile-search-scope-radios .form-check-input:checked + .form-check-label {
        color: #FF6F0F;
        font-weight: 700;
    }
    
    /* ============================================
       지역 선택 (PC와 완전 동일)
    ============================================ */
    .region-select-group {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: all 0.3s ease-out;
    }
    
    .region-select-group.visible {
        max-height: 200px;
        opacity: 1;
    }
    
    #mobileRegionSelects {
        border-top: 1px solid #f1f3f4;
        padding-top: 12px;
    }
    
    #mobileRegionSelects .form-label {
        font-weight: 600;
        color: #1a1a1a;
        margin-bottom: 8px;
        font-size: 0.9rem;
    }
    
    #mobileRegionSelects .form-select {
        border: 2px solid #e2e8f0;
        border-radius: 6px;
        padding: 10px 14px;
        transition: all 0.2s ease;
    }
    
    #mobileRegionSelects .form-select:focus {
        border-color: #FF6F0F;
        box-shadow: 0 0 0 3px rgba(255, 111, 15, 0.1);
    }
    
    /* ============================================
       키워드 입력 (PC와 완전 동일)
    ============================================ */
    .mobile-accordion-body .form-label {
        font-weight: 600;
        color: #1a1a1a;
        margin-bottom: 8px;
        font-size: 0.9rem;
    }
    
    .mobile-accordion-body .form-control {
        border: 2px solid #e2e8f0;
        border-radius: 6px;
        padding: 10px 14px;
        transition: all 0.2s ease;
    }
    
    .mobile-accordion-body .form-control:focus {
        border-color: #FF6F0F;
        box-shadow: 0 0 0 3px rgba(255, 111, 15, 0.1);
    }
    
    .mobile-accordion-body .form-text {
        font-size: 0.85rem;
        color: #6b7280;
        margin-top: 4px;
    }
    
    /* 가격 범위 */
    .mobile-accordion-body .row.g-2 .form-control {
        font-size: 0.9rem;
    }
    
    /* ============================================
       알림 및 버튼
    ============================================ */
    .mobile-alert {
        padding: 16px 20px;
        border-radius: 16px;
        border: 1px solid;
        font-size: 14px;
        font-weight: 500;
    }
    
    .mobile-alert-info {
        background: rgba(255, 111, 15, 0.08);
        border-color: rgba(255, 111, 15, 0.2);
        color: #FF6F0F;
    }
    
    .btn-gradient {
        background: linear-gradient(135deg, #FF6F0F 0%, #FF8A3D 100%);
        border: none;
        border-radius: 16px;
        font-weight: 700;
        font-size: 15px;
        transition: all 0.2s ease;
        color: #ffffff;
    }
    
    .btn-gradient:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255, 111, 15, 0.3);
        color: #ffffff;
    }
    
    /* ============================================
       메뉴 (심플하고 고급스러운)
    ============================================ */
    .mobile-nav {
        margin-top: 24px;
    }
    
    .mobile-nav-header {
        font-size: 12px;
        font-weight: 700;
        color: #8e8e93;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        margin-bottom: 16px;
    }
    
    .mobile-nav-link {
        display: flex;
        align-items: center;
        padding: 16px 20px;
        color: #1a1a1a;
        text-decoration: none;
        border-radius: 16px;
        font-size: 15px;
        font-weight: 600;
        transition: all 0.2s ease;
        margin-bottom: 8px;
        background: #ffffff;
        border: 1px solid #f1f3f4;
    }
    
    .mobile-nav-link:hover {
        background: rgba(255, 111, 15, 0.04);
        color: #FF6F0F;
        transform: translateX(4px);
        border-color: rgba(255, 111, 15, 0.2);
    }
    
    .mobile-nav-link i {
        width: 20px;
        text-align: center;
        margin-right: 12px;
    }
    
    /* ============================================
       사이드바 푸터 (로그아웃 버튼)
    ============================================ */
    .mobile-sidebar-footer {
        padding: 20px 24px;
        border-top: 1px solid #f1f3f4;
        background: #ffffff;
        margin-top: auto;
    }
    
    .mobile-logout-btn {
        width: 100%;
        padding: 16px 20px;
        border: none;
        background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        color: #ffffff;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .mobile-logout-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
        color: #ffffff;
    }
    
    /* 사이드바 열릴 때 body 고정 */
    body.sidebar-open {
        overflow: hidden;
    }
}

/* 모바일 폰트 크기 조정 */
@media (max-width: 480px) {
    .mobile-animation-title {
        height: 50px;
    }
    
    .animation-message {
        font-size: 14px;
    }
    
    .mobile-header {
        top: 50px;
        height: 45px;
    }
    
    .mobile-container {
        margin-top: 95px;
        min-height: calc(100vh - 95px);
    }
    
    .mobile-product-card {
        padding: 12px;
    }
    
    .mobile-product-image {
        height: 150px;
    }
    
    .mobile-product-title {
        font-size: 14px;
    }
    
    .mobile-product-price {
        font-size: 16px;
    }
    
    .mobile-legal-footer {
        padding: 15px 10px;
    }
    
    .mobile-legal-title {
        font-size: 14px;
    }
    
    .mobile-legal-subtitle {
        font-size: 13px;
    }
    
    .mobile-legal-list li {
        font-size: 11px;
    }
    
    .mobile-alert {
        padding: 10px;
    }
    
    .mobile-alert h6 {
        font-size: 12px;
    }
    
    .mobile-alert p {
        font-size: 10px;
    }
}

/* ============================================
   모바일 전용 메인섹션 스타일
============================================ */

/* 모바일에서만 표시 */
@media (max-width: 768px) {
    .mobile-main-section {
        display: block;
        padding: 20px;
        background: #ffffff;
    }
    
    /* 브랜드 헤더 */
    .mobile-brand-header {
        text-align: center;
        margin-bottom: 50px;
        padding: 30px 20px;
        background: #ffffff;
        border-radius: 16px;
        border: 1px solid #e2e8f0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }
    
    /* 모바일 인트로 섹션 */
    .mobile-intro-section {
        text-align: center;
        padding: 32px 20px;
        background: #ffffff;
        border-radius: 12px;
        margin-bottom: 50px;
        border: 1px solid #e2e8f0;
    }
    
    .intro-title {
        font-size: 22px;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 12px;
        letter-spacing: -0.01em;
    }
    
    .intro-subtitle {
        font-size: 15px;
        color: #64748b;
        margin-bottom: 16px;
        line-height: 1.5;
    }
    
    .intro-stats {
        margin-bottom: 16px;
    }
    
    .stat-item {
        font-size: 13px;
        color: #FF6F0F;
        font-weight: 600;
    }
    
    .intro-description {
        font-size: 14px;
        color: #64748b;
        margin-bottom: 24px;
        line-height: 1.5;
    }
    
    .intro-search-btn {
        background: linear-gradient(135deg, #FF6F0F 0%, #FF8A3D 100%);
        color: #ffffff;
        border: none;
        padding: 12px 24px;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(255, 111, 15, 0.3);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .intro-search-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(255, 111, 15, 0.4);
        background: linear-gradient(135deg, #FF8A3D 0%, #FF6F0F 100%);
    }
    
    .brand-super-title {
        font-size: 14px;
        color: #7b6c62;
        font-weight: 600;
        margin-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .brand-icon {
        font-size: 24px;
        font-weight: 800;
        color: #FF6F0F;
        margin-bottom: 8px;
        letter-spacing: -0.02em;
    }
    
    .brand-title {
        font-size: 28px;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 8px;
        letter-spacing: -0.03em;
    }
    
    .brand-subtitle {
        font-size: 16px;
        color: #64748b;
        font-weight: 500;
        margin: 0;
    }
    
    /* 원앤원 강조 스타일 */
    .brand-emphasis {
        color: #FF6F0F;
        font-weight: 800;
        position: relative;
    }
    
    .brand-emphasis:after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        right: 0;
        height: 2px;
        background: #FF6F0F;
        border-radius: 1px;
        opacity: 0.3;
    }
    
    /* 섹션 공통 스타일 */
    .section-title {
        font-size: 24px;
        font-weight: 700;
        color: #1a1a1a;
        text-align: center;
        margin-bottom: 8px;
        letter-spacing: -0.03em;
    }
    
    .section-subtitle {
        font-size: 16px;
        color: #64748b;
        text-align: center;
        margin-bottom: 32px;
        font-weight: 500;
    }
    
    /* 섹션 2: 검색기란? 왜 특별한가? */
    .mobile-search-info {
        margin-bottom: 60px;
    }
    
    .info-cards {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .info-card {
        background: #ffffff;
        border-radius: 16px;
        padding: 24px;
        border: 1px solid #e2e8f0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        opacity: 0;
        transform: translateX(30px);
    }
    
    .info-card.active {
        opacity: 1;
        transform: translateX(0);
        position: relative;
    }
    
    .info-card.prev {
        opacity: 0;
        transform: translateX(-30px);
    }
    
    .info-card.next {
        opacity: 0;
        transform: translateX(30px);
    }
    
    /* 카드 컨테이너 */
    .info-cards {
        position: relative;
        min-height: 300px;
        overflow: hidden;
    }
    
    /* 카드 전환 애니메이션 */
    .info-card {
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .info-card.active {
        opacity: 1;
        transform: translateX(0) translateY(0);
        z-index: 2;
    }
    
    .info-card.prev {
        opacity: 0;
        transform: translateX(-30px);
        z-index: 1;
    }
    
    .info-card.next {
        opacity: 0;
        transform: translateX(30px);
        z-index: 0;
    }
    
    .card-icon {
        font-size: 18px;
        font-weight: 700;
        color: #FF6F0F;
        margin-bottom: 12px;
        padding: 8px 12px;
        background: rgba(255, 111, 15, 0.08);
        border-radius: 8px;
        display: inline-block;
        border: 1px solid rgba(255, 111, 15, 0.15);
    }
    
    .info-card h3 {
        font-size: 20px;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 8px;
        letter-spacing: -0.02em;
    }
    
    .card-subtitle {
        font-size: 16px;
        color: #FF6F0F;
        font-weight: 600;
        margin-bottom: 16px;
    }
    
    .card-features {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .card-features li {
        font-size: 14px;
        color: #475569;
        margin-bottom: 8px;
        padding-left: 16px;
        position: relative;
        line-height: 1.5;
    }
    
    .card-features li:before {
        content: '•';
        color: #FF6F0F;
        font-weight: 700;
        position: absolute;
        left: 0;
    }
    
    /* 섹션 3: 손쉬운 사용법과 내보내기 */
    .mobile-usage-export {
        margin-bottom: 50px;
    }
    
    /* 사용법 가이드 - 가로 한 줄씩 레이아웃 */
    .usage-guide {
        margin-bottom: 32px;
        padding: 24px;
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border-radius: 16px;
        border: 1px solid #e2e8f0;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    }
    
    /* 각 단계 행 */
    .guide-step-row {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 24px;
        padding: 20px;
        background: #ffffff;
        border-radius: 12px;
        border: 1px solid #e2e8f0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        transition: all 0.2s ease;
    }
    
    .guide-step-row:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        border-color: rgba(255, 111, 15, 0.2);
    }
    
    .guide-step-row:last-child {
        margin-bottom: 0;
    }
    
    /* 단계 번호 배지 */
    .step-number-badge {
        width: 36px;
        height: 36px;
        background: linear-gradient(135deg, #FF6F0F 0%, #FF8A3D 100%);
        color: #ffffff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        font-weight: 700;
        flex-shrink: 0;
        box-shadow: 0 4px 12px rgba(255, 111, 15, 0.3);
    }
    
    /* 단계 내용 컨테이너 - 위아래 2칸 분리 */
    .step-content {
        display: flex;
        flex-direction: column;
        gap: 16px;
        flex: 1;
    }
    
    /* 위쪽: 숫자 + 소제목 */
    .step-header {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        padding: 12px 0;
    }
    
    /* 숫자 배지 - z-index로 위에 배치 */
    .step-number-badge {
        position: absolute;
        z-index: 10;
    }
    
    /* 1단계: 왼쪽 상단 */
    .guide-step-row:nth-child(1) .step-number-badge {
        top: -8px;
        left: -8px;
    }
    
    /* 2단계: 오른쪽 상단 */
    .guide-step-row:nth-child(2) .step-number-badge {
        top: -8px;
        right: -8px;
        left: auto;
    }
    
    /* 3단계: 왼쪽 상단 */
    .guide-step-row:nth-child(3) .step-number-badge {
        top: -8px;
        left: -8px;
    }
    
    /* 소제목 - 가운데 정렬 */
    .step-info {
        flex: 1;
        text-align: center;
    }
    
    .step-info h4 {
        font-size: 18px;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 8px;
        letter-spacing: -0.02em;
    }
    
    .step-info > p {
        font-size: 14px;
        color: #64748b;
        margin: 0;
        line-height: 1.5;
    }
    
    /* 아래쪽: 세부 내용 */
    .step-content-area {
        padding-top: 12px;
        border-top: 2px solid #f1f3f4;
    }
    
    /* 단계 세부사항 리스트 */
    .step-details {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .step-details li {
        font-size: 13px;
        color: #475569;
        margin-bottom: 6px;
        padding-left: 16px;
        position: relative;
        line-height: 1.4;
    }
    
    .step-details li:before {
        content: '•';
        color: #FF6F0F;
        font-weight: 700;
        position: absolute;
        left: 0;
    }
    
    .step-details li:last-child {
        margin-bottom: 0;
    }
    
    /* 추가 서비스 */
    .additional-services {
        padding: 24px;
        background: #ffffff;
        border-radius: 16px;
        border: 1px solid #e2e8f0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }
    
    .additional-services h3 {
        font-size: 20px;
        font-weight: 700;
        color: #1a1a1a;
        text-align: center;
        margin-bottom: 8px;
        letter-spacing: -0.02em;
    }
    
    .services-subtitle {
        font-size: 14px;
        color: #64748b;
        text-align: center;
        margin-bottom: 24px;
    }
    
    .services-cards {
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin-bottom: 24px;
    }
    
    .service-card {
        background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
        border-radius: 12px;
        padding: 20px;
        border: 1px solid #e2e8f0;
        text-align: center;
        transition: all 0.2s ease;
        position: relative;
        overflow: hidden;
    }
    
    .service-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        border-color: rgba(255, 111, 15, 0.2);
    }
    
    .service-card:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #FF6F0F 0%, #FF8A3D 100%);
        opacity: 0;
        transition: opacity 0.2s ease;
    }
    
    .service-card:hover:before {
        opacity: 1;
    }
    
    .service-icon {
        font-size: 28px;
        margin-bottom: 12px;
        display: block;
    }
    
    .service-card h4 {
        font-size: 16px;
        font-weight: 600;
        color: #1a1a1a;
        margin-bottom: 8px;
    }
    
    .service-card p {
        font-size: 14px;
        color: #64748b;
        line-height: 1.4;
        margin-bottom: 16px;
    }
    
    /* 서비스 특징 리스트 */
    .service-features {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .service-features li {
        font-size: 13px;
        color: #475569;
        margin-bottom: 8px;
        padding-left: 16px;
        position: relative;
        line-height: 1.4;
    }
    
    .service-features li:before {
        content: '✓';
        color: #FF6F0F;
        font-weight: 700;
        position: absolute;
        left: 0;
    }
    
    .service-features li:last-child {
        margin-bottom: 0;
    }
    
    /* 홈페이지 서비스 특별 스타일 */
    .homepage-service {
        border-left: 4px solid #3b82f6;
    }
    
    .homepage-service .service-icon {
        color: #3b82f6;
    }
    
    /* 자동화 서비스 특별 스타일 */
    .automation-service {
        border-left: 4px solid #10b981;
    }
    
    .automation-service .service-icon {
        color: #10b981;
    }
    
    .contact-info {
        background: linear-gradient(135deg, #FF6F0F 0%, #FF8A3D 100%);
        color: #ffffff;
        border-radius: 12px;
        padding: 24px;
        text-align: center;
        margin-top: 24px;
    }
    
    .contact-info h4 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 8px;
        letter-spacing: -0.02em;
    }
    
    .contact-info p {
        font-size: 14px;
        margin-bottom: 16px;
        opacity: 0.9;
        line-height: 1.4;
    }
    
    .contact-btn {
        background: #ffffff;
        color: #FF6F0F;
        border: none;
        padding: 12px 24px;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
    }
    
    .contact-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
    }

    /* 모바일 검색 진행 화면 */
    .mobile-search-progress {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff;
        z-index: 100;
        overflow-y: auto;
        padding: 0;
        margin: 0;
    }

    /* 검색 진행 헤더 */
    .search-progress-header {
        position: sticky;
        top: 0;
        background: #ffffff;
        border-bottom: 1px solid #e2e8f0;
        padding: 16px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        z-index: 10;
    }

    .progress-title {
        font-size: 18px;
        font-weight: 600;
        color: #1f2937;
        margin: 0;
    }

    .btn-cancel-search {
        background: none;
        border: none;
        font-size: 20px;
        color: #6b7280;
        padding: 8px;
        border-radius: 6px;
        transition: all 0.2s ease;
    }

    .btn-cancel-search:hover {
        background: #f3f4f6;
        color: #374151;
    }

    /* 검색 진행 콘텐츠 */
    .search-progress-content {
        padding: 40px 20px;
        text-align: center;
    }

    .progress-info {
        margin-bottom: 30px;
    }

    .progress-text {
        font-size: 16px;
        color: #6b7280;
        margin-bottom: 8px;
    }

    .progress-percentage {
        font-size: 32px;
        font-weight: 700;
        color: #FF6F0F;
    }

    /* 진행률 바 */
    .progress-bar-container {
        margin-bottom: 40px;
    }

    .progress-bar {
        width: 100%;
        height: 8px;
        background: #e5e7eb;
        border-radius: 4px;
        overflow: hidden;
    }

    .progress-bar-fill {
        height: 100%;
        background: linear-gradient(90deg, #FF6F0F 0%, #FF8C42 100%);
        border-radius: 4px;
        transition: width 0.3s ease;
    }

    /* 검색 통계 */
    .search-stats {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .search-stats .stat-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-size: 14px;
        color: #6b7280;
    }

    .search-stats .stat-item i {
        color: #FF6F0F;
    }

    /* 전국검색용 추가 정보 */
    .nationwide-info {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #e5e7eb;
    }

    .nationwide-stats {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .nationwide-stats .stat-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-size: 14px;
        color: #6b7280;
        background: #f9fafb;
        padding: 8px 12px;
        border-radius: 6px;
    }

    .nationwide-stats .stat-item i {
        color: #FF6F0F;
        font-size: 16px;
    }

    /* 모바일 검색 결과 영역 (기존 자리에 표시) */
    .mobile-search-result {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff;
        z-index: 100;
        overflow-y: auto;
        padding: 0;
        margin: 0;
    }

    /* 검색 결과 헤더 */
    .mobile-result-header {
        position: sticky;
        top: 0;
        background: #ffffff;
        border-bottom: 1px solid #e2e8f0;
        padding: 16px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        z-index: 10;
    }

    .result-header-content {
        flex: 1;
    }

    .result-title {
        font-size: 18px;
        font-weight: 600;
        color: #1f2937;
        margin: 0 0 4px 0;
    }

    .result-stats {
        font-size: 14px;
        color: #6b7280;
    }

    .result-count {
        font-weight: 500;
        color: #FF6F0F;
    }

    .btn-close-result, .btn-back-to-main {
        background: none;
        border: none;
        font-size: 16px;
        color: #6b7280;
        padding: 8px 12px;
        border-radius: 6px;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .btn-close-result:hover, .btn-back-to-main:hover {
        background: #f3f4f6;
        color: #374151;
    }

    .btn-back-to-main {
        font-size: 14px;
    }

    /* 검색 결과 옵션 */
    .mobile-result-options {
        padding: 16px 20px;
        border-bottom: 1px solid #e2e8f0;
        background: #f9fafb;
    }

    .result-filters {
        display: flex;
        gap: 12px;
    }

    .result-filters .btn {
        font-size: 14px;
        padding: 8px 16px;
        border-radius: 8px;
    }

    /* 검색 결과 컨테이너 */
    .mobile-result-container {
        padding: 20px;
        min-height: calc(100vh - 200px);
    }

    .mobile-result-list {
        display: grid;
        gap: 16px;
        /* 기본: 모바일 1열 */
        grid-template-columns: 1fr;
    }

    /* 태블릿: 2열 */
    @media (min-width: 576px) {
        .mobile-result-list {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    /* 태블릿 큰 화면: 3열 */
    @media (min-width: 768px) {
        .mobile-result-list {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    /* 데스크톱: 4열 */
    @media (min-width: 992px) {
        .mobile-result-list {
            grid-template-columns: repeat(4, 1fr);
        }
    }

    /* 모바일 상품 카드 (PC 버전과 동일한 스타일) */
    .mobile-product-card {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        overflow: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .mobile-product-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .mobile-product-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
        background: #f3f4f6;
    }

    .mobile-product-info {
        padding: 16px;
    }

    .mobile-product-title {
        font-size: 16px;
        font-weight: 600;
        color: #1f2937;
        margin: 0 0 8px 0;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .mobile-product-region {
        font-size: 14px;
        color: #6b7280;
        margin: 0 0 8px 0;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .mobile-product-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #f3f4f6;
    }

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

    .mobile-product-time {
        font-size: 12px;
        color: #9ca3af;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    /* 검색 결과 페이지네이션 */
    .mobile-pagination {
        padding: 20px;
        text-align: center;
        border-top: 1px solid #e2e8f0;
        background: #f9fafb;
    }

    .mobile-pagination .btn {
        margin: 0 4px;
        font-size: 14px;
        padding: 8px 12px;
    }

    /* 검색 결과 로딩 상태 */
    .mobile-result-loading {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 60px 20px;
        text-align: center;
    }

    .mobile-result-loading .spinner-border {
        width: 40px;
        height: 40px;
        margin-bottom: 16px;
        color: #FF6F0F;
    }

    .mobile-result-loading-text {
        font-size: 16px;
        color: #6b7280;
        margin-bottom: 8px;
    }

    .mobile-result-loading-subtext {
        font-size: 14px;
        color: #9ca3af;
    }

    /* 검색 결과 없음 */
    .mobile-result-empty {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 60px 20px;
        text-align: center;
    }

    .mobile-result-empty-icon {
        font-size: 48px;
        color: #d1d5db;
        margin-bottom: 16px;
    }

    .mobile-result-empty-text {
        font-size: 18px;
        color: #6b7280;
        margin-bottom: 8px;
        font-weight: 500;
    }

    .mobile-result-empty-subtext {
        font-size: 14px;
        color: #9ca3af;
        margin-bottom: 20px;
    }

    /* 검색 결과 에러 */
    .mobile-result-error {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 60px 20px;
        text-align: center;
    }

    .mobile-result-error-icon {
        font-size: 48px;
        color: #ef4444;
        margin-bottom: 16px;
    }

    .mobile-result-error-text {
        font-size: 18px;
        color: #6b7280;
        margin-bottom: 8px;
        font-weight: 500;
    }

    .mobile-result-error-subtext {
        font-size: 14px;
        color: #9ca3af;
        margin-bottom: 20px;
    }
}

/* 모바일에서 PC 검색 결과 영역 표시 */
@media (max-width: 991.98px) {
    #result {
        display: none;
    }
    
    #result.mobile-active {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        z-index: 1000;
        overflow-y: auto;
        padding: 80px 15px 20px 15px;
    }
    
    #result.mobile-active .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    #result.mobile-active .product-card {
        font-size: 14px;
        padding: 12px;
    }
    
    #result.mobile-active .product-image {
        height: 120px;
        margin-bottom: 8px;
    }
    
    #result.mobile-active .product-title {
        font-size: 13px;
        line-height: 1.3;
        margin-bottom: 6px;
    }
    
    #result.mobile-active .product-price {
        font-size: 14px;
        font-weight: 600;
    }
    
    #result.mobile-active .product-location {
        font-size: 12px;
        margin-top: 4px;
    }
}

/* 모바일 컨테이너에서 PC 검색 결과 표시 */
.mobile-container.mobile-search-active {
    /* PC 검색 결과가 모바일 컨테이너에 표시될 때의 스타일 */
}

.mobile-container.mobile-search-active .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 15px;
}

.mobile-container.mobile-search-active .product-card {
    font-size: 14px;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mobile-container.mobile-search-active .product-image {
    height: 120px;
    margin-bottom: 8px;
    border-radius: 6px;
}

.mobile-container.mobile-search-active .product-title {
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 6px;
    font-weight: 600;
}

.mobile-container.mobile-search-active .product-price {
    font-size: 14px;
    font-weight: 600;
    color: #FF6F0F;
}

.mobile-container.mobile-search-active .product-location {
    font-size: 12px;
    margin-top: 4px;
    color: #666;
}

/* 모바일 검색 결과 헤더 */
.mobile-search-results .search-progress-header {
    text-align: center;
    padding: 50px 20px;
}

.mobile-search-results .search-progress-header h4 {
    color: #333;
    margin-bottom: 10px;
}

.mobile-search-results .search-progress-header p {
    color: #666;
    margin-bottom: 20px;
}

/* ============================================
   모바일 페이지네이션 처음/끝 버튼 - 독립 스타일
   작성일: 2025-10-10
   ⚠️ 주의: 고유 클래스로 완전 독립
============================================ */

/* 처음 버튼 - 기본 스타일 */
.pagination-btn.pagination-first-mobile {
    background: linear-gradient(135deg, #FF6F0F 0%, #FF8A3D 100%) !important;
    color: white !important;
    font-weight: 600 !important;
    border: 1px solid #FF6F0F !important;
    transition: all 0.3s ease !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
}

/* 끝 버튼 - 기본 스타일 */
.pagination-btn.pagination-last-mobile {
    background: linear-gradient(135deg, #FF6F0F 0%, #FF8A3D 100%) !important;
    color: white !important;
    font-weight: 600 !important;
    border: 1px solid #FF6F0F !important;
    transition: all 0.3s ease !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
}

/* 처음 버튼 - 호버 효과 */
.pagination-btn.pagination-first-mobile:not(:disabled):hover {
    background: linear-gradient(135deg, #FF8A3D 0%, #FFA06D 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 111, 15, 0.4) !important;
    border-color: #FF8A3D !important;
}

/* 끝 버튼 - 호버 효과 */
.pagination-btn.pagination-last-mobile:not(:disabled):hover {
    background: linear-gradient(135deg, #FF8A3D 0%, #FFA06D 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 111, 15, 0.4) !important;
    border-color: #FF8A3D !important;
}

/* 처음 버튼 - 비활성화 */
.pagination-btn.pagination-first-mobile:disabled,
.pagination-btn.pagination-first-mobile.disabled {
    background: #e9ecef !important;
    color: #6c757d !important;
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    border-color: #dee2e6 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* 끝 버튼 - 비활성화 */
.pagination-btn.pagination-last-mobile:disabled,
.pagination-btn.pagination-last-mobile.disabled {
    background: #e9ecef !important;
    color: #6c757d !important;
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    border-color: #dee2e6 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* 아이콘 간격 */
.pagination-btn.pagination-first-mobile i {
    margin-right: 4px !important;
    font-size: 0.9rem !important;
}

.pagination-btn.pagination-last-mobile i {
    margin-left: 4px !important;
    font-size: 0.9rem !important;
}

/* 모바일 작은 화면 (400px 이하) */
@media (max-width: 400px) {
    .pagination-btn.pagination-first-mobile,
    .pagination-btn.pagination-last-mobile {
        padding: 8px 12px !important;
        font-size: 0.875rem !important;
    }
}