@font-face {
    font-family: 'Pretendard-Regular';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'GowunDodum-Regular';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/GowunDodum-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'HakgyoansimAllimjangTTF-B';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-5@1.0/HakgyoansimAllimjangTTF-B.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

:root {
    --main-color: rgb(6, 168, 6);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Pretendard-Regular';
}

ul,
li {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

.searchBox {
    width: 300px;
    max-width: 100%;
}

.searchBox input {
    border-radius: 100px;
}

.logoBox {
    width: 250px;
    max-width: 100%;
}

.logoBox img {
    width: 100%;
    height: 100%;
}

.myBox {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1em;
}

.myBox a {
    font-size: 12px;
    color: #5e5e5e;
}

.myBox a .svg-inline--fa {
    transform: scale(1.5);
}

nav {
    border-top: 1px solid #e4e4e4;
}

nav .container .row {
    height: auto;
}

.middleMenu .container {
    position: relative;
}

.category a {
    font-size: 18px;
    color: var(--main-color);
    font-weight: bold;
}

.middleMenu .menu>li {
    position: relative;
}

.middleMenu ul.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1111111 !important;
    overflow: visible;
    background: #fff;
    width: 100%;
}

.offcanvas ul.submenu {
    display: none;
}

.offcanvas .submenu.open {
    display: block;
}

.middleMenu .menu1 {
    position: relative;
    z-index: 100;
}

.middleMenu .menu1 ul.menu>li>a {
    display: block;
    padding: 10px 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    background-color: white;
    z-index: 100;
    position: relative;
}

.middleMenu .menu>li:hover ul.submenu {
    display: block !important;
}

.menu1 ul {
    display: flex;
    justify-content: space-between;
}

.menu1 li {
    width: 100%;
    text-align: center;
    max-width: 100%;
}

.offcanvas .menu1 li {
    width: 100%;
    text-align: start;
}

.menu1 a {
    color: #333;
    font-size: 18px;
    font-weight: bold;
    display: block;
}

.menu1 a:hover {
    color: var(--main-color);
}

.menu2 {
    display: flex;
    justify-content: flex-end;
    gap: 3em;
}

.menu2 a {
    font-size: 18px;
    color: var(--main-color);
    font-weight: bold;
}

.mobile-submenu {
    display: none;
}

.mobile-submenu.open {
    display: block;
}

/* 전체카테고리 메뉴바 */
.categoryMenu {
    display: none;
    /* 기본은 숨김 */
    position: absolute;
    top: 100%;
    /* nav 아래쪽 위치 */
    left: 0;
    background-color: #00a000;
    color: white;
    width: 200px;
    border-radius: 6px;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.categoryMenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.categoryMenu li {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.categoryMenu li a {
    color: white;
    text-decoration: none;
    display: block;
}

.categoryMenu li:hover {
    background-color: #008000;
}

.slideBox {
    height: 400px;
}

.slideBox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideBox1 img{
	width: 150%;
	object-position: 50% 20%;
}

main a.circle {
    position: relative;
    width: auto;
    text-align: center;
    color: #333;
}

main a.circle div {
    width: 100px !important;
    height: 100px !important;
    background: #f3f3f3;
    border-radius: 100px;
    margin-bottom: 0.5em;
}

main a.circle::after {
    content: '';
    position: absolute;
}

.shopTitle {
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid var(--main-color);
    padding-bottom: 0.6em;
}

#miniCategory a .svg-inline--fa {
    transform: scale(2);
}

#miniCategory a div {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.1s;
}

#miniCategory a.circle:hover div {
    background: var(--main-color);
    /* 초록색 배경 */
    color: #fff;
    /* 아이콘 흰색 */
    transform: scale(1.05);
    /* 살짝 확대 */
}

#miniCategory a.circle:hover {
    color: var(--main-color);
    /* 텍스트 색상 변경 */
}

a.launchBanner{
	display:flex;
	gap: 0.5em;
    flex-direction: column;
    align-items: center;
}

.mainShop .shopBox .imgBox {
    width: 70%;
    height: auto;
    max-width: 100%;
    overflow: hidden;
}

