/* BASIC css start */
<style>
  .ttd-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
  }
  .ttd-hero {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
  }
  .ttd-hero-image img {
    width: 100%;
    height: 80vh; /* 화면 높이의 80% */
    object-fit: cover; /* 비율 유지하며 꽉 채우기 */
    display: block;
  }
  .ttd-hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
  }
  .ttd-hero-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
  }
  .ttd-hero-text p {
    font-size: 1.2rem;
    font-weight: 400;
  }
  .ttd-coupon img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 60px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border-radius: 0px;
  }
  .ttd-section-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
  }
.ttd-products {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* 자동 간격 정렬 */
  gap: 4px;
}

.ttd-product {
  width: calc(20% - 5px); /* 5열 정렬을 위한 너비 계산 */
  margin-bottom: 70px;
  padding: 5px;
  box-sizing: border-box;

  background-color: transparent;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.ttd-product img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16; /* 세로형 비율 고정 */
  object-fit: cover;
  border-radius: 0px;
  margin-bottom: 12px;
}
  .ttd-product img {
  transition: transform 0.7s ease;
}
.ttd-product img:hover {
  transform: scale(1.05);
}
.ttd-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111;
  margin-top: 12px;
  text-align: center;
}
.ttd-caption {
  font-size: 0.95rem;
  color: #424242;
  margin-top: 9px;
  text-align: center;
}
.ttd-caption2 {
  font-size: 1.0rem;
  font-weight: 500;
  color: #ff4600;
  margin-top: 4px;
  text-align: center;
}
  @media screen and (max-width: 768px) {
    .ttd-hero-text h1 {
      font-size: 1.8rem;
    }
    .ttd-hero-text p {
      font-size: 1rem;
    }
    .ttd-section-title {
      font-size: 1.5rem;
    }
    .ttd-product {
      width: 100%;
    }
  }
  
  .ttd-coupon img {
  transition: transform 0.3s ease;
}
.ttd-coupon img:hover {
  transform: scale(1.05);
}

.ttd-hero-fadebox {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.fade-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: fadeSlide 12s infinite;
  opacity: 0;
}

.img1 { animation-delay: 0s; }
.img2 { animation-delay: 4s; }
.img3 { animation-delay: 8s; }

@keyframes fadeSlide {
  0% { opacity: 0; }
  8% { opacity: 1; }
  30% { opacity: 1; }
  38% { opacity: 0; }
  100% { opacity: 0; }
}



</style>



/* BASIC css end */

