.product__heading {
  position: relative;
  font-size: 48px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
  margin-bottom: 80px;
  text-align: center;
  /* padding-left 제거하여 가운데 정렬 */
}

@media screen and (max-width: 480px) {
  /* 더 작은 화면에서의 조정 */
  section.product__detail .product__detail--container h1.product__heading.mobile-centered {
    font-size: 32px !important;
    margin-top: 30px !important;
    margin-bottom: 45px !important;
  }
  
  section.product__detail .product__navigation {
    margin-bottom: 35px !important;
  }
}
/* 다이아몬드 모양 제거 */
/*
.product__heading::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  background-color: #4472c4;
  transform: rotate(-45deg);
}
*/

.product__list {
  padding-top: 110px;
  padding-bottom: 250px;
}
.product__list .list__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.product__list .list__grid.grid--battery {
    grid-template-columns: repeat(3, 1fr);
}
.product__list .list__grid .grid__item h3 {
  display: flex;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  height: 68px;
  margin-bottom: 8px;
  padding: 0 24px;
  border-radius: 16px;
  background-color: #265cac;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  align-items: center;
  justify-content: center;
}
.product__list .list__grid .grid__item h3 a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.product__list .list__grid .grid__item h3:hover a {
  opacity: 0.85;
}
.product__list .list__grid .grid__item .item__card {
  min-height: calc(100% - 76px);
  padding: 16px 24px;
  border-radius: 16px;
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.product__list .list__grid .grid__item .item__card figure {
    display: flex;
    aspect-ratio: 4/3;
    margin: 0;
    align-items: center;
}
.product__list .list__grid .grid__item .item__card figure a {
    display: block;
}
.product__list .list__grid .grid__item .item__card figure img {
    width: 100%;
}
.product__list .list__grid .grid__item .item__card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* 항목 리스트 기본 스타일 */
.product__list .list__grid .grid__item .item__card ul > li {
  position: relative;
}

.product__list .list__grid .grid__item .item__card ul > li > a {
  position: relative;
  display: block;
  width: 100%;
  font-size: 16px;
  font-weight: 500;
  color: #1f1f1f;
  padding: 10px 16px;
  border-radius: 8px;
  background-color: #f9f9f9;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* 커스텀 커서 효과 */
.product__list .list__grid .grid__item .item__card .custom-cursor {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid rgba(38, 92, 172, 0.8);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #265cac;
  background: rgba(38, 92, 172, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.product__list .list__grid .grid__item .item__card ul > li:hover .custom-cursor {
  opacity: 1;
}

/* 항목 hover 효과 */
.product__list .list__grid .grid__item .item__card ul > li > a:hover {
  background-color: #265cac;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(38, 92, 172, 0.3);
}

/* 화살표 아이콘 수정 */
.product__list .list__grid .grid__item .item__card ul > li > a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 7px;
  height: 12px;
  background-image: url("../assets/images/product_item_arrow.svg");
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  filter: brightness(0) invert(1); /* hover 시 흰색으로 변경 */
}

.product__list .list__grid .grid__item .item__card ul > li > a:hover::after {
  opacity: 1;
}
.product__list .list__grid .grid__item .item__card dl dt {
  font-size: 16px;
  font-weight: 700;
  color: #979797;
  line-height: 1.1875;
  margin-bottom: 8px;
}
.product__list .list__grid .grid__item .item__card dl + dl {
  margin-top: 20px;
}
.product__list .list__grid .grid__item .item__card .subdepth {
  padding: 10px 16px;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
}
.product__list .list__grid .grid__item .item__card .subdepth h4 {
  font-size: 12px;
  font-weight: 500;
  color: #979797;
  line-height: 1.16;
  margin-bottom: 8px;
}
.product__list .list__grid .grid__item .item__card .subdepth ul {
  gap: 8px;
}
.product__list .list__grid .grid__item .item__card .subdepth ul > li > a {
  font-size: 14px;
  height: 34px;
  display: flex;
  align-items: center;
}

/* subdepth 항목에도 hover 효과 적용 */
.product__list .list__grid .grid__item .item__card .subdepth ul > li > a:hover {
  background-color: #265cac;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(38, 92, 172, 0.3);
}

.product__list .list__grid .grid__item .item__card .subdepth ul > li > a::after {
  right: 16px;
}

.product__list .list__grid .grid__item .item__card .subdepth ul > li > a:hover::after {
  opacity: 1;
  filter: brightness(0) invert(1);
}
.product__list .list__grid .grid__item .item__card .subdepth + .subdepth {
  margin-top: 8px;
}

.product__detail {
  padding-top: 60px;
  --navigation-dropdown-height: 0px;
}
.product__navigation {
  display: flex;
  margin-bottom: 50px;
  gap: 22px;
}
.product__navigation .navigation__item {
  position: relative;
  z-index: 100;
}
.product__navigation .navigation__item button {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 440px;
  height: 78px;
  padding: 0 16px;
  border: none;
  border-radius: 20px;
  background-color: #16408D;
  align-items: center;
  outline: none;
  z-index: 5;
  transition: 0.3s;
}
.product__navigation .navigation__item button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  border-radius: 20px;
  background-color: #a7c4f7;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease, height 0.3s ease;
}
.product__navigation .navigation__item button .icon,
.product__navigation .navigation__item button .count {
  position: relative;
  z-index: 2;
}
.product__navigation .navigation__item button .icon {
  display: flex;
  align-items: center;
  gap: 20px;
  pointer-events: none;
}
.product__navigation .navigation__item button .icon figure {
  margin: 0;
}
.product__navigation .navigation__item button span {
  font-size: 22px;
  color: #fff;
  transition: font-size 0.3s, font-weight 0.3s, color 0.3s;
}
.product__navigation .navigation__item button.active {
  width: 500px;
}
.product__navigation .navigation__item button.active span {
  font-size: 24px;
  font-weight: 700;
  color: #246BEB;
}
.product__navigation .navigation__item button.active::before {
  opacity: 1;
  height: var(--navigation-dropdown-height);
}
.product__navigation .navigation__item .navigation__dropdown {
  position: absolute;
  display: none;
  flex-direction: column;
  top: 100%;
  left: 0;
  right: 0;
  padding: 16px 16px 16px 63px;
  z-index: 5;
  gap: 20px;
  overflow: hidden;
}
.product__navigation .navigation__item .navigation__dropdown a {
  position: relative;
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.product__navigation .navigation__item .navigation__dropdown a:hover {
  color: #16408d;
}
.product__navigation .navigation__item .navigation__dropdown a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 2px;
  background-color: #16408d;
  width: 0;
  transition: width 0.3s ease-in-out;
}
.product__navigation .navigation__item .navigation__dropdown a:hover::after {
  width: 100%;
}
.product__detail .product__heading {
  margin-bottom: 24px;
}
.product__detail .detail__container {
  position: relative;
  display: flex;
  width: 100%;
  padding: 60px 70px 28px 42px;
  /*border: 1px solid #d8e6ff;*/
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 30px #9d9d9d52;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  justify-content: space-between;
}
.product__detail .detail__container .detail__info {
  position: relative;
  width: 450px;
}
.product__detail .detail__container .detail__info h3 {
  font-size: 26px;
  font-weight: 700;
  color: #4472c4;
  line-height: 1.1875;
  margin-bottom: 24px;
  max-width:300px;
}
.product__detail .detail__container .detail__info p {
  font-size: 16px;
  color: #000;
  line-height: 1.25;
  word-break: keep-all;
}
.product__detail .detail__container .detail__info .product__img {
  position: absolute;
  margin: 0;
  bottom: 32px;
  left: -17px;
  z-index: 1;
}
.product__detail .detail__container .detail__slider {
  position: relative;
  width: 59.5%;
  --swiper-pagination-bullet-opacity: 1;
  --swiper-pagination-color: #4660ea;
  --swiper-pagination-bullet-inactive-color: white;
  --swiper-pagination-bullet-inactive-opacity: 1;
  --swiper-navigation-sides-offset: -28px;
  --swiper-navigation-size: 26px;
  --swiper-navigation-color: #fff;
}
.product__detail .detail__container .detail__slider .video__wrapper {
  position: relative;
  aspect-ratio: 1/0.5625;
  border-radius: 10px;
  overflow: hidden;
}
.product__detail .detail__container .detail__slider .video__wrapper iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}
.product__detail .detail__container .detail__slider .swiper-pagination {
  position: static;
  margin-top: 23px;
}
.product__detail .detail__container .detail__slider .swiper-pagination-bullet {
  border: 1px solid #4660ea;
}
.product__detail .detail__container .detail__slider .swiper-button-prev,
.product__detail .detail__container .detail__slider .swiper-button-next {
  width: 56px;
  height: 56px;
  margin-top: -28px;
  border-radius: 50%;
  background-color: #4660ea;
}
.product__detail .detail__container .detail__slider .swiper-button-prev.swiper-button-disabled,
.product__detail .detail__container .detail__slider .swiper-button-next.swiper-button-disabled {
  --swiper-navigation-color: #4660ea;
  background-color: #bed5ff;
  opacity: 1;
}
.product__detail .bg__text {
  position: fixed;
  left: 0;
  bottom: 120px;
  z-index: -1;
}
.product__detail .bg__text p {
  font-size: 252px;
  font-weight: 900;
  color: #fbfbfb;
  line-height: 1.19;
  white-space: nowrap;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.product__detail .bg__text p:nth-of-type(1) {
  transform: translateX(-440px);
}
.product__detail .bg__text p:nth-of-type(2) {
  transform: translateX(-1148px);
}

.process__floorplan--layer {
    display: none;
    position: fixed;
    left: 50%;
    width: 1500px;
    max-width: calc(100% - 0px);
    height: 510px;
    text-align: center;
    background-color: #fff;
    z-index: 90 !important;
	border: 1px solid #d8e6ff;
    border-radius: 10px;
}

.process__floorplan--layer .button__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 48px;
    height: 48px;
    z-index: 10;
    border: none;
    background-color: transparent;
}

.process__floorplan--layer img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.product__list--grid {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.product__list--grid .grid__title {
    width: 320px;
}

.product__list--grid.grid--film .grid__title {
    width: 480px;
}

.product__list--grid .grid__title dl {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.product__list--grid .grid__title dl dt {
    display: flex;
    width: 160px;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    background-color: #e5e7eb;
}

.product__list--grid .grid__title dl dd {
    flex: 1;
    flex-grow: 1;
    min-width: 300px;
}

.product__list--grid .grid__title ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product__list--grid .grid__title ul li a {
    display: flex;
    width: 100%;
    height: 54px;
    padding: 0 16px;
    font-size: 18px;
    font-weight: 600;
    color: #4b5563;
    border-radius: 12px;
    align-items: center;
    justify-content: space-between;
}

.product__list--grid .grid__title ul li.active a {
    font-weight: 700;
    color: #fff;
    background-color: #265cac;
}

.product__list--grid .grid__title ul li.active a::after {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' class='bi bi-chevron-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/%3E%3C/svg%3E");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.product__list--grid .grid__floorplan {
    flex: 1;
    flex-grow: 1;
}

.product__list--grid .grid__floorplan .floorplan__item {
    position: relative;
    display: none;
    margin: 0;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    align-items: center;
    overflow: hidden;
}

.product__list--grid .grid__floorplan .floorplan__item a {
    display: block;
    width: 100%;
}

.product__list--grid .grid__floorplan .floorplan__item img {
    width: 100%;
}

.product__list--grid .grid__floorplan .floorplan__item.active {
    display: flex;
}

/* ============================================
   battery_list.php 모바일 대응 스타일
   ============================================ */

/* 모바일 네비게이션 셀렉트박스 (기본적으로 숨김) */
.mobile-battery-nav {
  display: none;
  width: 100%;
  margin-bottom: 30px;
}

.mobile-battery-nav select {
  width: 100%;
  height: 50px;
  padding: 0 40px 0 16px;
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234b5563' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  appearance: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-battery-nav select:focus {
  outline: none;
  border-color: #265cac;
  box-shadow: 0 0 0 3px rgba(38, 92, 172, 0.1);
}

/* 모바일 평면도 모달 */
.mobile-floorplan-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  overflow: auto;
}

.mobile-floorplan-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-floorplan-modal .modal-content {
  position: relative;
  width: 95%;
  max-width: 600px;
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden;
}

.mobile-floorplan-modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e5e7eb;
}

.mobile-floorplan-modal .modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
}