.mainShop .shopBox a:hover .imgBox {
    border-radius: 12px;
}

.mainShop .shopBox a:hover img {
    transform: scale(1.05);
    transition: 0.5s;
}

.hover-underline,
.hover-arrow {
    display: none;
}

.mainShop .shopBox .imgBox img {}

.shopBox img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: 1px solid #eee;
    object-fit: contain;
}

.mainShop a .txtBox {
    font-weight: bold;
    color: #666 !important;
    line-height: 1.5em;
}

.category-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    /* 구분선이 있으므로 gap 0 */
    padding: 0;
    margin: 0;
    position: relative;
}

.category-menu li {
    list-style: none;
    padding: 5px 20px;
    position: relative;
    font-size: 18px;
    font-weight: 500;
    color: #555;
    border-right: 1px solid #ccc;
    cursor: pointer;
    width: 150px;
    max-width: 100%;
    text-align: center;
    margin-bottom: 15px;
}

.category-menu li:nth-last-of-type(1) {
    border-right: none !important;
}

.category-menu li a {
    text-decoration: none;
    color: inherit;
}

.category-menu li.active a {
    color: #228B22;
    /* 초록 글씨 */
    font-weight: bold;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.hover-underline {
    position: absolute;
    bottom: -6px;
    height: 2px;
    background: #228B22;
    width: 0;
    left: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.hover-arrow {
    position: absolute;
    bottom: -12px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #228B22;
    left: 0;
    transition: all 0.3s ease;
}

/* ✅ 밑줄 + 삼각형 표시 */
.category-menu li.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background: #228B22;
}

.category-menu li.active::before {
    content: '';
    position: absolute;
    bottom: -12px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #228B22;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.mainShop2 .shopBox .imgBox {
    width: 300px;
    height: 300px;
    max-width: 100%;
}

.mainShop2 a:hover {
    color: var(--main-color);
}

/* 공통 상품 카드 스타일 */
.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 16px;
    height: 100%; /* 카드 높이 균일 */
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
}

/* 이미지 영역 */
.product-card img {
    width: 100%;
    height: 220px;            /* 고정 높이 */
    object-fit: cover;        /* 비율 유지 + crop */
    border-radius: 8px;
}

/* 상품명 */
.product-card .product-name {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    color: #333;
    margin: 8px 0;
    min-height: 40px;   /* 두 줄일 때도 카드 높이 일정 */
    line-height: 1.4;
}

/* 가격 */
.product-card .price {
    font-size: 15px;
    font-weight: bold;
    color: #e74c3c;
    text-align: center;
    margin: 0;
}

.news-card {
    position: relative;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    transition: 0.3s ease;
    cursor: pointer;
    height: auto;
}

.news-card img {
    width: 100%;
    height: 300px;
    border-radius: 6px;
    margin-bottom: 10px;
    object-fit: contain;
    background:#000;
}

.news-card .date{
	color:#c4c4c4;
}

.news-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.news-name {
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
    width: 90%;
    margin: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 60px;
    padding: 0.5em;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.product-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

.price {
    font-size: 18px;
    font-weight: bold;
    color: #222;
}

/* ✅ 뱃지 스타일 */
.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 8px;
    font-size: 12px;
    color: #fff;
    border-radius: 4px;
    font-weight: bold;
}

.badge.new {
    background: #ff6f61;
}

/* 주황색 */
.badge.hot {
    background: #007bff;
}

/* 파란색 */
.badge.sale {
    background: #dc3545;
}

.footerBanner {
    width: 100%;
    text-align: center;
    margin: 5em 0;
}

.footerBanner {
    background-image: url('/1/img/banner/banner.jpg');
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center 70%;
    background-attachment: fixed;
}

.footerBanner .bannerBox {
    position: absolute;
    left: 50%;
    bottom: 0%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2em;
    background: #0000004b;
    color: #ffffff;
    letter-spacing: 0.3em;
}

.footerBanner .moveBtn {
    width: 200px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 100px;
    color: #fff;
    background: linear-gradient(90deg, transparent 50%, var(--main-color) 50%);
    background-size: 200% 100%;
    transition: background-position 0.4s ease;
}

