body {
  font-family: "Noto Sans KR", "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;
  overflow-x: hidden;
  color: #000000;
  background-color: #666666;
}
@media (max-width: 768px) {
  p {
    font-size: 0.9rem;
  }
}
p {
  line-height: 2;
}

a {
  transition: all 0.3s ease;
}

.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.small {
  font-size: 0.95rem;
}

.gh-color-primary {
  color: #1e1e1efd;
}

.gh-color-gray {
  color: #ffffffdc;
}
.gh-color-white {
  color: rgb(255, 255, 255);
}
.gh-bg-black-transparent {
  background-color: rgba(0, 0, 0, 0.009);
}

.gh-bg-white-transparent {
  background-color: rgba(132, 131, 131, 0.413);
  border: 1px solid rgb(255, 255, 255);
}
.main-intro {
  width: 100%;
}
.gh-intro-section {
  max-width: 600px;
  width: 100%;
  padding: 55px;
  margin-left: auto;
  margin-right: 0;

  display: flex;
  flex-direction: column;
  justify-content: space-between; /* 이미지 위, h1 아래 정렬 */
  height: 400px; /* 원하는 높이로 조정 */
  box-sizing: border-box; /* 패딩 포함한 높이 계산 */
}
.gh-intro-section h3 {
  align-self: flex-end;
  text-align: right;
}
.gh-content-section-title {
  align-self: flex-end;
  font-size: clamp(1.2rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.main-list-wrapper {
  display: flex;
  flex-direction: column;
  align-self: flex-end;
  align-items: flex-end; /* 기본 오른쪽 정렬 */
  margin-bottom: 3rem;
  color: white;
  text-transform: uppercase;
  padding: 0 1rem;
  box-sizing: border-box;
}

.main-list {
  text-align: left; /* 글씨 시작점 일렬 정렬 */
  max-width: 400px; /* 최대 너비 제한 */
  width: 100%;
}

.main-list h3 {
  position: relative;
  margin: 0.3rem 0;
  font-size: 1.8rem;
  font-weight: 600;
  padding-left: 1.8rem; /* 점 공간 확보 */
  text-align: left;
}
.main-list h3::before {
  content: "·";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-weight: 900;
  font-size: 1.8rem;
  line-height: 1;
}
/* 반응형: 화면이 768px 이하일 때 */
@media (max-width: 768px) {
  .main-list-wrapper {
    align-items: flex-end;
  }

  .main-list {
    max-width: 100%; /* 가득 채움 */
  }

  .main-list h3 {
    font-size: 1.2rem; /* 글자 크기 조금 줄임 */
  }
}
@media (max-width: 480px) {
  .main-list h3 {
    font-size: 12px; /* 글자 크기 조금 줄임 */
  }
}

.parallax-window {
  height: 700px;
  background: transparent;
}
.parallax-window2 {
  height: 400px;
  background: transparent;
}
@media (max-width: 480px) {
  .parallax-window {
    height: 400px;
    background: transparent;
  }
  .parallax-window2 {
    height: 350px;
  }
}
.gh-content-section {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* 이걸 추가해야 오른쪽 정렬 됩니다 */
  height: auto;
  max-width: 1900px;
  padding: 66px 60px;
}

#intro {
  min-height: 100vh;
  max-width: none;
}

.gh-brand-title {
  font-size: 2.6rem;
}

.gh-brand-title-box {
  box-sizing: content-box;
  width: 100%;
  max-width: 230px;
  min-height: 160px;
  color: white;
  text-align: center;
  margin: 70px auto 90px;
}

.gh-double-border-1,
.gh-double-border-2 {
  border: 1px solid #fff;
  position: relative;
}

.gh-double-border-2 {
  top: 10px;
  left: 10px;
}

.gh-border-gray {
  border-color: #cdcecf;
}

.gh-box-pad {
  padding: 50px 55px;
}

.gh-brand-title {
  padding: 30px;
}

.gh-sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  padding-left: 70px;
  padding-right: 70px;
  width: 400px;
  max-width: 400px;
}

/* Hide scrollbar */
.gh-sidebar {
  overflow-y: scroll;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}
.gh-sidebar::-webkit-scrollbar {
  /* WebKit */
  width: 0;
  height: 0;
}

