@charset "UTF-8";

@import url(//fonts.googleapis.com/earlyaccess/nanumpenscript.css);

* {
	margin: 0;
	padding: 0;
}

li {
	list-style: none;
}

a {
	text-decoration: none;
}

table {
	border-collapse: collapse;
}

hr {
	margin: 0;
	padding: 0;
}

/* body { font-family: 'Arial', sans-serif;
 		background: #fff;
        color: #222;
        margin: 0;
        /*padding-top: 182px;
 }
 */
.nav-container {
	width: 100%;
	background: #fff;
	/*border-bottom: 1px solid #eee;*/
	/*position: fixed;
            top: 0;
            left: 0;*/
	z-index: 4;
	/*border:1px red solid */
}

.nav-container .head-wrapper {
	width: 1300px;
	margin: 0 auto;
	padding: 20px 0 20px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	/*border:1px red solid */
}

.nav-container .logo_img {
	display: block;
	margin: 0 10px;
	/*border:1px red solid*/
}

/* form도 flex로 지정 */
.search-bar form {
	display: flex;
	align-items: center;
	width: 100%;
}

/* 컨테이너 */
.nav-container .search-bar {
	width: 480px;
	border: 2px solid #1560ef;
	border-radius: 30px;
	background: #fff;
	padding: 0 12px;
	margin: 0 auto;
}

/* input */
.nav-container .text-bar {
	flex: 1; /* 남은 영역 다 차지하게 */
	border: none;
	outline: none;
	font-size: 18px;
	border-radius: 30px;
	padding: 12px 0;
	background: white; /* ✅ 수정된 부분 */
}

/* 버튼 */
.nav-container .bar-btn {
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}

/* 아이콘 */
.nav-container .bar-btn img {
	width: 28px;
	height: 28px;
}

.nav-container>.head-wrapper>.infomation-cart-main {
	display: flex;
	align-items: center;
	gap: 30px;
	margin-right: 30px;
}

.nav-container>.head-wrapper>.infomation-cart-main a {
	color: #666;
	text-decoration: none;
	display: flex;
	align-items: center;
	transition: color 0.2s;
}

.nav-container>.head-wrapper>.infomation-cart-main a:hover {
	color: #1428a0;
	/*    text-decoration: underline;*/
	font-weight: bold;
}

/* 찜 아이콘만 hover 시 빨간색 */
.nav-container>.head-wrapper>.infomation-cart-main a.favorite-main:hover
	{
	color: red;
}

.nav-container>.head-wrapper>.infomation-cart-main svg {
	width: 30px;
	height: 30px;
	opacity: 0.7;
}

.nav-container>.head-wrapper>.infomation-cart-main .cart-main {
	width: 29px;
	/*opacity: 0.7;*/
}

.nav-container>.head-wrapper>.infomation-cart-main .favorite-main {
	width: 26px;
	height: 40px;
	/*opacity: 0.7;*/
}

.head-wrapper>.infomation-cart-main .person-main {
	width: 30px;
	height: 40px;
	/*opacity: 0.7;*/
}

.nav-container .head2-wrapper {
	width: 1300px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 55px;
	background: #fff;
	font-size: 18px;
	/*border-bottom: 1px solid #eee;*/
	position: relative;
	/*border:1px red solid;*/
}

.head2-wrapper button.menu { /*전체메뉴버튼*/
	border: none;
	margin-left: 7px;
	/*border:1px red solid;*/
	background: none;
	font-size: 18px;
	font-weight: bold;
	color: #222;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
}

.head2-wrapper .menu::before {
	/*전체버튼앞에 기호*/
	content: "\2630";
	font-size: 20px;
	margin-right: 25px;
}

.nav-container .head2-wrapper a {
	color: #222;
	text-decoration: none;
	margin: 0 10px 0 0;
	transition: color 0.2s;
	/*border:1px red solid*/
}

.head2-wrapper>a:hover {
	/*color: #1428a0;*/
	text-decoration: underline;
	font-weight: bold;
}

.nav-container .utility-menu {
	display: flex;
	align-items: center;
	gap: 22px;
	margin-left: 30px;
}

.utility-menu a {
	color: #666;
	font-size: 16px;
	text-decoration: none;
	margin: 0;
	transition: color 0.2s;
}

.utility-menu a:hover {
	/*color: #1428a0;*/
	text-decoration: underline;
	font-weight: bold;
}
/*
        .head2-wrapper > a:not(:last-child):after {
            content: "|";
            color: #bbb;
            margin-left: 18px;
            margin-right: 0;
        }
        .utility-menu a:not(:last-child):after {
            content: "|";
            color: #bbb;
            margin-left: 0px;
        }*/
/* --- 카테고리 드롭다운 --- */
.category-dropdown {
	position: absolute;
	top: 56px;
	left: 0;
	display: none;
	width: 750px;
	min-height: 300px;
	z-index: 1500;
	background: rgba(0, 0, 0, 0.18); /* 투명한 검은색 배경 */
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
	border-radius: 0 0 8px 8px;
}

.category-dropdown.active {
	display: flex;
}
/*카테고리*/
.category-main {
	width: 220px;
	background: #1560ef;
	padding: 0;
	margin: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	border-radius: 0 0 0 8px;
}

.category-main li {
	color: #fff;
	font-size: 17px;
	cursor: pointer;
	padding: 18px 25px;
	border-bottom: 1px solid #1854c9;
	transition: background 0.2s;
	position: relative;
}

.category-main li:last-child {
	border-bottom: none;
}

.category-main li:hover, .category-main li.active {
	background: #003c9e;
}
/* 2차 카테고리 */
.category-sub {
	flex: 1;
	background: #f7f9fd;
	padding: 30px 30px;
	margin: 0;
	list-style: none;
	display: none;
	flex-direction: column;
	border-radius: 0 0 8px 0;
	min-width: 220px;
}

.category-sub.active {
	display: flex;
}

.category-sub li {
	color: #222;
	font-size: 16px;
	padding: 10px 0;
	cursor: pointer;
	transition: color 0.2s;
}

.category-sub li a:hover {
	color: #1560ef;
}

/*   
        h1 {
            text-align: center;
            margin-top: 40px;
        }
        .image-gallery {
            max-width: 1400px;
            margin: 30px auto 0 auto;
            display: flex;
            gap: 15px;
            justify-content: center;
            padding: 0 20px;
        }
        .image-gallery a {
            flex: 1 1 0;
            max-width: 23%;
            display: block;
            border-radius: 5px;
            overflow: hidden;
            box-shadow: 0 0 5px rgba(0,0,0,0.08);
            transition: transform 0.2s;
        }
        .image-gallery a:hover {
            transform: scale(1.05);
        }
        .image-gallery img {
            width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
            border-radius: 5px;
        }
        @media (max-width: 900px) {
            .head-wrapper, .head2-wrapper {
                flex-direction: column;
                gap: 10px;
                padding: 10px 0;
                height: auto;
            }
            .search-bar {
                width: 95vw;
            }
            .infomation-cart {
                margin: 0;
                gap: 15px;
            }
            .head2-wrapper {
                font-size: 15px;
            }
            .image-gallery {
                flex-wrap: wrap;
                gap: 10px;
            }
            .image-gallery a {
                max-width: 48%;
            }
            .category-dropdown {
                width: 95vw;
                min-width: 0;
            }
            .category-sub {
                min-width: 0;
                padding: 20px 10px;
            }
        }
        */