.footerBanner .moveBtn:hover {
    background-position: -100% 0;
    color: #fff;
}

.mainNotices .section {
    flex: 1;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    background-color: #fff;
    width: 30%;
}

.mainNotices .container {
    display: flex;
    gap: 20px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1200px;
    flex: 1;
    /* Adjust as needed */
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.section-header h2 {
    font-size: 1.2em;
    color: #333;
    margin: 0;
}

.view-all {
    font-size: 0.9em;
    color: #555;
    text-decoration: none;
}

/* Notice Section */
.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-list li {
    padding: 5px 0;
    color: #666;
    position: relative;
    padding-left: 15px;
    border-bottom: 1px solid #eee;
    /* For the bullet point */
}

.notice-list li::before {
    content: '•';
    /* Custom bullet point */
    position: absolute;
    left: 0;
    color: #333;
}

.notice-list li:hover {
    color: #000;
}

/* Deposit Info Section */
.deposit-info-section .deposit-details {
    font-size: 0.95em;
    line-height: 1.6;
    color: #333;
}

.deposit-info-section .bank-name {
    color: #e44d26;
    /* Example color for bank name, adjust as needed */
    font-weight: bold;
}

.deposit-info-section .note {
    font-size: 0.85em;
    color: #777;
    margin-top: 15px;
}

/* Quick Menu Section */
.quick-menu-section {
    display: flex;
    flex-direction: column;
}

.quick-menu-items {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    margin-top: 10px;
}

.quick-menu-items a{
	flex:1;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px 10px;
    /* Fixed width for menu items */
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.menu-item:hover {
    background-color: #e0e0e0;
}

.menu-item i {
    font-size: 2em;
    color: #555;
    margin-bottom: 8px;
}

.menu-item p {
    font-size: 0.85em;
    color: #333;
    margin: 0;
}

/* 푸터 전체 영역 스타일 */
.site-footer {
    background-color: #fff;
    color: #333;
    font-size: 0.85em;
    border-top: 1px solid #e0e0e0;
    /* padding-top은 아래쪽 콘텐츠를 위해 남겨둡니다. */
}

/* 검정색 띠 (배경 100% 너비)를 위한 래퍼 */
.footer-top-nav-wrapper {
    background-color: #333;
    /* 검정색 띠 배경색 */
    color: #fff;
    padding: 10px 0;
    /* 상하 패딩 */
}

/* 검정색 띠 안의 내용물 (container 적용) */
.footer-top-nav-content {
    /* 이 클래스에는 container 클래스가 이미 적용되어 있으므로
       max-width, margin: auto, 좌우 padding이 적용됩니다. */
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* 기존 container의 좌우 패딩을 존중하므로, 추가 좌우 패딩은 주지 않습니다. */
}

.footer-top-nav-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.footer-top-nav-content ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.8em;
    transition: color 0.3s ease;
}

.footer-top-nav-content ul li a:hover {
    color: #fff;
}

.admin-site {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border: 1px solid #555;
    border-radius: 3px;
    cursor: pointer;
    background-color: #444;
    /* Slightly lighter dark background for the box */
}

.admin-site a {
    color: #fff;
    text-decoration: none;
    font-size: 0.8em;
}

.admin-site i {
    color: #fff;
    font-size: 0.7em;
}

/* 아래쪽 푸터 내용물 (container 적용) */
.footer-bottom-content {
    /* 이 클래스에는 container 클래스가 이미 적용되어 있으므로
       max-width, margin: auto, 좌우 padding이 적용됩니다. */
    display: flex;
    justify-content: space-between;
    padding: 30px 0;
    /* 상하 패딩, 좌우 패딩은 .container가 담당 */
    align-items: flex-start;
    /* Align items to the top */
    gap: 40px;
    /* Space between the two columns */
}

.footer-info {
    flex: 2;
    /* Takes more space */
    line-height: 1.8;
    color: #555;
}

.footer-info p {
    margin: 0;
}

.footer-contact {
    flex: 1;
    /* Takes less space */
    text-align: right;
    /* Align text to the right */
    line-height: 1.6;
}

.footer-contact .contact-label {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}

.footer-contact .phone-number {
    font-size: 1.8em;
    font-weight: bold;
    color: #000;
    margin-bottom: 10px;
}

.footer-contact .operating-hours {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 0px;
}

.footer-contact .holiday {
    font-size: 0.9em;
    color: #d9534f;
    /* Red color for holiday as in image */
    margin-top: 0px;
    margin-bottom: 15px;
}

.inquiry-button {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    color: #555;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.inquiry-button:hover {
    background-color: #f0f0f0;
    border-color: #bbb;
}

/* Top 버튼 기본 스타일 */
.top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #333;
    color: #fff;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    border-radius: 50%;
    text-decoration: none;
    opacity: 0;
    /* 처음에는 투명 */
    pointer-events: none;
    /* 안 보일 때 클릭 방지 */
    z-index: 999;
    transition: opacity 0.4s ease;
    /* 부드러운 효과 */
}