.gh-sidebar-fixed {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.gh-content-section-wrap {
  width: calc(100% - 400px);
  margin-left: auto;
  margin-right: 0;
}

.gh-main-menu > li > a {
  color: white;
}

.gh-main-menu {
  margin-bottom: 160px;
}

.gh-white-rect {
  display: block;
  width: 15px;
  height: 15px;
  background-color: white;
}

.nav-link {
  font-size: 1.65rem;
  padding-top: 12px;
  padding-bottom: 12px;
}
@media (max-width: 768px) {
  .nav-link {
    font-size: 1rem;
  }
}

.nav-link .gh-white-rect {
  opacity: 0;
  transition: all 0.3s ease;
}

.nav-link.current .gh-white-rect,
.nav-link:hover .gh-white-rect {
  opacity: 1;
}

.gh-main-menu .nav-link:hover {
  animation-name: blinker;
  animation-duration: 0.5s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes blinker {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.1;
  }
  100% {
    opacity: 1;
  }
}

.gh-footer-link {
  color: white;
}

.gh-footer-link:hover {
  color: #f93;
  text-decoration: none;
}

.gh-content-section-half {
  padding: 55px;
}

.gh-content-section-icon {
  color: #369;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Our Work */

.gh-gallery-wrap {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1600px) {
  .gh-gallery-wrap {
    max-width: 780px;
  }
}

@media (max-width: 1200px) {
  .gh-gallery-wrap {
    max-width: 520px;
  }
}

@media (max-width: 991px) {
  .gh-gallery-wrap {
    max-width: 780px;
  }
}

@media (max-width: 767px) {
  .gh-gallery-wrap {
    max-width: 520px;
  }
}

@media (max-width: 480px) {
  .gh-gallery-wrap {
    max-width: 260px;
  }
}

.gh-gallery-item {
  padding-left: 10px;
  padding-right: 10px;
}

.slick-dots {
  bottom: -50px;
}

.slick-dots li button:before {
  font-size: 16px;
  opacity: 0.2;
}

.slick-dots li.slick-active button:before {
  color: #98999a;
  opacity: 1;
}

/* 
  Gallery Item Hover Effect
  https://tympanus.net/codrops/2014/06/19/ideas-for-subtle-hover-effects/
*/

/* Common style */
.gh-gallery-item figure {
  position: relative;
  float: left;
  overflow: hidden;
  margin-bottom: 0;
  background: #0000ff;
  text-align: center;
  cursor: pointer;
}

.gh-gallery-item figure img {
  position: relative;
  display: block;
  min-height: 100%;
  max-width: 100%;
  opacity: 0.8;
}

.gh-gallery-item figure figcaption {
  padding: 1em;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.25em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.gh-gallery-item figure figcaption::before,
.gh-gallery-item figure figcaption::after {
  pointer-events: none;
}

.gh-gallery-item figure figcaption,
.gh-gallery-item figure figcaption > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.gh-gallery-item figure figcaption > a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}

.gh-gallery-item figure h2 {
  word-spacing: -0.15em;
  font-weight: 300;
}

.gh-gallery-item figure h2 span {
  font-weight: 800;
}

.gh-gallery-item figure h2,
.gh-gallery-item figure p {
  margin: 0;
}

.gh-gallery-item figure p {
  letter-spacing: 1px;
  font-size: 68.5%;
}

/*---------------*/
/***** Bubba *****/
/*---------------*/

figure.gh-hover-bubba {
  position: relative;
  background: #0000ff;
}

figure.gh-hover-bubba img {
  opacity: 1;
  -webkit-transition: opacity 0.35s;
  transition: opacity 0.35s;
}

figure.gh-hover-bubba:hover img {
  opacity: 0.4;
}
figure.gh-hover-bubba figcaption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
figure.gh-hover-bubba figcaption h2 {
  margin: 0 0 15px 0; /* 아래에 일정 간격 */
  line-height: 1.2;
  text-align: center;
}
figure.gh-hover-bubba figcaption span {
  display: block;
  margin-top: auto; /* h2가 길든 짧든 항상 일정 위치 유지 */
  background: rgba(0, 0, 0, 0.3);
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 14px;
}
figure.gh-hover-bubba figcaption::before,
figure.gh-hover-bubba figcaption::after {
  position: absolute;
  top: 15px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  content: "";
  opacity: 0;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
}

figure.gh-hover-bubba figcaption::before {
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1);
}

figure.gh-hover-bubba figcaption::after {
  border-right: 1px solid #fff;
  border-left: 1px solid #fff;
  -webkit-transform: scale(1, 0);
  transform: scale(1, 0);
}

figure.gh-hover-bubba h2 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  opacity: 0;
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
  -webkit-transform: translate3d(0, -20px, 0);
  transform: translate3d(0, -20px, 0);
}

