@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic&family=Nanum+Myeongjo:wght@400;700;800&family=Noto+Sans+KR:wght@100..900&family=Noto+Serif+KR:wght@200..900&display=swap');


/* ==========================================
   1. 디자인 시스템 변수 정의 (공통 적용)
   ========================================== */
:root {
    --abydos-blue: #00A3FF;       /* 맑고 청량한 시안 블루 */
    --bg-light-blue: #F0F6FC;     /* 우유빛 파스텔 하늘색 배경 */
    --sidebar-bg: #FFFFFF;        /* 내비게이션 화이트 */
    --card-bg: #FFFFFF;           /* 활자 카드 화이트 */
    --text-dark: #2B2D42;         /* 가독성 높은 선명한 딥 네이비 */
    --text-muted: #718096;        /* 차분한 슬레이트 그레이 */
    --border-soft: #E2E8F0;       /* 부드러운 경계선 색상 */
}

input:disabled {
    background-color: #d7dde4;
}

/* ==========================================
   2. 기본 초기화 및 스타일 설정
   ========================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-light-blue);
    color: var(--text-dark);
    font-family: 'Noto Sans KR', -apple-system, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

/* ==========================================
   3. 상단 네비게이션 헤더 (공통 고정 바)
   ========================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    border-bottom: 1px solid var(--border-soft);
    z-index: 1000;
}

.header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.logo-sub { color: var(--abydos-blue); }
.logo img {
    width: 185px;
}

.search-bar {
    position: relative;
    width: 320px;
}
.search-bar input {
    width: 100%;
    padding: 8px 35px 8px 15px;
    border-radius: 20px;
    border: 1px solid var(--border-soft);
    background-color: #F8FAFC;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}
.search-bar input:focus { border-color: var(--abydos-blue); }
.search-bar i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.m-icon {
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}
.m-icon:hover { color: var(--abydos-blue); }

.user-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
}

/* ==========================================
   4. 고정형 사이드바 시스템 (공통 레이아웃)
   ========================================== */
.app-layout {
    display: flex;
    margin-top: 65px;
    min-height: calc(100vh - 65px);
}

.sidebar {
    width: 220px;
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--border-soft);
    padding: 25px 0;
    position: fixed;
    height: calc(100vh - 65px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.side-nav a {
    display: block;
    padding: 12px 25px;
    font-size: 0.95rem;
    font-weight: bold;
    color: #4A5568;
    transition: all 0.2s;
    border-left: 4px solid transparent;
}
.side-nav a i {
    margin-right: 8px;
    font-size: 1.05rem;
    display: inline-block;
    width: 20px;
}
.side-nav a .sub-text {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: normal;
    padding-left: 28px;
    margin-top: 2px;
}

.side-nav a:hover, .side-nav a.active {
    background-color: #EBF8FF;
    color: var(--abydos-blue);
    border-left-color: var(--abydos-blue);
}

.menu-divider {
    height: 1px;
    background-color: var(--border-soft);
    margin: 15px 25px;
}

.sidebar-footer-mark {
    padding: 0 25px;
    color: #CBD5E0;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: bold;
}

/* 모든 페이지의 본문이 들어갈 기본 우측 기본 틀 */
.main-content {
    margin-left: 220px;
    flex: 1;
    padding: 30px;
}

.main-footer {
    margin-left: 220px;
    padding: 35px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-soft);
    background-color: #ffffff;
}




/* ==========================================
   4. 우측 마케팅 광고 배너
   ========================================== */
.right-banner-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.promo-banner {
    min-height: 150px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-soft);
}
.promo-banner .img-div {
    width: 100%;
    height: 100%;
    text-align: center;
}
.promo-banner .img-div img {
    width: 100%;
    /* height: 100%; */
}

.ip-showroom-banner { background-color: #7EC1FF; }
.event-banner { background-color: #A0AEC0; }

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,163,255,0.1) 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
}

.banner-tag { font-size: 0.7rem; font-weight: 900; opacity: 0.85; letter-spacing: 1px; margin-bottom: 4px; }
.banner-overlay h4 { font-size: 1rem; font-weight: 800; line-height: 1.3; }
.banner-go { font-size: 0.75rem; color: #EBF8FF; font-weight: bold; margin-top: 5px; }





/* 하단 메타태그 데이터 정렬 */
.catalog-card-bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.bottom-meta i { color: #D69E2E; margin-right: 2px; }
.bottom-tags { color: var(--abydos-blue); font-weight: 600; }
.catalog-update-time { margin-left: auto; font-weight: bold; color: var(--abydos-blue); }




/* ==========================================
   3. 하단 페이징 버튼바
   ========================================== */
.catalog-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 35px;
    border-top: 1px solid #E2E8F0;
    padding-top: 25px;
}

.page-btn {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    border: 1px solid var(--border-soft);
    background-color: #ffffff;
    color: #4A5568;
    font-size: 0.88rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.page-btn:hover:not(.disabled) {
    border-color: var(--abydos-blue);
    color: var(--abydos-blue);
}
.page-btn.active {
    background-color: var(--abydos-blue);
    border-color: var(--abydos-blue);
    color: #ffffff;
}
.page-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.ep-lock-icon { color: #CBD5E0; font-size: 1rem; }



/* ==========================================
   5. 공통 구역 모바일 반응형 처리
   ========================================== */
@media (max-width: 768px) {
    .sidebar { display: none !important; }
    .main-content, .main-footer { margin-left: 0 !important; padding: 15px; }
    .main-header { padding: 0 15px; }
    .search-bar { display: none; }
    .logo { font-size: 1.1rem; }
    .header-left { gap: 15px; }

    .right-banner-area { gap: 15px; }
    .promo-banner { height: 100px; }
    .banner-overlay { padding: 12px; }
    .banner-overlay h4 { font-size: 0.9rem; }
    .banner-go { display: none; }

    .catalog-card-bottom { gap: 10px; }
    .catalog-update-time { width: 100%; margin-left: 0; margin-top: 4px; }
}



