/* review_b */
#review_b {
  width: 100%;
  /* background-color: #fff; */
  background-color: #e3ddd7;

  /* background: var(--brand-main, #d71718); */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}
#review_b .review-circle {
  max-width: 992px;
  width: 90%;
  aspect-ratio: 1 / 1;
  border-radius: 992px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  position: relative;
}

#review_b .review-circle-img-div {
  position: absolute;
  width: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
#review_b .review-circle-img-div img {
  width: calc(100%);
  transition: unset;
  transform-origin: center center;
}
#review_b .review-logo {
  z-index: 3;
  max-height: 89px;
  margin-top: -20%;
}
#review_b .review-circle p {
  color: #5f432c;
  text-align: center;
  font-family: 'Paperlogy';
  font-size: 28px;
  font-weight: 500;
  line-height: 130%; /* 36.4px */
  letter-spacing: -0.7px;
  z-index: 3;
}
#review_b .review-sub {
  box-sizing: border-box;
  padding: 5px;
  border: 1px solid #fff;
  background: #000;
  z-index: 3;
}
#review_b .review-sub p {
  border: 1px solid #fff;
  background: #000;
  display: flex;
  box-sizing: border-box;
  padding: 6px 20px;
  justify-content: center;
  align-items: center;
  color: #fff;

  text-align: center;
  font-family: 'Paperlogy';
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 145%; /* 34.8px */
}

#review_b .st-tit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 5;
}
#review_b .st-tit .line-tit {
  text-align: center;
  -webkit-text-stroke-width: 1.5px;
  -webkit-text-stroke-color: #fff;
  color: transparent;
}
#review_b .review-circle .chicken-div {
  max-width: 700px;
  width: 65%;
  position: absolute;
  bottom: -12%;
}
#review_b .review-circle .chicken-div .st8-chicken {
  width: 100%;
  margin-bottom: 0;
}
#review_b .review-circle .chicken-div .smoke-div {
  width: 110%;
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
#review_b .review-circle .chicken-div .st8-smoke {
  width: 100%;
  animation: shake 0.8s linear infinite;
}
@keyframes shake {
  0% {
    transform: translateY(2%);
    opacity: 0.6;
  }
  25% {
    transform: translateY(-1%);
  }
  50% {
    transform: translate(-1%, 2%);
    opacity: 1;
  }
  75% {
    transform: translate(2%, 1%);
  }
  100% {
    transform: translateY(2%);
  }
}
#review_b .review-bubble {
  position: absolute;
  z-index: 3;
  transition: unset;
}
#review_b .review-bubble.first {
  width: 368px;
  left: -8%;
  top: 38%;
}
#review_b .review-bubble.second {
  width: 455px;
  left: -13%;
  bottom: 16%;
}
#review_b .review-bubble.third {
  width: 400px;
  right: -15%;
  top: 18%;
}
#review_b .review-bubble.fourth {
  width: 500px;
  right: -22%;
  top: 46%;
}
#review_b .left-swiper-container,
#review_b .right-swiper-container {
  width: fit-content;
  position: absolute;
  height: 100%;
  top: 0;
  overflow: hidden;
}
#review_b .left-swiper-container {
  left: 110px;
}
#review_b .right-swiper-container {
  right: 110px;
}
#review_b .left-swiper-container .swiper-wrapper,
#review_b .right-swiper-container .swiper-wrapper {
  display: flex;
  flex-direction: column;
  height: max-content;
  gap: 32px;
  visibility: hidden;
}
#review_b .left-swiper-container .swiper-wrapper {
  animation: review-scroll-down 80s linear infinite;
}
#review_b .right-swiper-container .swiper-wrapper {
  animation: review-scroll-up 80s linear infinite;
}

@keyframes review-scroll-up {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

@keyframes review-scroll-down {
  0% {
    transform: translateY(-50%);
  }
  100% {
    transform: translateY(0);
  }
}
#review_b .left-swiper-container img,
#review_b .right-swiper-container img {
  width: 100%;
  border-radius: 12px;
}
#review_b .left-swiper-container .swiper-slide,
#review_b .right-swiper-container .swiper-slide {
  width: 310px;
  height: fit-content;
}
#review_b .review-swiper,
#review_b .review-swiper img {
  width: 100%;
}
#review_b .review-swiper {
  margin-top: 50px;
  display: none;
  padding: 55px 0; /* 확대되는 활성 슬라이드가 잘리지 않도록 상하 여백 */
  overflow: visible;
  box-sizing: border-box;
  position: relative;
  z-index: 2; /* 카드가 음식 이미지 위로 올라와 하단을 가리도록 */
}
#review_b .review-swiper .swiper-wrapper {
  align-items: center;
}
#review_b .review-swiper .swiper-slide {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 2 / 3; /* 리뷰 카드(세로형) 전체가 보이도록 */
  background: #fff;
}
#review_b .review-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#review_b .review-swiper .swiper-slide-active {
  border: 2px solid #000;
  transform: scale(1.2);
  transform-origin: center center;
  z-index: 7;
}

@media (min-width: 1700px) {
  #review_b .left-swiper-container {
    left: 150px;
  }
  #review_b .right-swiper-container {
    right: 150px;
  }
}

@media (max-width: 1500px) {
  #review_b .left-swiper-container {
    left: 80px;
  }
  #review_b .right-swiper-container {
    right: 80px;
  }
  #review_b .review-bubble.first {
    width: 338px;
  }
  #review_b .review-bubble.second {
    width: 415px;
    left: -10%;
  }
  #review_b .review-bubble.third {
    width: 360px;
    right: -9%;
  }
  #review_b .review-bubble.fourth {
    width: 430px;
    right: -15%;
  }
}