figure.gh-hover-bubba p {
  width: 100%;
  padding: 10px;
  opacity: 0;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(0, 20px, 0);
  transform: translate3d(0, 20px, 0);
}

figure.gh-hover-bubba:hover figcaption::before,
figure.gh-hover-bubba:hover figcaption::after {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}

figure.gh-hover-bubba:hover h2,
figure.gh-hover-bubba:hover p {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

/* Clients */
.gh-content-section-pad {
  padding-left: 50px;
  padding-right: 50px;
}

.gh-clients-images {
  max-width: 1040px;
}

.gh-w-80 {
  max-width: 80%;
}

.gh-flex-item-left {
  align-self: flex-start;
}

.gh-img-wrap {
  padding: 10px;
}

.gh-img-wrap a {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 15px;
  width: 240px;
  height: 120px;
}

.gh-contact-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gh-contact-form {
  max-width: 305px;
  width: 100%;
}

.form-group {
  margin-bottom: 40px;
}

.gh-btn-primary {
  color: #707172;
  border-bottom: 1px solid #cdcecf;
  padding: 10px 18px;
  position: relative;
}

.gh-btn-primary:hover,
.gh-btn-primary:active {
  color: #fff;
  background-color: #999;
}

.gh-btn-primary:after {
  width: 100%;
  height: 0%;
  top: 0;
  left: 0;
  background: #cdcecf;
  content: "";
  position: absolute;
  z-index: -1;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.gh-btn-primary:hover:after,
.gh-btn-primary:active:after {
  height: 100%;
}

.form-control:focus {
  outline: none;
  box-shadow: none;
}

@media (max-width: 1600px) {
  .gh-sidebar {
    width: 30%;
    max-width: none;
    padding-left: 30px;
    padding-right: 30px;
  }

  .gh-content-section-wrap {
    width: 70%;
  }

  .gh-img-wrap a {
    width: 100%;
    height: 100%;
  }
}

.navbar-toggler {
  display: none;
}

@media (max-width: 991px) {
  .gh-bg-black-transparent {
    background-color: rgba(0, 0, 0, 0.5);
  }

  .gh-brand-title-box {
    margin-top: 30px;
    margin-bottom: 30px;
    max-width: 200px;
    min-height: 100px;
  }

  .gh-brand-title {
    padding: 20px 30px;
  }

  .gh-main-menu {
    margin-bottom: 60px;
  }

  footer p {
    line-height: 1;
  }

  .gh-sidebar {
    width: 250px;
    left: -250px;
    padding: 15px;
    transition: all 0.3s ease;
  }

  .navbar-toggler {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px 15px;
    transition: all 0.3s ease;
    border-radius: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    top: 5px;
  }

  .navbar-toggler:focus {
    outline: none;
  }

  .gh-sidebar.show {
    left: 0;
  }

  .gh-sidebar.show .navbar-toggler {
    left: 250px;
  }

  .gh-content-section-wrap {
    width: 100%;
  }

  figure.gh-hover-bubba h2 {
    font-size: 1.1rem;
    margin-bottom: 25px;
  }

  .gh-gallery-item figure p {
    font-size: 63%;
    padding: 0;
    line-height: 1.5;
  }
}

@media (max-width: 767px) {
  .gh-content-section {
    padding: 30px;
  }
}

@media (max-width: 554px) {
  .gh-content-section {
    padding: 15px;
  }
}

@media (max-width: 383px) {
  .slick-dots {
    bottom: -40px;
  }

  .gh-box-pad {
    padding: 50px 30px;
  }
}
.logo-container {
  max-width: 200px; /* 원하는 최대 너비 */
  width: 100%;
  display: flex;
  justify-content: center; /* 가로 가운데 정렬 */
  align-items: center; /* 세로 정렬도 필요하면 사용 *        /* 원하는 너비 */
  margin: 0 auto;
}

.logo {
  width: 100%;
  height: auto; /* 비율 유지 */
}

.logo-wrapper {
  position: relative;
  width: 200px;
  height: auto;
}

.logo-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transition: opacity 0.3s ease;
}

.logo.hover {
  opacity: 0;
}

.logo-wrapper:hover .hover {
  opacity: 1;
}

.logo-wrapper:hover .default {
  opacity: 0;
}

.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 비율 */
  height: 0;
  overflow: hidden;
  border-radius: 12px; /* 선택사항 */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.gh-main-menu {
  flex: 0 0 auto; /* 메뉴는 내용만큼 차지 */
}

.greeting-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.greeting-text {
  flex: 1;
  padding: 2rem;
  z-index: 2;
  position: relative;
  color: #000;
  background-color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  margin: 0 auto;
}

.greeting-text p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.75;
  letter-spacing: 0.01em;
  margin-bottom: 1.2rem;
}

