
/*
	[프로그램팀 맞춤제작 및 수정 CSS]

	copyright(c) 상상너머·원데이넷 all rights reserved.
	허용된 라이센스이외 무단도용재배포를 금합니다.

	※ css 추가 시, 반드시 날짜와 작업자 이니셜을 기재바랍니다.
*/

/* 상품후기 이미지 수정 kms 2019-08-02 */
.c_board_list .thumb img {min-height:50px;}
header {z-index:3;}
#gnb {
	position:relative;
	width:100%;
	margin-top:15px;
}
.gnb-list {
	position:relative;
	width:100%;
	display:grid;
	grid-template-columns:repeat(8, 1fr);
} 
.gnb-list__item {
	position:relative;
	text-align:center;
}
.gnb-list__link {
	display:block;
	padding:15px 0;
	font-size:16px;
	font-weight:600;
	color:#fff !important;
	background-color: #ffc000;
}
.gnb-list__link:hover,
.gnb-list__item--active .gnb-list__link {
	color:#0078d7 !important;
}
.gnb-2depth {
	position:absolute;
	top:100%;
	left:0;
	width:100%;
	background-color:#fff;
	opacity:0;
	visibility:hidden;
	transition:all .3s ease;
	padding-top:20px;
	z-index:999;
}
.gnb-2depth li {
	position:relative;
	font-size:14px;
	text-align:center;
}
.gnb-2depth li + li {margin-top:9px;}
.gnb-2depth li a {color:#666 !important}
.gnb-2depth li a:hover {color:#0078d7 !important}
.gnb-bg {
	position:absolute;
	top:100%;
	left:0;
	width:100%;
	height:0;
	background-color:#fff;
	opacity:0;
	visibility:hidden;
	transition:all .3s ease;
	z-index:998;
}
.gnb--open .gnb-2depth,
.gnb--open .gnb-bg {
	opacity:1;
	visibility:visible;
}
.gnb--open .gnb-bg {
	height:300px;
}

.lnb {
	position:relative;
	width:100%;	
	margin-bottom:40px;
}


.lnb__list {
	width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}
.lnb__item {
	flex:1;
	position:relative;
	margin-left:-1px;
}
.lnb__link {	
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
	padding:0 10px;
	height:50px;
    font-size:14px;
    font-weight: 500;
    color: #666 !important;
	letter-spacing:-0.6px;
	text-align:center;
	border:1px solid #e2e2e2;
	border-bottom:1px solid #ffc000;
}
.lnb__item.lnb__item--active {
	position:relative;
	z-index:2;
}
.lnb__item.lnb__item--active .lnb__link {
	border:1px solid #ffc000;
	border-bottom:0;
	color:#b98b00 !important;
}

.hd-exchange-weather-wrap {
    position:relative;
    width:580px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:30px;    
    margin-left:auto;
    margin-right:auto;
    border: 1px solid #e2e2e2;
    padding:0 20px;
    border-radius:10px;
}
@media (max-width: 1080px) {
    .hd-exchange-weather-wrap {        
        max-width: 95%;
    }
}
@media (max-width:430px) {
    .hd-exchange-weather-wrap {
        flex-direction:column;
        padding-bottom:10px;
        padding-left:10px;
        padding-right:10px;
    }
}
.hd-exchange-weather-wrap .hd-weather {
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
}   
@media screen and (max-width:750px) {
    .hd-exchange-weather-wrap .hd-weather {
        font-size:14px;
    }
}
.hd-exchange-weather-wrap .hd-weather .hd-current-icon {
    display:inline-block;
    flex:none;
    width:50px;
    margin-right:10px;
}
.hd-exchange-weather-wrap .hd-exchange {
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
}
@media screen and (max-width:750px) {
    .hd-exchange-weather-wrap .hd-exchange {
        font-size:14px;
    }
}
.hd-exchange-weather-wrap .hd-rate-header {
    display:flex;
    align-items:center;
    margin-right:10px;
}
.hd-exchange-weather-wrap .hd-rate-header .hd-rate-flag {
    display:inline-block;
    flex:none;
    margin-right:5px;
}
.hd-exchange-weather-wrap .hd-rate-values  {
    display:flex;
    align-items:center;
    margin-left:10px;
}
.hd-exchange-weather-wrap .hd-rate-current {margin-right:5px;}

/* 2차 지역 선택기 스타일 */
.region-selector-wrap {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
}
.region-selector-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #373737;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}
.region-selector-trigger:hover {
    border-color: #ffc000;
    background: #fffcf0;
}
.region-selector-trigger .arrow-icon {
    font-size: 9px;
    color: #a5a5a5;
    margin-left: 2px;
}
.region-selector-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    width: 180px;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.region-selector-wrap:hover .region-selector-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.region-selector-dropdown .dropdown-header {
    padding: 0 16px 8px;
    font-size: 11px;
    font-weight: bold;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f2f2f2;
    margin-bottom: 8px;
}
.region-group-title {
    padding: 6px 16px;
    font-size: 12px;
    font-weight: bold;
    color: #666;
}
.region-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.region-list li a {
    display: block;
    padding: 8px 24px;
    font-size: 13px;
    color: #555 !important;
    text-decoration: none;
    transition: all 0.15s ease;
    text-align: left;
}
.region-list li a:hover {
    background: #f8f9fa;
    color: #ffc000 !important;
}
.region-list li.active a {
    font-weight: bold;
    color: #ffc000 !important;
    background: #fffcef;
}
.region-group-divider {
    height: 1px;
    background: #f2f2f2;
    margin: 8px 0;
}