.top-btn.show {
    opacity: 1;
    /* 보이기 */
    pointer-events: auto;
}

.shopBox label {
    padding: 0.1em 0.3em;
    font-size: 12px;
    color: #fff;
}

label.SALE {
    background: rgb(38, 199, 38);
}

label.BEST {
    background: rgb(243, 31, 31);
}

label.SOLD {
    background: #cecdcd;
}

label.NEW {
    background: #ffc75e;
}

.shopBox label {
    animation: label 1s infinite;
}

@keyframes label {
    0% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.1);
    }

    100% {
        filter: brightness(1);
    }
}
.slideBox{
	position: relative;
}

.m_slide .slideBox .slideTxt{
	position: absolute;
	left:7%;
	bottom:10%;
	z-index: 1111;
	font-size:1.4em;
	font-weight: 700;
	font-family: 'HakgyoansimAllimjangTTF-B';
} 
.slideTxt.txt1>span{
	background:#be8c59;
	color:#fff;
	font-family: 'GowunDodum-Regular';
}
.slideTxt.txt1 p{
	color:#dcad82;
	text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff;
}
.slideTxt.txt1 p>span{
	color:#be8c59;
	text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff;
}
.slideTxt.txt2>span{
	color:#559813;
	text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff;
}
.slideTxt.txt2 p{
	color:#aeaeae;
	text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff;
}
.slideTxt.txt2 p>span{
	color:#ff7979;
	text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff;
}
.svg-inline--fa{
	height:1.5em;
}

.slideBox3 video{
	width:100%;
	height: 100%;
  	object-fit: contain;
}