.greeting-image {
  flex: 1;
  background-image: url("/img/CEO.png"); /* 배경 이미지 경로 */
  background-size: cover;
  background-position: center;
  min-height: 400px;
  border: 5px solid #f0f0f0;
  padding: 5px;
  box-sizing: border-box;
  margin-right: 15px;
}

/* 모바일: 이미지를 배경처럼 */
@media (max-width: 768px) {
  .greeting-wrap {
    display: block;
    position: relative;
    min-height: 400px;
    .gh-content-section-half {
      padding: 150px 15px 30px;
      margin-bottom: 30px;
    }
    .gh-content-section-half p,
    .gh-content-section-half form {
      margin-top: 0;
    }
  }

  .greeting-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: 1;
    margin-right: 0;
    border: none;
    padding: 0;
  }

  .greeting-text {
    font-size: 12px;
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    max-width: 100%;
  }
}

.gh-gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-right: 1rem;
}

.btn-view-category {
  padding: 0.6rem 1.2rem; /* 약 10px 20px */
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #4f46e5, #3b82f6);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  white-space: normal; /* 줄바꿈 허용 */
  word-break: keep-all;
  max-width: 100%;
  text-align: center;
}

.btn-view-category::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 75%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transform: skewX(-20deg);
  transition: left 0.4s ease;
}

.btn-view-category:hover {
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.4);
  transform: translateY(-1px);
}

.btn-view-category:hover::after {
  left: 125%;
}

.gh-content-section-half {
  position: relative; /* 위치 기준 */
  background: #ffffff;
  padding: 150px 25px 30px; /* 위쪽 여백 충분히 - 아이콘 공간 확보 */
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* 아이콘 감싸는 div 첫번째 자식 고정 위치 */
.gh-content-section-half > div:first-child {
  position: absolute;
  top: 30px; /* 적당히 위쪽에 고정 */
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  background: #3498db;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(52, 152, 219, 0.4);
  transition: background-color 0.3s ease;
  z-index: 10;
}

/* 호버시 색상 변화 */
.gh-content-section-half:hover > div:first-child {
  background-color: #1d6fa5;
}

/* 아이콘 스타일 */
.gh-content-section-half > div:first-child i.gh-content-section-icon {
  font-size: 3.5rem !important;
  color: white !important;
  margin: 0 !important;
}

/* 텍스트와 폼 마진 초기화 */
/* 패딩으로 공간 확보했으니 마진은 0으로 */
.gh-content-section-half p,
.gh-content-section-half form {
  margin-top: 0;
}

/* 전화번호, 이메일 문단 간격 추가 */
.gh-content-section-half p {
  margin: 12px 0; /* 위아래 여백 */
  line-height: 1.5;
}
.gh-content-section-half p + p {
  margin-top: 18px; /* 바로 다음 p와의 간격 좀 더 늘림 */
}

/* 버튼 스타일(기존 유지) */
.btn-primary {
  background-color: #3498db !important;
  border-color: #3498db !important;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  cursor: pointer;
  margin-top: 10px;
}

.btn-primary:hover {
  background-color: #1d6fa5 !important;
  border-color: #1d6fa5 !important;
}
/*---------------------------------------------*/
.category-btn {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  border: none;
  background-color: #007bff;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease, font-size 0.3s ease;
  user-select: none;
  white-space: nowrap;
  flex: 1 1 0;
  min-width: 80px;
  text-align: center;
}

.category-btn:hover {
  background-color: #0056b3;
}

.category-btn:active {
  background-color: #00408d;
}

.product-categories {
  padding-left: 12px; /* 스크롤 시작할 때 버튼 왼쪽 끝이 안 잘리도록 */
  padding-right: 12px; /* 필요하면 오른쪽도 살짝 여유 */
  display: flex;
  flex-wrap: wrap; /* ✅ 줄바꿈 허용 */
  justify-content: space-between; /* ✅ 중앙 정렬 */
  max-width: 960px;
  margin: 0 auto;
  gap: auto; /* ✅ 버튼 사이 간격 */
}

/* 반응형 폰트 크기 */
@media (max-width: 1147px) {
  .btn-view-category {
    padding: 0.5rem 1rem; /* 조금 여유 있게 */
    font-size: 0.7rem; /* 약 14.4px */
  }
}
@media (max-width: 768px) {
  .btn-view-category {
    padding: 0.5rem 1rem;
    font-size: 0.6rem;
  }
}
@media (max-width: 650px) {
  .btn-view-category {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem; /* 약 12.8px */
  }
}
@media (max-width: 480px) {
  .btn-view-category {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem; /* 약 12px */
  }
}

.product-image-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
  justify-items: center;
}