@media (max-width: 1280px) {
  #review_b .review-circle {
    max-width: 920px;
  }
  #review_b .review-circle p {
    font-size: 24px;
    letter-spacing: -0.6px;
  }
  #review_b .left-swiper-container {
    left: 40px;
  }
  #review_b .right-swiper-container {
    right: 40px;
  }
  #review_b .left-swiper-container .swiper-slide,
  #review_b .right-swiper-container .swiper-slide {
    width: 270px;
  }
}

@media (max-width: 1100px) {
  #review_b .left-swiper-container,
  #review_b .right-swiper-container {
    display: none;
  }
  #review_b {
    padding: 80px 16px;
    box-sizing: border-box;
  }
  /* 원(배경·테두리 없는 투명 컨테이너)을 콘텐츠 높이에 맞게 자동 크기로 → 과한 여백 제거 */
  #review_b .review-circle {
    aspect-ratio: auto;
    height: auto;
    width: 100%;
    max-width: 640px;
    border-radius: 0;
    gap: 20px;
  }
  #review_b .review-circle .chicken-div {
    display: block;
    position: static;
    width: 70%;
    max-width: 520px;
    bottom: auto;
    margin: 8px auto 0;
  }
  #review_b .review-bubble {
    top: unset !important;
  }
  #review_b .review-bubble.first {
    left: 9%;
    bottom: 25%;
  }
  #review_b .review-bubble.second {
    left: 9%;
    bottom: 6%;
  }
  #review_b .review-bubble.third {
    right: 6%;
    bottom: 22%;
  }
  #review_b .review-bubble.fourth {
    right: 7%;
    bottom: -2%;
  }
  #review_b .review-swiper {
    display: block;
    padding: 0px 0 25px;
    margin-top: 0px;
  }
  #review_b .review-swiper {
    /* 카드가 음식 이미지 하단을 덮도록 위로 겹침 */
  }
}
@media (max-width: 900px) {
  #review_b .review-circle {
    max-width: 560px;
  }
  #review_b .review-logo {
    margin-top: -25%;
  }
  #review_b .review-circle .chicken-div {
    width: 74%;
    bottom: auto;
  }
  #review_b .review-swiper {
    /* margin-top: -105px; */
  }
  #review_b .review-bubble.first {
    left: 20%;
    bottom: 35%;
  }
  #review_b .review-bubble.second {
    left: 20%;
    bottom: 20%;
  }
  #review_b .review-bubble.third {
    right: 18%;
    bottom: 32%;
  }
  #review_b .review-bubble.fourth {
    right: 19%;
    bottom: 12%;
  }
}
@media (max-width: 768px) {
  #review_b .review-logo {
    margin-top: -30%;
  }
}
@media (max-width: 650px) {
  #review_b .review-circle {
    max-width: 460px;
  }
  #review_b .review-circle p {
    font-size: 20px;
    letter-spacing: -0.5px;
  }
  #review_b .review-circle .chicken-div {
    width: 80%;
    bottom: auto;
  }
  #review_b .review-swiper {
    /* margin-top: -95px; */
  }
  #review_b .review-bubble.first {
    width: 258px;
    left: 250px;
    bottom: 38%;
  }
  #review_b .review-bubble.second {
    width: 335px;
    left: 240px;
    bottom: 23%;
  }
  #review_b .review-bubble.third {
    width: 280px;
    right: 240px;
    bottom: 35%;
  }
  #review_b .review-bubble.fourth {
    width: 340px;
    right: 240px;
    bottom: 13%;
  }
}

@media (max-width: 480px) {
  #review_b .review-circle .chicken-div {
    width: 82%;
    bottom: auto;
  }
  #review_b .review-logo {
    margin-top: -37%;
  }
  #review_b .review-bubble.first {
    width: 198px;
    left: 320px;
    bottom: 38%;
  }
  #review_b .review-bubble.second {
    width: 275px;
    left: 310px;
    bottom: 26%;
  }
  #review_b .review-bubble.third {
    width: 220px;
    right: 290px;
    bottom: 35%;
  }
  #review_b .review-bubble.fourth {
    width: 280px;
    right: 290px;
    bottom: 20%;
  }
  #review_b .review-swiper {
    /* margin-top: -80px; */
  }
}
@media (max-width: 400px) {
  #review_b .review-bubble.first {
    width: 168px;
    left: 340px;
    bottom: 42%;
  }
  #review_b .review-bubble.second {
    width: 245px;
    left: 330px;
    bottom: 30%;
  }
  #review_b .review-bubble.third {
    width: 180px;
    right: 330px;
    bottom: 39%;
  }
  #review_b .review-bubble.fourth {
    width: 240px;
    right: 330px;
    bottom: 24%;
  }
  #review_b .review-swiper {
    /* margin-top: -70px; */
  }
}
@media (max-width: 350px) {
  #review_b .review-bubble.first {
    width: 158px;
    left: 350px;
    bottom: 44%;
  }
  #review_b .review-bubble.second {
    width: 235px;
    left: 340px;
    bottom: 30%;
  }
  #review_b .review-bubble.third {
    width: 170px;
    right: 340px;
    bottom: 40%;
  }
  #review_b .review-bubble.fourth {
    width: 230px;
    right: 340px;
    bottom: 23%;
  }
}
