

.swiper-pagination-fraction {
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: rgb(255, 255, 255);
    padding-right: 15px;
    text-align: right;
}

/* eventImageSection 및 eventSection 공통 CSS */

/* 이벤트 타이틀 */
.event-section-nav__label {
    font-size: 25px;
    font-weight: 800;
    line-height: 34.05px;
    margin-bottom: 10px;
}

/* 이벤트 프로모션 문구 */
.event-section-nav__promotion-title {
    font-size: 16px;
}

/* 슬라이더 */
.product-section--slide .swiper {
    /*margin: 0 1rem 0 1rem;*/
    margin: 0;
}

/* 슬라이더 1개 크기 */
.product-section--slide .swiper-slide {
    width: 160px !important;
}


/* 버튼 영역 */
.event-section-nav {
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 0;
    border: solid var(--default-color);
    border-width: 0;
    background-color: var(--whole-color);
    font-size: 18px;
    color: var(--gray-color);
    font-weight: bold;
}

/* 버튼 영역 슬라이더 */
.event-section-nav .swiper-slide {
    width: auto;
    margin: 0 3px;
}

/* 비활성화 버튼 */
.event-section-nav .event-nav__btn {
    padding: 0.7em 1.84em 0.7em;
    border-radius: 1.2em;
    background-color: var(--a-gray-color);
    color: var(--black-color);
    font-size: 15px;
    font-weight: normal;
}

/* 활성화 버튼 */
.event-section-nav .event-nav__btn.is-active {
    background-color: var(--default-font-color);
    color: var(--whole-color);
}

/* 이미지 영역 */
.event-image-section__image {
    margin-top: 20px;
    margin-bottom: 10px;
}