.image1 {
  grid-column: 1;
  grid-row: 1;
}

.image2 {
  grid-column: 2;
  grid-row: 1;
}

.image3 {
  grid-column: 1;
  grid-row: 2;
}
.product-acetal {
  width: 100%; /* 부모 컨테이너 너비에 맞춤 */
  max-width: 300px; /* 최대 크기 제한 */
  height: auto; /* 비율 유지 */
  transition: transform 0.3s ease;
  display: block; /* 불필요한 여백 제거 */
}

.product-acetal:hover {
  transform: scale(1.1);
  cursor: pointer;
}

/* 작은 화면에서는 max-width 줄이기 (선택 사항) */
@media (max-width: 480px) {
  .product-acetal {
    max-width: 200px;
  }
}

.product-diecollet {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;

  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border: none; /* ejector-needles-container > img 처럼 테두리는 없애고 그림자만 */
  transition: transform 0.3s; /* 혹시 호버 효과 주고 싶으면 */

  position: relative; /* z-index 필요하면 추가 가능 */
  z-index: 10;
}

/* 반응형: 모바일에서는 세로 정렬 */
@media (max-width: 768px) {
  .product-image-layout {
    grid-template-columns: 1fr;
  }

  .image1,
  .image2,
  .image3 {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
  }
}
.ejector-needles-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.ejector-needles-container > img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  border: none;
  transition: transform 0.3s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);

  position: relative; /* z-index 적용을 위해 position 필요 */
  z-index: 10; /* 항상 위에 있도록 크게 설정 */
}

.eject-holder-cap-row {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 900px;
  justify-content: center;
  flex-wrap: wrap;
  overflow: visible; /* 확대 이미지가 잘리지 않도록 */
}

.eject-holder-cap-row img {
  width: 32%;
  max-width: 400px;
  height: auto;
  margin-bottom: 10px;
  border-radius: 8px;
  object-fit: cover;
  border: none;
  transition: transform 0.3s;

  position: relative; /* z-index 적용 위해 필요 */
  z-index: 1; /* 위 사진보다 낮게 설정 */
}

.eject-holder-cap-row img:hover {
  transform: scale(1.05);
  z-index: 5; /* 호버 시에도 위 사진보다 아래 */
}

/* 모바일 대응 */
@media (max-width: 600px) {
  .eject-holder-cap-row {
    flex-direction: column;
    gap: 10px;
  }

  .eject-holder-cap-row img {
    width: 100%;
    max-width: none;
  }
}

/*----------------------------------------*/
.button-wrapper {
  vertical-align: top;
  position: relative;
  display: inline-block;
}

/* 메인 버튼 */

/* 애니메이션 초기 상태 */
.sub-buttons {
  position: absolute;
  top: 100%;
  left: 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  flex-direction: column;
  gap: 5px;
  background-color: white;
  padding: 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  z-index: 10;
}

/* 버튼 스타일 */
.sub-buttons button {
  padding: 8px 16px;
  background-color: #539dde;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 10px;
  text-align: left;
  width: 100%;
}

/* Hover 시 슬라이드다운 애니메이션 적용 */
.button-wrapper:hover .sub-buttons {
  max-height: 200px; /* 충분히 큰 값으로 설정 */
  opacity: 1;
  transform: translateY(0);
  padding: 5px 0;
}
.button-wrapper.always-open .sub-buttons {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
  padding: 5px 0;
}

