/** Shopify CDN: Minification failed

Line 49:12 Expected ":"
Line 111:2 Expected identifier but found "*"

**/
/* Basic styles for menu-item-with-image snippet */

/*

.menu-item-with-image { width:100%; }
.menu-item-with-image__link { display:flex; gap:12px; align-items:flex-start; text-decoration:none; color:inherit; padding:8px 0; }
.menu-item-with-image__media { flex:0 0 80px; width:80px; height:80px; border-radius:6px; overflow:hidden; background:#f6f6f6; display:flex; align-items:center; justify-content:center; }
.menu-item-with-image__media img { width:100%; height:100%; object-fit:cover; display:block; }
.menu-item-with-image__placeholder { width:100%; height:100%; background:linear-gradient(90deg,#eee,#f5f5f5); }
.menu-item-with-image__body { flex:1 1 auto; min-width:0; }
.menu-item-with-image__title { margin:0; font-size:0.95rem; font-weight:600; line-height:1.2; }
.menu-item-with-image__desc { margin:6px 0 0; font-size:0.86rem; color:rgba(0,0,0,0.65); line-height:1.3; }

@media (max-width:720px) {
  .menu-item-with-image__media { width:64px; height:64px; }
  .menu-item-with-image__link { gap:8px; padding:6px 0; }
}

*/


/* Basic styles for menu-item-with-image snippet */

.menu-item-with-image { 
  width: 100%; 
}

.menu-item-with-image__link { 
  display: flex; 
  flex-direction: column; /* ✅ 가로에서 세로 배치로 변경 */
  align-items: center;    /* 중앙 정렬 */
  text-decoration: none; 
  color: inherit; 
  padding: 12px 0; 
  gap: 10px; /* 이미지와 텍스트 간격 */
}

.menu-item-with-image__media { 
  width: 100%; 
  aspect-ratio: 1 / 1; /* 정사각형 유지 (원하는 비율로 변경 가능) */
  border-radius: 10px; 
  overflow: hidden; 
  background #ffffff; /* : #f6f6f6; */
  display: flex; 
  align-items: center; 
  justify-content: center; 
}

.menu-item-with-image__media img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
}

.menu-item-with-image__placeholder { 
  width: 100%; 
  height: 100%; 
  background: linear-gradient(90deg, #eee, #f5f5f5); 
}

.menu-item-with-image__body { 
  text-align: center; /* ✅ 텍스트 중앙 정렬 */
}

.menu-item-with-image__title { 
  margin: 0; 
  font-size: 1.5rem; /* 0.95rem; */ 
  font-weight: 600; 
  line-height: 1.3; 
}

.menu-item-with-image__desc { 
  margin: 6px 0 0; 
  font-size:  1rem; /* 0.86rem; */ 
  color: rgba(0,0,0,0.65); 
  line-height: 1.4; 
}

@media (max-width: 720px) {
  .menu-item-with-image__link { 
    padding: 8px 0; 
    gap: 8px; 
  }

  .menu-item-with-image__title { 
    font-size: 0.9rem; 
  }

  .menu-item-with-image__desc { 
    font-size: 0.8rem; 
  }
}



.menu-item-with-image__media img {
  transition: transform 0.3s ease; /* 부드러운 전환 효과 */

  object-fit: contain; /* 잘리지 않고 전체가 들어오게 */
  background: #fff;    /* 남는 공간은 배경색 처리 */

  /*
  aspect-ratio: 4 / 5; /* 직사각형으로 변경 */
  */
}


.menu-item-with-image:hover .menu-item-with-image__media img {
  transform: scale(0.9); /* hover 시 90% 크기로 축소 */
}



/* 모바일 스크롤 시작 */

@media screen and (max-width: 768px) {
  .mega-menu-1__mobile .mega-menu-1__carousel xo-carousel-list {
    display: flex;
    flex-direction: column;   /* 세로 나열 */
    overflow-y: auto;         /* 위아래 스크롤 허용 */
    overflow-x: hidden;       /* 좌우 스크롤 제거 */
    max-height: 80vh;         /* 필요시 높이 제한 */
    scroll-snap-type: y mandatory; /* 스냅 적용 가능 */
  }

  .mega-menu-1__mobile .mega-menu-1__carousel xo-carousel-slide {
    scroll-snap-align: start;
    width: 100%;
  }
}

/* 모바일 스크롤 끝 */



/* mega-menu-with-image hover  start  09/10/2025 */

/* Styles for menu-item-with-image hover image support
   - Primary image visible by default
   - If .img--hover exists, it fades in on hover
*/
.menu-item-with-image__media { position: relative; overflow: hidden; border-radius:6px; width:100%; height:100%; }
.menu-item-with-image__media img { display:block; width:100%; height:100%; object-fit:contain; transition: opacity .28s ease-in-out; }
.menu-item-with-image__media img.img--primary { opacity: 1; display:block; }
.menu-item-with-image__media img.img--hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;

  aspect-ratio: 1 / 1; /* 정사각형 유지 (원하는 비율로 변경 가능) */

  object-fit: contain;
  opacity: 0;
  pointer-events: none;
}

/* on hover, show hover image (if present) */
.menu-item-with-image__link:hover .menu-item-with-image__media img.img--hover { opacity: 1; }
.menu-item-with-image__link:hover .menu-item-with-image__media img.img--primary { opacity: 0; }

/* accessibility: reduce motion prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .menu-item-with-image__media img { transition: none; }
}


/* mega-menu-with-image hover  end */