.event-section-nav__label__link {
    display: flex;
    align-items: center;
}
/* 아이콘 배너 아이템 영역 */
.icon-banner-item__item {
    width: 20%;
    min-width: 64px;        /* 모바일 에서 한줄에 보이도록 사이즈 조절 */
    height: auto;
    max-height: 121px;
    text-align: center;
    margin: 10px 0;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 이미지 영역 */
.icon-banner-item__image {
    width: auto;
    height: auto;
    max-width: 96px;
    max-height: 96px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 6%;
    overflow: hidden;
}

/* 타이틀 영역 */
.icon-banner-item__title {
    padding-top: 10px; /* 아이콘과 타이틀 사이 여백 */
    font-size: clamp( 10px, 2.5vw, 15px );
}

/* 메인 페이지 아이콘 배너 wrap css */

/* 상단 제목 */
.icon-banner-wrap__label {
    font-size: 25px;
    font-weight: 800;
    line-height: 34.05px;
    margin-bottom: 25px;
}

/* 아이콘 영역 */
.icon-banner-wrap__div {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (max-width: 601px) {

    /* 모바일 화면 css */

    .magazine__img {
        min-width: 148px;
        width: 49% !important;
    }

    .magazine__info {
        min-height: 87px;
        aspect-ratio: 16 / 9;
        height: auto !important;
        font-size: 11px !important;
    }

    .magazine__tit {
        font-size: 14px !important;
    }

    .magazine__description {
        line-height: 1 !important;
        -webkit-line-clamp: 2 !important;
    }

    .magazine__date, .magazine__view_cnt{
        font-size: 9px !important;
        margin: 3px 5px 0 0 !important
    }

    .tag_item {
        margin-right: 2px !important;
    }

    .tag_item_img {
         width: 30% !important;
     }

    .tag_item__price {
        font-size: 9px !important;
    }

    .tag_item__original-price {
        margin-top: 0 !important;
        font-size: 9px !important;
    }

}

.magazine__title {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    background-color: #eff1f5;
}

.magazine__title p {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    letter-spacing: -0.39px;
    color: #000;
}

.magazine__list > li {
    padding: 1.45rem ;
    border-bottom: 1px solid var(--gray-color);
}

.magazine__list-button {
    width: 100%;
}

.magazine__img {
    width: 267px;
    aspect-ratio: 16 / 9;
    display: inline-block;
}

.magazine__img > img {
    height: 100%;
    width: 100%;
}

.magazine__info {
    display: inline-block;
    position: relative;
    font-size: 12px;
    font-weight: 500;
    width: 51%;
    vertical-align: top;
    height: 150px;
    padding-left: 10px;
}

.magazine__info > * {
    display: inline-block;
}

.magazine__no_image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    border: 1px solid var(--gray-color);
    background-color: var(--default-color);
    color: var(--a-dark-color);
}

.magazine__tit {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
    display: -webkit-box;
    overflow: hidden;
    letter-spacing: -0.3px;
    color: var(--dark-gray-color);
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    height: 20%;
    max-height: 25px;
}

.magazine__description {
    overflow: hidden;
    display: -webkit-box;
    line-height: 1.3;
    color: var(--gray-font-color);
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.magazine__skeleton {
    height: 100%;
    width: 100%;
}

.magazine__skeleton * {
    height: 60%;
    width: 100%;
}

.magazine__date, .magazine__view_cnt{
    color: var(--gray-font-color);
    font-size: 10px;
    margin: 5px 7px 0 0;
}

.tag_item_list {
    display: flex;
    position: absolute;
    bottom: 0;
}

.tag_item_list > div{
    width: 50%;
}

.tag_item {
    display: inline-block;
    margin-right: 5px;
}

.tag_item > * {
    display: inline-block;
}

.tag_item > div {
    width: 67%;
    margin-left: 2px;
}

.tag_item_img {
    width: 40px;
    aspect-ratio: 1 / 1;
    border-radius: 40px;
}

.tag_item_name {
    display: -webkit-box;
    overflow: hidden;
    letter-spacing: -0.3px;
    color: var(--dark-gray-color);
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.tag_item__price {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    margin-right: 2px;
}

.tag_item__original-price {
    display: inline-block;
    margin-top: 5px;
    font-size: 9px;
    font-weight: 400;
    text-decoration: line-through;
    color: #a3a3a3;
}

.tag_item__skeleton {
    height: 40px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    padding-left: 10px;
}

.tag_item__skeleton * {
    height: 40px;
    width: 100%;
}
/* TitleModal Content 스크롤 설정 */
.title-modal__content {
    max-height: calc(100vh - 200px); /* 헤더와 여백을 제외한 높이 */
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch; /* 모바일에서 부드러운 스크롤 */
}

/* 모바일 환경 (601px 이하) */
@media (max-width: 601px) {
    .title-modal__content {
        max-height: calc(100vh - 150px); /* 모바일에서는 헤더 높이를 더 작게 */
    }
}

/* PC 환경 (602px 이상) */
@media (min-width: 602px) {
    .title-modal__content {
        max-height: calc(100vh - 180px);
    }
}

/* 스크롤바 스타일링 (선택사항) */
.title-modal__content::-webkit-scrollbar {
    width: 8px;
}

.title-modal__content::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.title-modal__content::-webkit-scrollbar-track {
    background-color: transparent;
}

/* 이미지가 컨텐츠 영역을 넘지 않도록 */
.title-modal__content img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 게시판 타이틀 */
.board-section-nav__label {
    font-size: 25px;
    font-weight: 800;
    line-height: 34.05px;
    margin-bottom: 10px;
    margin-left: 24px;
}

.board-section-nav__label__link {
    width: 95%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.board-section-nav__label__link > div {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 400;
}

.board-section-nav__label__link > svg {
    transform: rotate( 180deg );
}

.best-review {
  min-height: 100vh;
  padding: clamp(48px, 7vw, 112px) clamp(20px, 7vw, 150px) clamp(56px, 8vw, 96px);
  background: #f5f5ed;
  color: #15120f;
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
}

.best-review--main {
  min-height: 0;
  margin-top: 60px;
  padding: 40px 20px 25px;
}

.best-review--main .best-review__header {
  margin-bottom: 36px;
}

.best-review--main .best-review__header h1 {
  margin-bottom: 14px;
  font-size: 46px;
  letter-spacing: 0.02em;
  text-shadow: 0 3px 8px rgba(36, 26, 17, 0.22);
}

.best-review--main .best-review__header p {
  font-size: 24px;
}

.best-review--main .best-review__content {
  gap: 24px;
  max-width: 560px;
  margin: 0 0 50px 0;
}

.best-review--main .best-review__top,
.best-review--main .best-review__bottom {
  gap: 24px;
}

.best-review--main .best-review__swiper {
  max-width: 560px;
  margin: 0 auto;
}

.best-review--main .best-review__main-image {
  aspect-ratio: 1;
}

.best-review--main .best-review__review-area {
  aspect-ratio: 1;
}

.best-review--main .best-review__product-info {
  margin-top: 0;
}

.best-review--main .best-review__product-info h2,
.best-review--main .best-review__photos h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.best-review--main .best-review__product-info dl {
  gap: 5px;
}

.best-review--main .best-review__product-info dl div {
  font-size: 15px;
  line-height: 1.25;
}

.best-review--main .best-review__product-info dt {
  flex: 0 0 auto;
  white-space: nowrap;
}

.best-review--main .best-review__product-info dd {
  min-width: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.best-review--main .best-review__writer {
  gap: 10px;
  margin-top: 12px;
  font-size: 15px;
}

.best-review--main .best-review__writer span {
  flex-basis: 30px;
  width: 30px;
  height: 30px;
  border-width: 2px;
}

.best-review--main .best-review__stars {
  gap: 3px;
  margin-bottom: 14px;
  font-size: 28px;
}

.best-review--main .best-review__review-area > h2 {
  margin-bottom: 14px;
  font-size: 20px;
}

.best-review--main .best-review__text {
  font-size: 15px;
  line-height: 1.42;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.best-review--main .best-review__photos {
  margin-top: 0;
}

.best-review--main .best-review__photo-list {
  gap: 14px;
}

.best-review--main .best-review__photo-item figcaption {
  margin-top: 8px;
  font-size: 17px;
}

.best-review--main .best-review__footer {
  max-width: 560px;
  margin: 34px auto 0;
}

.best-review--main .best-review__nav {
  gap: 28px;
}

.best-review--main .best-review__nav button {
  width: 32px;
  height: 32px;
  border-width: 0 0 4px 4px;
}

.best-review__header {
  margin-bottom: clamp(48px, 6vw, 84px);
  text-align: center;
}

.best-review__header h1 {
  margin: 0 0 18px;
  font-size: clamp(48px, 7vw, 108px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-shadow: 0 3px 9px rgba(36, 26, 17, 0.22);
}

.best-review__header p {
  margin: 0;
  font-size: clamp(24px, 3.3vw, 50px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.best-review__content {
  display: grid;
  gap: clamp(42px, 5.6vw, 76px);
  color: inherit;
  text-decoration: none;
}

.best-review__top,
.best-review__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(42px, 5.6vw, 76px);
  align-items: start;
}

.best-review__product-image-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.best-review__product-image-area h3 {
  margin: 0 0 16px;
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.best-review__review-area {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  aspect-ratio: 1 / 0.96;
}

.best-review__swiper {
  width: 100%;
}

.best-review__swiper .swiper-slide {
  background: #f5f5ed;
}

.best-review__swiper .swiper-pagination {
  bottom: 0;
}

.best-review__swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #15120f;
  opacity: 0.24;
}

.best-review__swiper .swiper-pagination-bullet-active {
  opacity: 1;
}

.best-review__main-image {
  width: 100%;
  aspect-ratio: 1 / 0.96;
  border: 1px solid #d3d3cb;
  background: #fff;
}

.review-image-placeholder {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-image {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.review-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.best-review__main-image img {
  /*object-fit: contain;*/
}

.review-image-placeholder__shoe {
  position: relative;
  width: 76%;
  height: 34%;
  border-radius: 60% 52% 20% 22% / 45% 42% 25% 28%;
  background: linear-gradient(135deg, #f6f6f4 0%, #a9aba8 52%, #efefeb 100%);
  box-shadow: inset 0 -18px 0 rgba(98, 100, 98, 0.18), 0 22px 36px rgba(0, 0, 0, 0.12);
  transform: rotate(-2deg);
}

.review-image-placeholder__shoe::before,
.review-image-placeholder__shoe::after,
.review-image-placeholder__shoe span {
  position: absolute;
  content: '';
  border: 3px solid rgba(92, 94, 92, 0.52);
  border-right: 0;
  border-left: 0;
  transform: rotate(-18deg);
}

.review-image-placeholder__shoe::before {
  top: 28%;
  left: 22%;
  width: 36%;
  height: 18%;
}

.review-image-placeholder__shoe::after {
  top: 42%;
  left: 42%;
  width: 34%;
  height: 16%;
}

.review-image-placeholder__shoe span {
  top: 58%;
  left: 10%;
  width: 82%;
  height: 18%;
  border-color: rgba(82, 84, 82, 0.38);
  transform: rotate(0deg);
}

.best-review__product-info {
  margin-top: 0;
}

.best-review__product-info h2,
.best-review__photos h3 {
  margin: 0 0 24px;
  font-size: clamp(28px, 3.1vw, 44px);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.best-review__product-info dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.best-review__product-info dl div {
  display: flex;
  gap: 10px;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.best-review__product-info dt,
.best-review__product-info dd {
  margin: 0;
}

.best-review__product-info dt::after {
  content: ' :';
}

.best-review__writer {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: clamp(34px, 5vw, 60px);
  font-size: clamp(24px, 3vw, 40px);
  letter-spacing: -0.05em;
}

.best-review__writer span {
  position: relative;
  flex: 0 0 clamp(68px, 7vw, 102px);
  width: clamp(68px, 7vw, 102px);
  height: clamp(68px, 7vw, 102px);
  border: 3px solid #15120f;
  border-radius: 50%;
  background: #f7f7f1;
}

.best-review__writer span::before,
.best-review__writer span::after {
  position: absolute;
  left: 50%;
  content: '';
  transform: translateX(-50%);
  background: #2d2418;
}

.best-review__writer span::before {
  top: 19%;
  width: 34%;
  height: 34%;
  border-radius: 50%;
}

.best-review__writer span::after {
  bottom: 8%;
  width: 62%;
  height: 35%;
  border-radius: 48% 48% 38% 38%;
}

.best-review__stars {
  display: flex;
  gap: 8px;
  margin-bottom: clamp(24px, 3vw, 36px);
  color: #c9952c;
  font-size: clamp(38px, 4vw, 66px);
  line-height: 1;
}

.best-review__review-area > h2 {
  margin: 0 0 22px;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.best-review__text {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  margin: 0;
  font-size: clamp(27px, 3.3vw, 48px);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -0.07em;
  white-space: pre-line;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
}

.best-review__photos {
  margin-top: 0;
}

.best-review__photo-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 2.8vw, 28px);
  justify-items: center;
}

.best-review__photo-item {
  margin: 0;
}

.best-review__thumb {
  width: min(50%, 320px);
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #d7d8d4, #f4f4f0 48%, #9d9f9d);
}

.best-review__thumb .review-image-placeholder__shoe {
  width: 115%;
  height: 44%;
  transform: rotate(-31deg) scale(1.25);
}

.best-review__photo-item figcaption {
  margin-top: 18px;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.best-review__footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-top: clamp(70px, 9vw, 116px);
}

.best-review__nav {
  display: flex;
  gap: clamp(36px, 4vw, 54px);
}

.best-review__nav button {
  width: clamp(36px, 3.6vw, 54px);
  height: clamp(36px, 3.6vw, 54px);
  border: solid #242720;
  border-width: 0 0 6px 6px;
  background: transparent;
  cursor: pointer;
}

.best-review__nav button:first-child {
  transform: rotate(45deg);
}

.best-review__nav button:last-child {
  transform: rotate(225deg);
}

@media (max-width: 960px) {
  .best-review {
    padding-top: 40px;
  }

  .best-review__content {
    grid-template-columns: 1fr;
  }

  .best-review__footer {
    align-items: center;
  }

  .best-review--main .best-review__content {
    gap: 26px;
  }
}

@media (max-width: 640px) {
  .best-review--main {
    margin-top: 30px;
    padding: 34px 14px 38px;
  }

  .best-review--main .best-review__header {
    margin-bottom: 28px;
  }

  .best-review--main .best-review__header h1 {
    font-size: 38px;
  }

  .best-review--main .best-review__header p {
    font-size: 20px;
  }

  .best-review--main .best-review__main-image {
    aspect-ratio: 1 / 0.98;
  }

  .best-review--main .best-review__content {
    gap: 18px;
  }

  .best-review--main .best-review__top,
  .best-review--main .best-review__bottom {
    gap: 18px;
  }

  .best-review--main .best-review__product-info dl div {
    display: flex;
    gap: 8px;
  }

  .best-review--main .best-review__product-info h2,
  .best-review--main .best-review__photos h3 {
    font-size: 18px;
  }

  .best-review--main .best-review__product-info dl div {
    font-size: 14px;
  }

  .best-review--main .best-review__writer {
    align-items: center;
    font-size: 15px;
  }

  .best-review--main .best-review__stars {
    font-size: 24px;
  }

  .best-review--main .best-review__review-area > h2 {
    font-size: 24px;
  }

  .best-review--main .best-review__text {
    font-size: 15px;
    line-height: 1.44;
  }

  .best-review--main .best-review__photo-item figcaption {
    font-size: 15px;
  }

  .best-review__photo-list {
    grid-template-columns: 1fr;
  }

  .best-review__product-info dl div {
    display: block;
  }

  .best-review__writer {
    align-items: flex-start;
  }

  .best-review__footer {
    flex-direction: column;
  }

  .best-review--main .best-review__footer {
    align-items: flex-start;
  }

  .best-review__nav {
    width: 100%;
    justify-content: space-between;
  }

  .best-review--main .best-review__nav {
    width: auto;
    justify-content: flex-start;
  }

  .best-review--main .best-review__footer {
    margin-top: 28px;
  }
}