.mobile-floorplan-modal .modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.2s;
}

.mobile-floorplan-modal .modal-close:hover {
  background-color: #e5e7eb;
}

.mobile-floorplan-modal .modal-body {
  position: relative;
  padding: 20px;
  overflow: hidden;
}

.mobile-floorplan-modal .floorplan-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  touch-action: pan-x pan-y;
}

.mobile-floorplan-modal .floorplan-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* 모바일에서 포인트 크기 축소 */
@media (max-width: 768px) {
  .highlight__point {
    width: 20px;
    height: 20px;
  }
  
  .mobile-floorplan-modal .highlight__point {
    width: 24px;
    height: 24px;
  }
  
  /* 모바일 모달에서 포인트 호버 효과 */
  .mobile-floorplan-modal .highlight__point:active {
    transform: translate(-50%, -50%) scale(1.2);
    background-color: #dc2626;
  }
}

/* 반응형 디자인 - 목록 페이지 */
@media (max-width: 1375px) {
    .process__floorplan--layer {
        height: auto;
    }
}

@media (max-width: 1200px) {
  .product__list .list__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .product__list {
    padding-top: 50px;
    padding-bottom: 100px;
  }
  
  .product__list .product__list--container {
    padding: 0 20px; /* 모바일 좌우 여백 추가 */
  }
  
  .product__list .list__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .product__list .list__grid.grid--battery {
    grid-template-columns: 1fr;
  }
  
  .product__heading {
    font-size: 32px;
    margin-bottom: 40px;
    /* padding-left 제거, 가운데 정렬 유지 */
  }
  
  /* 모바일에서 배터리 항목 레이아웃 수정 */
  .product__list .list__grid.grid--battery .grid__item h3 {
    position: absolute;
    width: 100%;
    margin: 0;
    height: auto;
    padding: 20px 24px;
    font-size: 18px;
    z-index: 1;
    background: #f0f5ff;
    color: #265cac;
    box-shadow: none;
    border-radius: 16px 16px 0 0;
    text-align: center;
    font-weight: 700;
    border-bottom: 2px solid #e0e9ff;
  }
  
  .product__list .list__grid.grid--battery .grid__item h3 a {
    color: #265cac;
  }
  
  .product__list .list__grid.grid--battery .grid__item .item__card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 320px; /* 고정 높이 설정 */
    padding: 0;
    overflow: hidden;
  }
  
  .product__list .list__grid.grid--battery .grid__item .item__card figure {
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 90px 20px 20px; /* 상단 패딩 증가로 제목 공간 확보 */
    margin: 0;
  }
  
  .product__list .list__grid.grid--battery .grid__item .item__card figure img {
    max-height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }
  
  /* battery_list.php 모바일 레이아웃 */
  .product__list--container {
    padding: 0 20px;
  }
  
  /* 데스크톱 네비게이션 숨기기 */
  .product__navigation {
    display: none !important;
  }
  
  /* 모바일 네비게이션 표시 */
  .mobile-battery-nav {
    display: block;
  }
  
  /* 모바일에서 그리드 레이아웃 변경 */
  .product__list--grid {
    flex-direction: column;
    gap: 30px;
  }
  
  .product__list--grid .grid__title {
    width: 100%;
    order: 2; /* 평면도 아래로 이동 */
  }
  
  .product__list--grid .grid__floorplan {
    width: 100%;
    order: 1; /* 평면도를 위로 */
  }
  
  /* 모바일에서 제목 리스트 스타일 변경 */
  .product__list--grid .grid__title ul {
    gap: 12px;
  }
  
  .product__list--grid .grid__title ul li {
    position: relative;
    overflow: hidden; /* 넘치는 내용 숨김 */
    border-radius: 12px; /* 전체 모서리 둥글게 */
  }
  
  .product__list--grid .grid__title ul li a:first-child {
    display: block;
    height: 48px;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    padding: 0 16px;
    line-height: 48px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* 모바일에서 hover 효과 제거하고 active만 유지 */
  .product__list--grid .grid__title ul li.active a:first-child {
    background-color: #265cac;
    color: #fff;
    border-color: #265cac;
    position: relative;
    font-weight: 600; /* 더 굵은 글씨 */
    box-shadow: 0 2px 8px rgba(38, 92, 172, 0.3); /* 그림자 추가 */
  }
  
  /* 활성화된 항목 스타일 - 체크 표시 제거 */
  .product__list--grid .grid__title ul li.active a:first-child::before {
    display: none; /* 체크 표시 제거 */
  }
  
  .product__list--grid .grid__title ul li.active a:first-child {
    padding-left: 16px; /* 원래 패딩으로 복구 */
  }
  
  /* 화살표 제거 - 상세보기 버튼으로 대체 */
  .product__list--grid .grid__title ul li a::after {
    display: none;
  }
  
  /* notice-item 모바일에서 숨기기 */
  .product__list--grid .grid__title ul li.notice-item {
    display: none;
  }
  
  /* 모바일 상세보기 버튼 */
  .product__list--grid .grid__title ul li .mobile-detail-btn {
    display: none;
    position: absolute;
    right: 0;
    top: 0;
    height: 48px;
    line-height: 48px;
    align-items: center;
    background-color: transparent;
    color: #4b5563;
    padding: 0 40px 0 16px; /* 오른쪽 패딩 증가 */
    border: none;
    border-radius: 0 12px 12px 0; /* 오른쪽 모서리만 둥글게 */
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    z-index: 10;
    animation: fadeIn 0.3s ease;
  }
  
  .product__list--grid .grid__title ul li .mobile-detail-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background-color: #e5e7eb;
  }
  
  .product__list--grid .grid__title ul li.active .mobile-detail-btn::before {
    background-color: rgba(255, 255, 255, 0.3);
  }
  
  /* 꽕컈 화살표 아이콘 */
  .product__list--grid .grid__title ul li .mobile-detail-btn::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    width: 6px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-50%) rotate(-45deg);
    animation: none;
  }
  
  /* 활성화된 상태에서 화살표 애니메이션 */
  .product__list--grid .grid__title ul li.active .mobile-detail-btn::after {
    animation: arrowPulse 3s ease-in-out infinite;
  }
  
  @keyframes arrowPulse {
    0%, 100% {
      border-color: #fff;
      opacity: 1;
      right: 16px;
    }
    25% {
      border-color: #a7c4f7;
      opacity: 0.8;
      right: 14px;
    }
    50% {
      border-color: #4660ea;
      opacity: 0.6;
      right: 16px;
    }
    75% {
      border-color: #a7c4f7;
      opacity: 0.8;
      right: 14px;
    }
  }
  
  .product__list--grid .grid__title ul li.active .mobile-detail-btn {
    display: block;
    color: #fff;
    background-color: #265cac; /* 활성화 상태 배경색 */
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  .product__list--grid .grid__title ul li.active a:first-child {
    padding-right: 100px; /* 상세보기 버튼 공간 확보 */
  }
  
  /* 평면도 이미지 터치 가능하도록 */
  .product__list--grid .grid__floorplan .floorplan__item {
    cursor: pointer;
    border: 2px solid #e5e7eb;
    transition: border-color 0.3s ease;
    position: relative;
  }
  
  .product__list--grid .grid__floorplan .floorplan__item.active {
    border-color: #265cac;
    box-shadow: 0 4px 12px rgba(38, 92, 172, 0.15);
  }
  
  /* 평면도에 확대 안내 추가 */
  .product__list--grid .grid__floorplan .floorplan__item::after {
    content: '클릭하여 확대';
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  
  .product__list--grid .grid__floorplan .floorplan__item.active::after {
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .product__list .product__list--container {
    padding: 0 15px; /* 더 작은 화면에서는 약간 줄임 */
  }
  
  .product__list .list__grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .product__heading {
    font-size: 28px;
    /* 가운데 정렬 유지 */
  }
  
  .product__list .list__grid .grid__item h3 {
    font-size: 20px;
    height: 56px;
    padding: 0 20px;
    justify-content: center;
  }
  
  .product__list .list__grid .grid__item .item__card {
    padding: 12px 16px;
  }
  
  .product__list .list__grid .grid__item .item__card ul > li > a {
    font-size: 14px;
    padding: 8px 12px;
  }
  
  /* battery_list.php 480px 이하 추가 스타일 */
  .product__list--container {
    padding: 0 15px;
  }
  
  .mobile-battery-nav {
    margin-bottom: 20px;
  }
  
  .mobile-battery-nav select {
    height: 45px;
    font-size: 15px;
  }
  
  .product__list--grid {
    gap: 20px;
  }
  
  .product__list--grid .grid__title ul li a {
    height: 44px;
    font-size: 15px;
    padding: 0 12px;
  }
  
  /* 480px 이하에서 상세보기 버튼 조정 */
  .product__list--grid .grid__title ul li .mobile-detail-btn {
    font-size: 13px;
    padding: 0 35px 0 12px;
  }
  
  .product__list--grid .grid__title ul li.active a:first-child {
    padding-right: 90px;
    padding-left: 16px; /* 체크 표시 제거 후 원래 패딩 */
  }
  
  /* 모바일 평면도 모달 조정 */
  .mobile-floorplan-modal .modal-content {
    width: 100%;
    max-width: none;
    margin: 20px;
    border-radius: 12px;
  }
  
  .mobile-floorplan-modal .modal-header {
    padding: 14px 16px;
  }
  
  .mobile-floorplan-modal .modal-title {
    font-size: 16px;
  }
  
  .mobile-floorplan-modal .modal-body {
    padding: 16px;
  }
}

/* 모바일에서 제목 가운데 정렬 스타일 */
@media (max-width: 768px) {
  .product__detail .product__heading.mobile-centered {
    text-align: center !important;
    padding-left: 0 !important;
    margin-top: 30px !important; /* 상단 여백 추가 */
    margin-bottom: 50px !important; /* 하단 여백 더 증가 */
    order: -1; /* flexbox 순서를 위해 추가 */
  }
  
  .product__detail .product__heading.mobile-centered::before {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .product__detail .product__heading.mobile-centered {
    font-size: 28px;
    margin-top: 20px !important; /* 상단 여백 */
    margin-bottom: 40px !important; /* 하단 여백 더 증가 */
  }
}

/* 반응형 디자인 - 상세 페이지 */
@media (max-width: 768px) {
  .product__detail {
    padding-top: 20px; /* 40px -> 20px로 반으로 줄임 */
  }
  
  .product__detail .product__detail--container {
    padding: 0 20px; /* 좌우 여백 추가 */
    display: flex;
    flex-direction: column;
  }
  
  /* 모바일 네비게이션 - 기존 버튼들 숨기기 */
  .product__detail .product__navigation {
    position: relative;
    margin-bottom: 40px; /* 네비게이션과 다음 요소 사이 간격 증가 */
    order: 1; /* flexbox 순서 - 제목 뒤에 오도록 */
  }
  
  .product__detail .product__navigation .navigation__item {
    display: none;
  }
  
  /* 모바일 셀렉트 박스 숨기기 (커스텀 콤보박스로 대체) */
  .product__detail .mobile-category-select {
    display: none;
  }
  
  /* 커스텀 콤보박스 */
  .product__detail .mobile-combo-box {
    display: block;
    position: relative;
    width: 100%;
  }
  
  .product__detail .combo-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 56px;
    padding: 0 20px;
    border: 2px solid transparent;
    border-radius: 16px;
    background: linear-gradient(135deg, #e6efff 0%, #f0f5ff 100%);
    font-size: 16px;
    font-weight: 600;
    color: #4660ea;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(70, 96, 234, 0.1);
  }
  
  .product__detail .combo-selected:hover {
    border-color: #4660ea;
    box-shadow: 0 4px 12px rgba(70, 96, 234, 0.2);
  }
  
  .product__detail .combo-selected.active {
    border-color: #4660ea;
    background: #fff;
    box-shadow: 0 4px 16px rgba(70, 96, 234, 0.25);
  }
  
  .product__detail .combo-selected .combo-arrow {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
  }
  
  .product__detail .combo-selected.active .combo-arrow {
    transform: rotate(180deg);
  }
  
  .product__detail .combo-selected .combo-arrow svg {
    width: 12px;
    height: 12px;
  }
  
  .product__detail .combo-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
    animation: slideDown 0.3s ease;
  }
  
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .product__detail .combo-dropdown.active {
    display: block;
  }
  
  .product__detail .combo-group {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .product__detail .combo-group:last-child {
    border-bottom: none;
  }
  
  .product__detail .combo-group-label {
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 700;
    color: #979797;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .product__detail .combo-option {
    display: block;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
  }
  
  .product__detail .combo-option:hover {
    background-color: #f8faff;
    color: #4660ea;
    padding-left: 24px;
  }
  
  .product__detail .combo-option.active {
    background-color: #e6efff;
    color: #4660ea;
    font-weight: 600;
  }
  
  /* 컨테이너 세로 배치 */
  .product__detail .detail__container {
    flex-direction: column;
    padding: 24px 20px; /* 30px -> 24px로 줄임 */
    order: 2; /* flexbox 순서 - 네비게이션 뒤에 오도록 */
  }
  
  .product__detail .detail__container .detail__info {
    width: 100%;
    margin-bottom: 20px; /* 30px -> 20px로 줄임 */
  }
  
  .product__detail .detail__container .detail__info h3 {
    font-size: 24px;
    margin-bottom: 16px;
	max-width: fit-content;
  }
  
  .product__detail .detail__container .detail__info p {
    font-size: 16px;
  }
  
  .product__detail .detail__container .detail__info .product__img {
    position: static;
    margin-top: 20px;
    text-align: center;
  }
  
  /* 모바일에서 이미지 크기 제한 */
  .product__detail .detail__container .detail__info .product__img img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  
  .product__detail .detail__container .detail__slider {
    width: 100%;
  }
  
  /* 배경 텍스트 크기 조정 */
  .product__detail .bg__text {
    bottom: 60px;
  }
  
  .product__detail .bg__text p {
    font-size: 120px;
  }
}

/* 기본적으로 모바일 셀렉트와 콤보박스는 숨김 */
.mobile-category-select,
.mobile-combo-box {
  display: none;
}

/* 데스크탑에서는 detail__container가 표시되도록 */
@media (min-width: 769px) {
  .product__detail .detail__container {
    display: flex !important;
  }

  .mobile__floorplan {
    display: none;
  }
}

/* 작은 화면에서 추가 조정 */
@media (max-width: 480px) {
  .product__detail .product__detail--container {
    padding: 0 15px;
  }
  
  .product__detail .detail__container {
    padding: 20px 15px;
    border-radius: 12px;
  }
  
  /* 480px 이하에서 네비게이션 하단 간격 추가 조정 */
  .product__detail .product__navigation {
    margin-bottom: 30px; /* 더 큰 간격을 위해 증가 */
  }
  
  .product__detail .detail__container .detail__info h3 {
    font-size: 20px;
  }
  
  .product__detail .detail__container .detail__info p {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .product__detail .bg__text p {
    font-size: 80px;
  }
  
  /* 스와이퍼 버튼 크기 조정 */
  .product__detail .detail__container .detail__slider .swiper-button-prev,
  .product__detail .detail__container .detail__slider .swiper-button-next {
    width: 40px;
    height: 40px;
    margin-top: -20px;
  }
  
  .product__detail .detail__container .detail__slider {
    --swiper-navigation-size: 20px;
  }
  
  /* 480px 이하에서도 이미지 크기 제한 */
  .product__detail .detail__container .detail__info .product__img img {
    max-width: 100%;
    height: auto;
  }
}

/* 모바일 제목 스타일 강제 적용 - 최우선 순위 */
@media screen and (max-width: 768px) {
  /* 모바일에서만 적용되는 스타일 */
  .product__detail section.product__detail {
    padding-top: 0 !important;
  }
  
  .product__detail .product__detail--container {
    padding-top: 0 !important;
  }
  
  /* 모바일 제목 스타일 - 매우 구체적인 선택자로 우선순위 높이기 */
  section.product__detail .product__detail--container h1.product__heading.mobile-centered {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 0 !important;
    padding-left: 0 !important;
    margin: 0 auto !important;
    margin-top: 40px !important;
    margin-bottom: 60px !important;
    order: -1 !important;
    position: relative !important;
  }
  
  /* 다이아몬드 모양 제거 - 더 구체적인 선택자 */
  section.product__detail .product__detail--container h1.product__heading.mobile-centered::before {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
  }
  
  /* 네비게이션 간격 */
  section.product__detail .product__navigation {
    margin-bottom: 50px !important;
  }

  .process__floorplan--layer {
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 85% !important;
    height: auto !important;
	max-width: calc(100% - 40px);
    border-radius: 20px;
  }

  .mobile__floorplan {
    margin-bottom: 50px;
    order: 2;
  }

  .mobile__floorplan .btn__floorplan {
    display: block;
    width: 100%;
    height: 50px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    border: 0;
    border-radius: 16px;
    background-color: #16408D;
  }

}

/* 공정 계략도 dim 처리 - 모바일과 데스크탑 공통 */
.process__floorplan--dim {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9998;
}

.process__floorplan--dim.active {
  display: block;
}

/* 공정 계략도 레이어가 dim 위에 오도록 z-index 설정 */
.process__floorplan--layer {
  position: fixed !important;
  z-index: 9999 !important;
}

/* Film 페이지 모바일 추가 스타일 */
@media (max-width: 768px) {
  /* Film 페이지 grid 레이아웃 */
  .product__list--grid.grid--film {
    padding: 0;
    gap: 20px;
  }
  
  .product__list--grid.grid--film .grid__title {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  
  .product__list--grid.grid--film .grid__title dl {
    display: block;
    gap: 0;
  }
  
  .product__list--grid.grid--film .grid__title dl dt {
    width: 100%;
    margin-bottom: 12px;
    padding: 12px 16px;
    font-size: 16px;
    background-color: #f0f5ff;
    color: #265cac;
    border: 1px solid #e0e9ff;
  }
  
  .product__list--grid.grid--film .grid__title dl dd {
    min-width: unset;
    width: 100%;
    margin-bottom: 20px;
    padding: 0;
  }
  
  .product__list--grid.grid--film .grid__title ul {
    gap: 8px;
  }
  
  .product__list--grid.grid--film .grid__title ul li a {
    height: 44px;
    font-size: 14px;
    padding: 0 12px;
    line-height: 44px;
  }
  
  /* notice 항목 숨기기 */
  .product__list--grid.grid--film .notice-item {
    display: none;
  }
}

@media (max-width: 480px) {
  .product__list--grid.grid--film .grid__title dl dt {
    font-size: 14px;
    padding: 10px 14px;
  }
  
  .product__list--grid.grid--film .grid__title ul li a {
    height: 40px;
    font-size: 13px;
    line-height: 40px;
  }
}