/*공통 레이아웃*/
.product > div > div {
  width: 100%;
  height: auto;
  min-height: 780px;
  position: relative;
}

.button--anchor {
  width: 180px;
  height: 48px;
  position: absolute;
  color: #869E96;
  font-size: 1.6rem;
  letter-spacing: .2rem;
  line-height: 48px;
  text-align: center;
  border: 1px solid #869E96;
  border-radius: 4.8rem;
}

.button--anchor span {
  color:#2731ff;
  font-weight: 400;
}

.product__description {
  display: block;
  font-size: 1.8rem;
  line-height: 1.8;
}

.product__slide__container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: -1;
}

.product__slide {
  overflow: hidden;
  width: 960px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.product__name {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.product__name h4 {
  font-size: 12rem;
  text-transform: uppercase;
  font-weight: 500;
  color: #2731ff;
  letter-spacing: 2rem;
}

.product__navigation {
  display: flex;
  column-gap: 5rem;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: absolute;
  bottom: 0;
}

.product__navigation button {
  display: flex;
  align-items: center;
  column-gap: 2.4rem;
}

.product__pagination {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.product__pagination span {
  font-size: 1.8rem;
}

.product__pagination span:first-child {
  font-weight: 400;
  color: #2731ff;
}

.product__navigation button span {
  text-transform: uppercase;
  letter-spacing: 0.2rem;
}

.product__navigation button img {
  width: 64px;
  height: 64px;
}

/*민물 루어*/
.soft-water-bait {
  position: relative;
  margin-bottom: 30rem;
}

.soft-water-bait__button--anchor {
  top: 0;
  right: 0;
}

.soft-water-bait__product__name {
  left: 0;
}

.soft-water-bait__product__slide {
  right: -50px;
}

/*바다 루어*/
.sea-bait {
  margin-bottom: 15rem;
}

.sea-bait .title {
  text-align: right;
}

.sea-bait__button--anchor {
  position: absolute;
  top: -2px;
  left: 0;
}

.sea-bait__description {
  text-align: right;
}

.sea-bait__product__name {
  right: 0;
}

.sea-bait__product__name h4 {
  text-align: right;
}

.sea-bait__product__slide__container > div:first-child {
  overflow: hidden;
  width: 960px;
  height: 100%;
  position: absolute;
  top: 50%;
  left: -50px;
  transform: translateY(-50%);
}

.sea-bait__product__slide {
  overflow: visible;
  width:1920px;
  left: -320px;
}

/*css animation*/
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.5s forwards;
}

@media (max-width: 1560px) {
  .product__name h4 {
    font-size: 8.4rem;
  }

  .product__slide {
    height: 540px;
  }

  .soft-water-bait__product__slide {
    width: 810px;
  }

  .sea-bait__product__slide {
    width: 1620px;
    left: -270px;
  }

  .sea-bait__product__slide__container > div:first-child {
    width: 810px;
    height: 540px;
  }

  .swiper-slide img {
    width: 540px;
    height: 540px;
  }
}

@media (max-width: 1280px) {
  .product__slide__container {
    position:initial;
    transform: none;
  }

  .product__name {
    position: initial;
    transform: none;
    padding-top: 5rem;
  }

  .product__slide {
    top: initial;
    transform: none;
  }

  .soft-water-bait__product__slide {
    bottom: 64px;
  }

  .sea-bait__product__slide__container > div:first-child {
    top: initial;
    transform: none;
    bottom: 64px;
  }
  
}

@media (max-width: 1024px) {
  .product__description {
    font-size: 1.6rem;
  }

  .product__name h4 {
    font-size: 4.8rem;
  }

  .product__slide {
    width: 720px;
    height: 480px;
  }

  .sea-bait__product__slide__container > div:first-child {
    width: 720px;
    height: 480px;
  }

  .sea-bait__product__slide {
    width: 1440px;
    left: -240px;
  }

  .swiper-slide img {
    width: 480px;
    height: 480px;
  }
}

@media (max-width: 768px) {
  .button--anchor {
    top: inherit;
    right: 20px;
    bottom: 84px;
    z-index: 10;
  }

  .sea-bait .button--anchor {
    right: inherit;
  }
 
  .sea-bait__product__slide__container > div:first-child,
  .product__slide {
    right:inherit;
    left: 50%;
    transform: translateX(-50%);
    width: 480px;    
  }

  .sea-bait__product__slide {
    width: 480px;
    left: 240px;
  }
}

@media (max-width: 480px) {
  .product__description {
    font-size: 1.4rem;
  }

  .product__slide {
    width: 360px;
    height: 360px; 
  }

  .sea-bait__product__slide__container > div:first-child {
    width: 360px;  
    height: 360px;  
  }

  .sea-bait__product__slide {
    width: 360px;
    left: 180px;
  }

  .product__name h4{
    font-size: 3.4rem;
  }

  .swiper-slide img {
    width: 360px;
    height: 360px;
  }

  .product__navigation {
    column-gap: 1rem;
  }

  .product__navigation button {
    column-gap: .5rem;
  }

  .product__navigation button img {
    width: 38px;
    height: 38px;
  }
}