/* Responsive adjustments */
@media (max-width: 576px) { /* 모바일 */
    .product-card {
        padding: 12px;
    }
    .product-card img {
        height: 150px !important;
    }
    .product-card .product-name {
        font-size: 14px;
        min-height: auto;
    }
    .product-card .price {
        font-size: 14px;
    }
    .mainShop2 .container{
    	margin:0 !important;
    }
    .news .container{
    	margin:0 !important;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .section {
        margin-bottom: 20px;
    }

    .quick-menu-items {
        flex-wrap: wrap;
        justify-content: center;
    }

    .category-menu li {
        border: none;
    }
}

@media (max-width: 576px) {
    .mainShop .shopBox .imgBox {
        height: 200px;
    }

    #popularProducts .category-menu li:nth-last-of-type(4) {
        border-right: none !important;
    }

    #miniCategory a .svg-inline--fa {
        transform: scale(1.5);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-top-nav-content {
        /* 검정색 띠 안의 콘텐츠 반응형 */
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-top-nav-content ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .footer-bottom-content {
        /* 아래쪽 푸터 콘텐츠 반응형 */
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-contact {
        text-align: center;
        /* Center contact info on small screens */
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .footer-top-nav-content ul li a {
        font-size: 0.75em;
    }

    .footer-bottom-content {
        padding: 20px 0;
        /* .container의 좌우 패딩을 유지하고 상하만 조정 */
    }

    .footer-info,
    .footer-contact {
        font-size: 0.8em;
    }

    .footer-contact .phone-number {
        font-size: 1.5em;
    }

    .inquiry-button {
        padding: 8px 15px;
        font-size: 0.8em;
    }

}

/* 반응형 조정 */
@media (max-width: 992px) { /* 태블릿 이하 */
	.news-card img{
		height:150px;
	}
    .product-card img {
        height: 180px;
    }
    .product-card .product-name {
        font-size: 15px;
        min-height: 36px;
    }
}

/* 태블릿 (최대 1024px) */
@media (max-width: 1024px) {


    /* 헤더 */
    header .searchBox {
        width: 200px;
    }

    .logoBox {
        width: 230px;
    }

    .menu1 ul li a,
    .menu2 a {
        font-size: 16px;
    }

    /* 슬라이드 이미지 높이 축소 */
    .slideBox {
        height: 300px;
    }

    /* 메인 카테고리 동그라미 크기 축소 */
    main a.circle div {
        width: 80px !important;
        height: 80px !important;
    }
    
    .mainShop .shopBox .imgBox {
    	width:100%;
    }
}


/* 모바일 (최대 768px) */
@media (max-width: 768px) {

    /* ✅ 헤더 영역 */
    header .container .row {
        text-align: center;
    }

    .topMenu,
    .middleMenu {
        display: none !important;
    }

    .searchBox {
        width: 100%;
        margin-bottom: 10px;
    }

    .myBox {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 10px;
    }

    .topMenu.mobile {
        display: flex !important;
    }

    /* ✅ 네비게이션 메뉴 */
    nav .container .row {
        flex-direction: column;
        height: auto;
        text-align: center;
    }

    .menu1 ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .menu2 {
        justify-content: center;
        gap: 10px;
        margin-top: 10px;
    }

    /* ✅ 메인 카테고리 */
    #miniCategory .row {
        gap: 15px;
        flex-wrap: wrap;
    }

    main a.circle div {
        width: 70px !important;
        height: 70px !important;
    }

    /* ✅ 상품 리스트 */
    .shopBox .imgBox,
    .mainShop2 .shopBox .imgBox {
        width: 100% !important;
        height: auto;
    }

    .category-menu {
        flex-wrap: wrap;
    }

    /* ✅ 하단 공지 & 푸터 */
    .mainNotices .container {
        flex-direction: column;
    }

    .footerBanner img {
        width: 100%;
        height: auto;
    }
}

/* 초소형 모바일 (최대 480px) */
@media (max-width: 480px) {

    .myBox a {
        font-size: 11px;
    }

    /* ✅ 카테고리 원형 */
    main a.circle div {
        width: 60px !important;
        height: 60px !important;
    }

    /* ✅ 상품 이름, 가격 크기 */
    .product-name {
        font-size: 14px;
    }

    .price {
        font-size: 16px;
    }

    /* ✅ 메뉴 폰트 크기 축소 */
    nav .menu1 a,
    nav .menu2 a {
        font-size: 14px;
    }
}

/* 모바일 전용 메뉴 & 검색 숨김 */
.mobile-menu,
.mobile-search {
    display: none;
    background: #fff;
    padding: 15px;
    border-top: 1px solid #ddd;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.mobile-menu a {
    color: #333;
    font-size: 16px;
    text-decoration: none;
}

.mobile-search input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* 모바일메뉴 토글 서브메뉴 */
/* 서브메뉴 기본 숨김 */
.submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    /* overflow: hidden; */
    /* transition: max-height 0.4s ease; */
    background: #f4f4f4;
}

.submenu li a {
    display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
}

.submenu li a:hover {
    background: #f7f7f7;
}

/* 서브메뉴 보이는 상태 */
.submenu.open {
    max-height: 500px;
    /* 충분히 큰 값 */
}

/* PC 전용 숨김 */
@media (max-width:768px) {

    .topMenu .searchBox,
    .myBox,
    nav.middleMenu {
        display: none !important;
    }

    .logoBox {
        text-align: center;
    }
}