@media (max-width: 768px) {
  .button-wrapper.always-open .sub-buttons {
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    padding: 0;
  }

  .button-wrapper:hover .sub-buttons {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
    padding: 5px 0;
  }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  padding: 20px;
}

.product-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.product-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* 화면 크기에 상관없이 최소 2개 열 유지 */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr); /* 2열 고정 */
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr); /* 1열이 아니라 2열로 고정 */
  }
}

.hexavision-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: flex-start; /* 왼쪽 정렬 */
  margin: 40px 0;
}

.hexavision-item {
  width: 100%;
  max-width: 1000px; /* ✅ 원하시는 사이즈로 수정 (예: 1000px) */
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 왼쪽 정렬 */
}

.product-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: left;
}

.image-group {
  display: flex;
  gap: 20px;
  align-items: center;
  overflow: visible;
}

.image-group img {
  max-width: 100%;
  max-height: 350px; /* 이전보다 큼 */
  object-fit: contain;
  border-radius: 8px;
  background-color: #fff;
  transition: transform 0.3s;
  display: block;
}

.image-group img:hover {
  transform: scale(1.05);
}

@media (max-width: 1600px) {
  .image-group img {
    width: 190px;
  }
}

/* 992px 이하 */
@media (max-width: 992px) {
  .image-group img {
    width: 140px;
  }
}

/* 768px 이하 */
@media (max-width: 768px) {
  .image-group img {
    width: 120px;
  }
}

/* 480px 이하 */
@media (max-width: 480px) {
  .image-group {
    flex-direction: column;
    align-items: center;
  }
  .image-group img {
    width: 90vw;
    max-width: 300px;
  }
}
.smt-item {
  max-width: 1000px;
  margin-bottom: 40px;
}

.smt-image-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.smt-image-group img {
  width: 400px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  background-color: #fff;
  transition: transform 0.3s;
  display: block;
}

.smt-image-group img:hover {
  transform: scale(1.05);
}

/* 반응형 단계별 이미지 크기 조절 */
@media (max-width: 1600px) {
  .smt-item img {
    max-width: 350px;
  }
}
@media (max-width: 1200px) {
  .smt-item img {
    max-width: 250px;
  }
}

@media (max-width: 992px) {
  .smt-item img {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .smt-item img {
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .smt-item {
    max-width: 90vw;
  }
  .smt-item img {
    max-width: 100%;
  }
}

.vespel-collet {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin: 20px auto;
  max-width: 1000px;
  flex-wrap: nowrap; /* ❗ 가로 고정 */
}

.vespel-collet img {
  width: 40%; /* 두 장이 한 줄에 나올 수 있는 너비 */
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s;
}

.vespel-collet img:hover {
  transform: scale(1.05);
}

/* 📱 반응형: 모바일에서는 세로 정렬 */
@media (max-width: 768px) {
  .vespel-collet {
    flex-direction: column;
    align-items: center;
  }

  .vespel-collet img {
    width: 90%;
  }
}

.magazine {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
}

.magazine img {
  width: 300px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.magazine .product-info {
  flex: 1;
}

.magazine .product-item {
  margin-bottom: 20px;
}

.magazine .product-item h2 {
  margin: 0 0 8px;
}

.magazine .product-item p {
  margin: 0;
  font-size: 0.95rem;
  color: #000000;
}

/* ✅ 반응형: 모바일 화면에서 세로 정렬 */
@media (max-width: 768px) {
  .magazine {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .magazine img {
    width: 100%;
    max-width: 400px;
  }

  .magazine .product-info {
    width: 100%;
  }
}
.icon {
  font-size: 2.5rem;
}

.card-bg-mct {
  background-color: #f0f8ff;
}
.card-bg-milling {
  background-color: #f9f9ff;
}
.card-bg-lathe {
  background-color: #fffaf0;
}
.card-bg-grind {
  background-color: #f6faff;
}
.card-bg-edm {
  background-color: #fef6f8;
}
.card-bg-injection {
  background-color: #f4fff6;
}
.equipment-card {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 32px 16px;
  transition: box-shadow 0.3s ease;
}
.equipment-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.icon {
  font-size: 2.2rem;
}
.gh-product-description {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}
.mfp-counter {
  display: none !important;
}
