

body{
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 1300px;
    height: fit-content!important;
    font-family: Pretendard Variable, Pretendard,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
/* 전체 스크롤바 */
::-webkit-scrollbar {
  width: 8px;           /* 세로 스크롤바 너비 */
  height: 8px;          /* 가로 스크롤바 높이 */
}

/* 트랙 (배경) */
::-webkit-scrollbar-track {
  background: #f0f0f0;
}

/* 핸들 (움직이는 바) */
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

/* 호버 시 핸들 색상 변경 */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.topbar-wrapper {
    display: flex;
    width: 100%;
    border-bottom: solid 1px #f2f2f2;
    justify-content: center;
}
.topbar-container {
    width: 1300px;
    height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar-links a {
    margin: 0 10px;
    color:#4D4D4D !important;
}
.header-main {
    display: flex;    
    justify-content: center;
}
.header-banner {
    width: 1300px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
}
.header-logo {
    font-family: 'SacheonHangGong', Verdana, Geneva, Tahoma, sans-serif;
    font-size: 35px;
    font-weight: 700;
    color:#555 !important;
}
.header-logo a {
    text-decoration: none;
    color: inherit;
}
.header-logo a span {
    display: inline;
    background: linear-gradient(180deg, transparent 55%, #8ac0ff 55%, #8ac0ff 85%, transparent 85%);
    padding: 0 4px;
    letter-spacing: -2px;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
.header-icons{
    display: flex;
}
.header-icons a,
.custom-pay {
    margin: 10px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.main-menu-wrapper {
    width: 100%;
    display: flex;
    font-size: 17px;
    font-weight: 500;
    justify-content: center;
    font-family: Pretendard;
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.main-menu-container{
    min-width: 1300px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.cate-all-button {
    width: 75px;
    height: 75px;
    font-size: 17px;
    color: #000;
    display: flex;
    align-items: center;
    cursor: pointer;
    justify-content: center;
}

.cate-all-button img{
    width: 75px;
    height: 75px;
}

.top-menu {
    width: 73.5%;
    display: flex;
}
.top-menu a {
    margin: 0 10px;
    color: #424242;
    display: flex;
    justify-content: center;
    align-items: center;
}
.dropdown-content {
    display: block;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.2s, max-height 0.4s ease-out;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 150px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    padding: 13px 0px;
    z-index: 900;
    font-size: 14px;
}

.top-menu-dropdown{
    width: 140px;
    display: flex;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
}

.dropdown-content a {
    display: block;
    padding: 8px 0px;
    text-decoration: none;
    color: black;
    transition: background-color 0.3s, color 0.3s;
}

.dropdown-content a:hover {
    background-color: #CCCCCC;
    color: #000;
}
.search-container{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: right;
    width: 198px;
    height: 100%;
}

.sticky-icons {
    display: none;
    align-items: center;
    gap: 10px;
}

.sticky-icons a,
.sticky-icons .custom-pay {
    margin: 5px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-menu-wrapper.is-sticky .search-container {
    display: none;
}

.main-menu-wrapper.is-sticky .sticky-icons {
    display: flex;
}
.search-input {
    width: 100%;
    height: 30px;
    padding: 12px;
    padding-right: 50px;
    border-radius: 30px;
    font-size: 12px;
    color: #aaaaaa;
}

.search-button {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    border: none;
    background: none;
    cursor: pointer;
}

.search-button img {
    height: 16px;
    width: auto;
    margin-right: 15px;

}
.main_banner_1_2 {
    width: 220px;
    height: 70px;
    position: relative;
    z-index: 0;
    margin-top: 9px;
}

.rollBanner_box_type_1_2 {
    width: 220px;
    height: auto;
    margin: 0px;
    padding: 0px;
    float: right;
    border: 0px;
    position: relative;
    z-index: 0;
}
.cate_all {
    width: 100%;
    position: absolute;
    z-index: 999;
    top: 100%;
    left: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-in-out;
}

.cate_all.open {
    max-height: 315px;
    padding-bottom: 10px;
}

.cate-container {
    height: 325px;
    display: flex;
    padding-left: 25px;
    width: 100%;
    justify-content: center;
    background-color: #FFFFFF;
    border-top: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
    font-family: '-apple-system', 'BlinkMacSystemFont', "Segoe UI", 'Roboto', Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.cate {
    width: 140px;
    text-align: left;
    font-size: 16px;
}

.top-cate {
    width: 1275px;
    font-size: 16px;
    display: flex;
}

.cate-end {
    width: 218px;
    flex-grow: 1;
    text-align: left;
    font-size: 16px;
}

.cate-list {
    list-style: none;
    padding: 0;
    font-size: 14px;
    margin-bottom: 60px;
}


.cate-list li {
    margin: 15px 0px;
    padding: 0px 14px;
}

.cate-list li a {
    text-decoration: none;
    font-family: pretendard;
    color: #000000;
    font-size: 15px;
    display: flex; 
    align-items: center;
    font-weight: 400;
    gap: 6px;
}

.cate-list li a:hover {
    color:#000;
    font-weight: 700;
}

.cate-list li img {
    max-width: 100%;
    height: auto;
}

.top-cate-list {
    list-style: none;
    width: 135px;
    padding: 0;
    font-size: 16px;
    margin-left: 62px;
    margin-right: 50px;
    font-family: pretendard;
}

.top-cate-list li {
    margin: 15px 0;
    display: flex;
}

.top-cate-list li {
    margin: 15px 0;
    display: flex;
}

.top-cate-list li a {
    font-size: 15px;
    font-weight: 400;
}
.top-cate-list li a:hover {
    color: #000;
    font-weight: 700;
}
.top-cate-recommand{
    width: 1000px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.top-cate-recommand a{
    width: 320px;
    display: flex;
    flex-direction: column;
    margin: 20px 0;
    align-items: flex-start;
}

.top-cate-recommand img{
    width: 320px;
    height: 160px;
    border-radius: 5px;
    object-fit: cover;
}

.top-cate-recommand-pr{
    font-size: 15px;
    color:#000000;
    margin:8px 0 3px 0;
    font-weight: 400;
}
.top-cate-recommand-pr-sub{
    font-size: 14px;
    color: #767676;
    font-weight: 400;
}