/* 공통 Start */
img {
  max-width: 100%;
}

.color-main {
  color: #66a443;
}

.font-color-lightgray {
  color: #888888;
}

.font-color-gray {
  color: #666666;
}

.font-color-black {
  color: #000000;
}

.font-color-white {
  color: #ffffff;
}

.only-pc {
  display: block;
}

.only-mb {
  display: none;
}

.padding-side-80 {
  padding-left: 80px;
  padding-right: 80px;
}

@media (max-width: 768px) {
  .only-pc {
    display: none;
  }

  .only-mb {
    display: block;
  }

  .padding-side-80 {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* 버튼 모음 */
.button-vsm {
  width: auto;
  height: auto;
  font-size: 12px;
  padding: 5px 10px;
  transition: background-color .2s ease, color .2s ease;
  border-radius: 5px;
  text-align: center;
}

@media (max-width: 768px) {
  .button-vsm {
    font-size: 12px;
  }
}

.button-md {
  width: auto !important;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 16px 28px;
  transition: background-color .2s ease, color .2s ease;
  border-radius: 5px;
  text-align: center;
}

@media (max-width: 768px) {
  .button-md {
    font-size: 10px;
    padding: 12px 20px;
  }
}

@media (min-width: 1024px) {
  .button-md {
    font-size: 14px;
    line-height: 1.25;
    min-width: 180px;
    padding-left: 32px;
    padding-right: 32px
  }
}

.button-border {
  border: 1px solid #66a443;
}

.button-white {
  color: #000;
  background-color: #fff;
}

.button-white:hover {
  background-color: #4f822b;
  color: #fff;
}

.button-black {
  color: #fff;
  background-color: #000
}

.button-gray {
  color: #fff;
  background-color: #666666
}

.button-gray:hover {
  background-color: #4f822b
}

.button-lightgray {
  color: #333333;
  background-color: lightgray;
}

.button-lightgray:hover {
  background-color: #4f822b
}

.button-black:hover {
  background-color: #66a443;
  color: #fff
}

.button-primary {
  background-color: #66a443;
  color: #fff
}

.button-primary:hover {
  background-color: #4f822b;
  color: #fff
}

.button-underline {
  color: #66a443;
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

/* 셀렉트박스 */
.select-box {
  margin: 10px 0;
  max-width: 390px;
}

.select-box select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  background-color: #fff;
  cursor: pointer;
}

.select-box select:focus {
  outline: none;
  border-color: #66a443;
}

/* 공통 End */

/* 슬라이더 관련 - Start */
/* 슬라이더 곹통 */
.sliderIDmainkeyvisual .slick-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.sliderIDmainkeyvisual .slick-dots li {
  width: 8px !important;
  height: 8px !important;
  margin: 0 4px !important;
  padding: 0 !important;
}

.sliderIDmainkeyvisual .slick-dots li button {
  font-size: 0;
  line-height: 0;
  padding: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: #000000 !important;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: block;
}

.sliderIDmainkeyvisual .slick-dots li.slick-active button {
  opacity: 1;
}

.sliderIDmainkeyvisual .slick-dots li.slick-active button {
  background: #ffffff !important;
  border: 1px solid #000000 !important;
}

.sliderIDmainkeyvisual .slick-arrow {
  visibility: visible;
  opacity: 1;
}

.sliderIDmainkeyvisual .slick-arrow.slick-prev {
  left: 30px;
  right: auto;
}

.sliderIDmainkeyvisual .slick-arrow.slick-next {
  right: 30px;
  left: auto;
}

/* 슬라이더 - 탑메뉴 */
.swiper-topmenu {
  width: 100%;
  height: 100%;
}

.swiper-topmenu .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.swiper-topmenu .swiper-slide span {
  text-transform: uppercase;
}

.swiper-topmenu .swiper-slide-start {
  background-size: cover;
  background-position: center;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  width: 260px;
  color: #ffffff;
}

.swiper-topmenu .swiper-slide-start:hover {
  border-bottom: 1px solid #f5f5f5 !important;
}

.swiper-topmenu .swiper-button-next:after,
.swiper-topmenu .swiper-button-prev:after {
  display: none;
}

.swiper-topmenu .custom-next,
.swiper-topmenu .custom-prev {
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-topmenu .custom-next i,
.swiper-topmenu .custom-prev i {
  color: #333;
  font-size: 16px;
}

.swiper-topmenu .swiper-button-disabled {
  display: none !important;
}

.swiper-topmenu {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.3s ease;
  position: relative;
  overflow-x: auto;
  height: 183px;
  scrollbar-width: none;
  -ms-overflow-style: none;

  &::-webkit-scrollbar {
    display: none;
  }
}

.swiper-topmenu .swiper-slide {
  flex: 0 0 auto;
  border: 1px solid #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: border-bottom-color 0.2s;
  cursor: pointer;
}

.swiper-topmenu .swiper-slide:hover {
  border-bottom: 4px solid #66a443;
}

.swiper-topmenu .swiper-slide img {
  margin: 30px 0 10px 0;
  max-height: 92px;
}

.swiper-topmenu .swiper-slide span {
  margin: 10px 0 20px 0;
  color: #000000;
  font-size: 12px;
  font-weight: 600;
}

/* 상단메뉴 Start*/
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 45px;
  padding: 0 80px;
  color: #66A443;
  position: relative;
}

@media only screen and (max-width: 767px) {
  .header-top {
    display: none;
  }
}

.header-top .left {
  justify-content: flex-start;
}

.header-top .center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.header-top .right {
  justify-content: flex-end;
}

.menu-item-has-children a {
  font-size: 12px !important;
  line-height: calc(14 / 12) !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

.d-menu {
  position: absolute !important;
  left: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
  overflow: hidden !important;
  margin: 20px 0 20px 0;
}

.logo {
  height: 29px;
}

/* 푸터 Start */

.footer {
  background-color: #000;
  color: #ffffff;
  font-size: 12px;
  margin-top: 50px;
  padding: 30px 80px;
}

.footer h4 {
  color: #ffffff;
}

.footer-bottom-menu {
  display: flex;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-bottom-menu li {
  margin-right: 20px;
}

.footer-bottom-menu li a {
  color: #ffffff;
}

.footer-bottom-menu li:last-child {
  margin-right: 0;
}

.footer .sub-menu__title {
  font-weight: 700;
  font-size: 14px;
}

.footer-support-icon {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-support-icon i {
  color: #66a443;
  width: 24px !important;
  height: 24px !important;
  font-size: 24px !important;
}

@media only screen and (max-width: 767px) {

  .footer {
    padding: 20px 20px;
  }

  .footer .row {
    margin-bottom: 40px;
  }

  .footer-bottom-menu {
    justify-content: center;
  }

}

/* 푸터 End */

/* 메인페이지 Start */

.main-keyvisual {
  top: 30px !important;
  position: relative;
}

.main-keyvisual .main-keyvisual-item {
  height: 100%;
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
}

.main-keyvisual .main-keyvisual-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-keyvisual .main-keyvisual-item .main-key-text {
  position: absolute;
  top: 76%;
  left: 50%;
  transform: translate(-50%, 0);
  text-align: center;
  color: #ffffff;
  z-index: 999;
}

/* PC 버전 비디오 */
.main-keyvisual .pc-video {
  display: block;
  width: 100%;
  height: auto;
}

.main-keyvisual .mobile-video {
  display: none;
  width: 100%;
  height: auto;
}

/* 모바일 대응 */
@media screen and (max-width: 960px) {

  .main-keyvisual {
    top: 0px !important;
  }

  .main-keyvisual .pc-video {
    display: none;
  }

  .main-keyvisual .mobile-video {
    display: block;
  }

  .main-keyvisual .video-text-overlay h2 {
    font-size: 32px;
  }

  .main-keyvisual .video-text-overlay p {
    font-size: 16px;
  }

}

.heading-separator {
  height: 32px;
  width: 4px;
  display: inline-block;
  background: #66a443;
  transform: skew(-25deg);
  margin: 0 28px 0 15px;
}

/* Shop by Style 영역 */
.shopbystyle h3 {
  font-size: 22px;
  font-weight: 600;
}

.shopbystyle span {
  font-size: 12px;
  font-weight: 700;
}

.main-everypair {
  width: 100%;
  overflow: hidden;
}

.main-everypair .container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.main-everypair .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.main-everypair video {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 5px;
}

@media (max-width: 991px) {
  .main-everypair video {
    width: 100%;
    aspect-ratio: 5/4;
    object-fit: cover;
  }
}



.main-everypair .text {
  padding: 20px 30px 20px 10px;
}

.main-everypair .text h4 {
  margin-top: 10px;
  font-size: 22px;
}

.main-everypair .text p {
  font-size: 17px;
}

.main-everypair .text strong {
  font-size: 17px;
  color: #66a443;
  text-decoration: underline;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.certified {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1064px;
  margin: 0 auto;
  gap: 30px;
  background-color: #f5f5f5;
  border-radius: 5px;
  overflow: hidden;
  padding: 0;
}

.certified .certified-1 {
  flex: 0 0 333px;
  min-width: 333px;
  min-height: 250px;
  padding: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.certified .certified-1 img {
  width: 85px;
  height: auto;
}

.certified .certified-2 {
  flex: 1;
  padding-left: 20px;
}

.certified .certified-2 h4 {
  font-size: 24px;
  margin-bottom: 20px;
}

.certified .certified-2 p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

.certified .certified-3 {
  flex: 0 0 auto;
  padding: 0 33px 0;
}

@media (max-width: 768px) {
  .certified {
    flex-direction: column;
    margin: 0 20px;
  }
  
  .certified .certified-1 {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
  }
  
  .certified .certified-2 {
    padding: 20px;
  }
  
  .certified .certified-3 {
    padding: 0 20px 20px;
    display: flex;
    justify-content: center;
  }
}

.sns-gallery .grid-container {
  display: grid;
  grid-template-columns: 40px repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  height: auto;
  max-height: 800px;
}

.sns-gallery .grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.sns-gallery .grid-item img,
.sns-gallery .grid-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sns-gallery .grid-item.title {
  grid-row: span 2;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.sns-gallery .vertical-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 22px;
  font-weight: 600;
  white-space: nowrap;
}

.sns-gallery .vertical-text span {
  font-size: 16px;
  color: gray;
}

.sns-gallery .grid-item.video {
  grid-row: span 2;
}

@media (max-width: 1024px) {
  .sns-gallery .grid-container {
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: auto repeat(3, 1fr);
      gap: 10px;
  }

  .sns-gallery .grid-item.title {
      grid-column: 1 / span 2;
      grid-row: 1;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 20px 0;
  }

  .sns-gallery .vertical-text {
      writing-mode: horizontal-tb;
      transform: none;
      text-align: center;
  }

  .sns-gallery .grid-item.video {
      display: none;
  }
}

/* 메인페이지 End */

.main-reaching {
  width: 100%;
  overflow: hidden;
  margin-bottom: 50px;
}

.main-reaching .container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 15px;
}

.main-reaching .video-reaching {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.main-reaching .video-reaching video {
  width: 100% !important;
  height: auto !important;
  object-fit: cover;
}

.main-reaching .video-text {
  position: absolute;
  bottom: 180px;
  left: 80px;
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
  text-align: left;
  z-index: 10;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.main-reaching .video-button {
  position: absolute;
  bottom: 100px;
  left: 80px;
  text-align: left;
  z-index: 10;
}

@media (max-width: 991px) {
  .main-reaching .video-text {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 24px;
  }

  .main-reaching .video-button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }
}

/* 서브페이지 Start */
/* contents-reforestation.php*/
.reforestation-keyvisual {
  height: 80vh;
  position: relative;
}

.reforestation-keyvisual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
  z-index: 0;
}

.reforestation-keyvisual #bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.reforestation-keyvisual .main-key-text {
  position: absolute;
  max-width: 1440px;
  width: 100%;
  padding: 0 15px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.reforestation-keyvisual .main-key-text h1 {
  font-size: 54px;
  font-weight: 800;
  color: #ffffff;
  font-family: "larken", sans-serif;
}

.reforestation-keyvisual .main-key-text h5 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  font-family: "larken", sans-serif;
}

.reforestation-community h5 {
  margin-bottom: 20px;
}

.reforestation-community img {
  width: 100%;
  @media (max-width: 767px) {
      width: 90%;
  }
}

/* 동영상 재생 */
.reforestation-community .video-container {
  cursor: pointer;
  overflow: hidden;
  width: 100%;
  /* max-width: 710px; 필요한 경우 최대 너비 설정 */
  position: relative;
  background: #f5f5f5; /* 여백이 생길 경우를 위한 배경색 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.reforestation-community .video-container video {
  max-height: 100%;
  max-width: 100%;
}

.reforestation-community .video-play-button {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  background: #ffffff;
  border: none;
  border-radius: 50%;
  padding: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: pointer;
  pointer-events: none; /* 버튼 클릭 이벤트 비활성화 */
}

.reforestation-community .video-play-button.visible {
  opacity: 1;
  pointer-events: auto; /* 버튼이 보일 때만 클릭 가능 */
}

.reforestation-community .video-play-button.hidden {
  opacity: 0;
  pointer-events: none; /* 버튼이 숨겨졌을 때 클릭 불가능 */
}

.play-triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 12px;
  border-color: transparent transparent transparent #66a443;
  margin-left: 3px;
  flex-shrink: 0;
}

.reforestation-community .video-container video::-webkit-media-controls {
  display: none !important;
}

.reforestation-doing h2 {
  font-size: 36px;
  font-weight: 700;
}

.reforestation-slider {
  margin: 70px 0;
}

.reforestation-slider .sliderIDreforestation {
  padding: 100px 20px 50px 20px;
  background-color: #66a443;
  text-align: center;
  border-radius: 5px;
  color: #ffffff;
}

.reforestation-slider .sliderIDreforestation p {
  font-weight: 300;
  max-width: 500px;
  margin: 0 auto 20px auto;
}

.reforestation-slider .sliderIDreforestation span {
  font-weight: 700;
  font-size: 14px;
}

.reforestation-slider .sliderIDreforestation svg {
  width: 28px;
  height: 20px;
  margin-bottom: 20px;
}

.reforestation-slider .sliderIDreforestation .slick-dots {
  display: flex !important;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  border: none;
}

.reforestation-slider .sliderIDreforestation .slick-dots li {
  margin: 0 !important;
  padding: 0 !important;
  border: none;
}

.reforestation-slider .sliderIDreforestation .slick-dots li button {
  width: 12px !important;
  height: 12px !important;
  padding: 0 !important;
  border: none;
  border-radius: 50%;
  background-color: #ffffff !important;
  font-size: 0;
  opacity: 0.4;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.reforestation-slider .sliderIDreforestation .slick-dots li.slick-active button {
  opacity: 1;
  border: none !important;
}

.reforestation-news p {
  font-size: 18px;
  font-weight: 600;
}

.reforestation-news h3 {
  margin: 40px 0;
  font-size: 28px;
  font-weight: 600;
}

.reforestation-news img {
  width: 160px;
}

@media only screen and (max-width: 767px) {
  .reforestation-news p {
    font-size: 14px;
  }

  .reforestation-news h3 {
    font-size: 22px;
  }
}

.reforestation-reports .col-12 {
  margin-bottom: 24px;
}

.reforestation-reports .report-item {
  border: 1px solid green;
  padding: 28px;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  border-radius: 5px;
}

.reforestation-reports .report-item img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.reforestation-reports .report-item p {
  margin: 0;
  flex-grow: 1;
  font-weight: 600;
}

.reforestation-reports .report-item .text-and-icon {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.reforestation-reports .report-item .text-and-icon svg {
  margin-top: 5px;
}

.reforestation-reports .report-item .text-and-icon span {
  margin-left: 5px;
}

.about-keyvisual {
  height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('../../images/about/keyvisual.webp');
}

@media only screen and (max-width: 767px) {
  .about-keyvisual {
    background-image: url('../../images/about/keyvisual-mobile.avif');
  }
}

.about-hello {
  background-color: #f4f4f4;
  padding: 100px 30px;
}

.about-hello .container {
  max-width: 1196px;
}

.about-hello h3 {
  line-height: 3em;
}

.about-hello p {
  font-size: 16px;
}

.about-hello img {
  border-radius: 5px;
}

.about-approach .container {
  max-width: 1274px;
}

.about-approach h2 {
  line-height: 3em;
  text-align: center;
}

.about-approach p {
  font-size: 16px;
}

.about-approach .c-text {
  background-color: #f4f4f4;
  border-radius: 5px;
  padding: 30px 50px;
}

.about-approach .c-image img {
  background-color: #f4f4f4;
  border-radius: 5px;
}

.about-approach h5 {
  font-size: 19px;
  margin: 15px 0;
  line-height: 1.5em;
}

.about-design {
  max-width: 1280px;
  margin: 0 auto;
}

.about-design h1 {
  font-size: 40px;
  font-weight: 500;
}

.about-design h3 {
  font-size: 28px;
  font-weight: 600;
}

.about-design p {
  font-size: 18px;
  font-weight: normal;
}

@media (max-width: 768px) {
  .about-design h1 {
    font-size: 24px;
    padding: 0 10% !important;
  }
  
  .about-design h3 {
    font-size: 20px;
    padding: 0 20px;
  }
  
  .about-design p {
    font-size: 14px;
    padding: 0 20px;
  }
}




.sustainability-keyvisual {
  height: 375px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('../../images/sustainability/keyvisual.webp');
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.sustainability-keyvisual h1 {
  color: #ffffff;
  font-size: 50px;
  font-weight: 700;
}

@media only screen and (max-width: 767px) {
  .sustainability-keyvisual {
    background-image: url('../../images/sustainability/keyvisual.webp');
  }
  .sustainability-keyvisual h1 {
    font-size: 30px;
  }
}

/*----------  tab-product-navigation  ----------*/
.tap-product .tab-product-navigation {
  border-bottom: 1px solid #9b9b9b;
}
.tap-product .tab-product-navigation .nav-tabs {
  margin: 0 80px;
  border: none;
}
.tap-product .tab-product-navigation .nav-tabs .nav-link {
  border: 1px solid #d6d6d6;
  border-bottom: 1px solid #9b9b9b;
  font-size: 18px;
  font-weight: 600;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  margin: 0 2px -1px 0;
  background-color: #fafafa;
  color: #000000;
  text-align: center;
  padding: 20px 0;
  width: 230px;
}
@media only screen and (max-width: 767px) {

  .tap-product .tab-product-navigation .nav-tabs {
    margin: 0 10px;
    border: none;
  }

  .tap-product .tab-product-navigation .nav-tabs .nav-link {
    font-size: 14px;
    font-weight: 600;
    padding: 15px 30px;
    width: auto;
  }
}
.tap-product .tab-product-navigation .nav-tabs .nav-link.active {
  border: 1px solid #9b9b9b;
  border-bottom: 1px solid #ffffff;
  color: #65a437;
  background-color: #ffffff;
}
.tap-product .tab-product-navigation .nav-tabs .nav-link:hover {
  color: #000000;
}

.tap-product .c-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  overflow: hidden;
  border-radius: 5px;
}

.tap-product .c-text {
  text-align: center;
  padding: 20px;
}

.tap-product .c-text h3 {
  font-size: 20px;
  font-weight: 700;
}

.tap-product .c-text p {
  font-size: 16px;
}

@media only screen and (max-width: 767px) {
  .tap-product .c-image {
    max-height: 240px;
  }
}

/*----------  tab-about-navigation  ----------*/
.tab-sustainability .tab-product-navigation .nav-tabs {
  border-bottom: 1px solid #9b9b9b;
}
.tab-sustainability .tab-product-navigation .nav-tabs .nav-link {
  border: 1px solid #d6d6d6;
  border-bottom: 1px solid #9b9b9b;
  font-size: 18px;
  font-weight: 600;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  margin-right: 2px;
  background-color: #fafafa;
  color: #000000;
  text-align: center;
  padding: 10px 0;
  width: calc(20% - 2px);
}
@media only screen and (max-width: 767px) {
  .tab-sustainability .tab-product-navigation .nav-tabs .nav-link {
    font-size: 18px;
    font-weight: 600;
  }
}
.tab-sustainability .tab-product-navigation .nav-tabs .nav-link.active {
  border: 1px solid #9b9b9b;
  border-bottom: none;
  color: #65a437;
  background-color: #ffffff;
}
.tab-sustainability .tab-product-navigation .nav-tabs .nav-link:hover {
  color: #000000;
}

.tab-sustainability .c-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  overflow: hidden;
  border-radius: 5px;
}

.tab-sustainability .c-text {
  text-align: center;
  padding: 20px;
}

.tab-sustainability .c-text h3 {
  font-size: 20px;
  font-weight: 700;
}

.tab-sustainability .c-text p {
  font-size: 16px;
}

@media only screen and (max-width: 767px) {
  .tab-sustainability .c-image {
    max-height: 240px;
  }
}

/*----------  Product List  ----------*/

.product-list-header {
  margin: 0 80px;
}

@media only screen and (max-width: 767px) {
  .product-list-header {
    margin: 0 10px;
  }
}

.filter-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.single-product__content .title2 h3 {
  font-size: 16px;
  font-weight: 600;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: flex-start;
}

.filter-list li {
  flex: 0 0 33.33%;
  margin-bottom: 10px;
}

@media (max-width: 767px) {
  .filter-list li {
    flex: 1 0 50%;
  }
}

/*----------  Product Detail  ----------*/

.category-name {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

.category-name li {
  display: flex;
  align-items: center;
  margin-right: 5px;
  font-size: 11px;
  font-weight: 600;
  text-underline-offset: 2px;
}

.category-name li::after {
  content: '\f054';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin: 0 10px 0 13px;
  font-size: 8px;
  text-decoration: none !important;
}

.category-name li:last-child::after {
  content: '';
  text-decoration: none;
}

.shop-product__title strong {
  font-size: 18px;
  font-weight: 600;
}

.product-detail-size-inner {
  display: flex;
  flex-wrap: wrap; /* 공간이 부족할 경우 다음 줄로 넘어가게 설정 */
  gap: -1px; /* 버튼 간의 간격 */
}

.product-detail-size-inner label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 30px;
  border: 1px solid #ccc; /* 회색 테두리 */
  padding: 8px;
  cursor: pointer;
  font-size: 12px; /* 글자 크기 */
  background-color: transparent; /* 투명 배경 */
  transition: border-color 0.3s;
}

.product-detail-size-inner input[type="radio"] {
  display: none; /* 라디오 버튼 숨기기 */
}

.product-detail-size-inner input[type="radio"]:checked + span {
  border-color: green; /* 선택 시 녹색 테두리 */
}

.product-detail-color-inner ul {
  display: flex;
  flex-wrap: wrap; /* 공간이 부족할 경우 다음 줄로 넘어가게 설정 */
  padding: 0;
  margin: 0;
  list-style: none;
}

.product-detail-color-inner li {
  width: 70px; /* 고정 너비 */
  height: 50px; /* 고정 높이 */
  overflow: hidden; /* 이미지가 li를 벗어나지 않도록 설정 */
  margin-right: 10px; /* li 간의 간격 */
  margin-bottom: 10px; /* 줄 간의 간격 */
}

.product-detail-color-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 이미지가 li 크기에 맞게 조정 */
}

.product-detail-bannerA {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-position: center;
  background-size: cover;
  text-align: center;
  padding: 50px 20px;
  margin: 100px 0 100px 0;
  position: relative;
}

.product-detail-bannerA::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); /* 배경 이미지를 어둡게 만드는 오버레이 */
  z-index: 1;
}

.product-detail-bannerA > * {
  position: relative;
  z-index: 2; /* 오버레이 위에 콘텐츠가 보이도록 설정 */
}

.product-detail-bannerA img {
  max-width: 100%;
  height: auto;
}

.product-detail-bannerA h3,
.product-detail-bannerA span {
  margin: 10px 0;
  color: #ffffff;
}

.sit_opt_list {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  margin: 20px 0 20px 0;
}

.sit_btn_cart , .sit_btn_buy {
  background-color: #333;
  color: #fff !important;
  text-transform: uppercase;
  display: inline-block;
  border-radius: 0;
  border: 1px solid #333;
  font-weight: 500;
  letter-spacing: 0;
  padding: 10px 45px;
  margin: 0 0 1px 0;
}

.sit_btn_wish {
  background-color: #333;
  color: #fff !important;
  text-transform: uppercase;
  display: inline-block;
  border-radius: 0;
  border: 1px solid #333;
  font-weight: 500;
  letter-spacing: 0;
  padding: 7px 15px;
  margin: 0 !important;
}

.delivery-info {
  padding: 40px 40px 20px 40px;
  border-radius: 5px;
  background-color: #f5f5f5;
}

.delivery-info .col-lg-6 {
  padding: 0 0 40px 0;
}

/* 상세페이지 리뷰 */
#itemuse_form input {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  background-color: #fff;
}

#itemuse_form select {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  background-color: #fff;
}

#itemuse_form textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  background-color: #fff;
}

/* 제품 목록 product_list.php */
.shop-product-wrap {
  margin: 0;
}

.shop-product-wrap .title2 h3 {
  font-size: 14px;
  margin: 0;
}

@media (max-width: 768px) {
  .shop-product-wrap {
    margin: 0;
  }

  .shop-product-wrap .title2 h3 {
    font-size: 14px;
    margin: 0;
  }
}

/* 서브페이지 End */