.pdp-section * {
  box-sizing: border-box !important;
}

.sr-only {
  font-size: 0;
  text-indent: -999999px;
  overflow: hidden;
}

.pc-only {
  display: block !important;
}

.mo-only {
  display: none !important;
}

.is-rounded {
  border-radius: 25px;
  overflow: hidden;
}

.swiper-button-next,
.swiper-button-prev {
  width: auto !important;
  height: auto !important;
  margin-top: 0 !important;
  background: none !important;
  border: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border-radius: 0;
  z-index: auto;

  &::after {
    display: none;
  }

  img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
  }
}

.pdp-section {
  /* layout */
  --max-w: 1900px;
  --min-w: 1400px;
  --w-content: 1200px;

  /* color */
  --c-white: #ffffff;
  --c-black: #333333;
  --c-red: #e75a1e;
  --line-border: #d7d6d4;

  /* spacing — padding / margin / gap 전용 (font-size에 쓰지 말 것) */
  --space-1: 1px;
  --space-20: 20px;
  --space-30: 30px;
  --space-40: 40px;
  --space-50: 50px;
  --space-60: 60px;
  --space-80: 80px;
  --space-100: 100px;
  --space-120: 120px;
  --space-240: 240px;
  --space-250: 250px;
  --section-pad-top: 240px;
  --section-pad-top-lg: 250px;
  --contents-pad-top: 100px;

  /* font-size */
  --fs-base: 18px;
  --fs-20: 20px;
  --fs-21: 21px;
  --fs-30: 30px;
  --fs-33: 33px;
  --fs-35: 35px;
  --fs-40: 40px;
  --fs-42: 42px;
  --fs-45: 45px;
  --fs-50: 50px;
  --fs-60: 60px;
  --fs-65: 65px;
  --fs-67: 67px;
  --fs-70: 70px;
  --fs-72: 72px;
  --fs-75: 75px;
  --fs-notice: 18px;
  --fs-tit-h3: 70px;
  --fs-tit-h4: 40px;
  --fs-box-h3: 60px;
  --fs-box-h4: 35px;
  --fs-text-p1: 50px;
  --fs-text-p2: 35px;

  /* line-height */
  --lh-21: 21px;
  --lh-31: 31px;
  --lh-44: 44px;
  --lh-46: 46px;
  --lh-55: 55px;
  --lh-62: 62px;
  --lh-63: 63px;
  --lh-70: 70px;
  --lh-83: 83px;
  --lh-85: 85px;
  --lh-93: 93px;
  --lh-102: 102px;
  --lh-notice: 21px;
  --lh-tit-h3: 85px;
  --lh-tit-h4: 62px;
  --lh-box-h3: 83px;
  --lh-box-h4: 55px;
  --lh-text-p1: 70px;
  --lh-text-p2: 55px;

  /* font-weight */
  --font-thin: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi: 600;
  --font-bold: 700;
  --font-extra: 800;

  /* border-radius 전용 */
  --radius-pill: 999px;
  --radius-xxlg: 100px;
  --radius-xlg: 40px;
  --radius-lg: 25px;
  --radius-md: 15px;
  --radius-sm: 10px;
  --radius-xs: 5px;

  /* @deprecated — spacing 용도만. 신규 작성 시 --space-* 사용 */
  --px-1: var(--space-1);
  --px-20: var(--space-20);
  --px-30: var(--space-30);
  --px-40: var(--space-40);
  --px-50: var(--space-50);
  --px-250: var(--space-250);
  --px-999: var(--radius-pill);

  max-width: var(--max-w);
  min-width: var(--min-w);
  margin: 0 auto;

  font-family: "Pretendard";
  font-size: var(--fs-base);
  font-weight: var(--font-regular);

  color: var(--c-black);
  background: var(--c-white);

  .swiper-button-next::after,
  .swiper-button-prev::after {
    display: none;
  }

  .video-box {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);

    .video {
      position: relative;
      line-height: 0;
    }

    img {
      width: 100%;
      display: block;
    }

    video {
      width: 100%;
      height: 100%;
      position: absolute;
      inset: 0;
      object-fit: cover;
      outline: none;
      border: 0;
      box-shadow: none;
      -webkit-backface-visibility: hidden;
      backface-visibility: hidden;
    }
  }

  .summary-detail {
    width: 100%;
    background: transparent;
  }

  .summary-box,
  .summary-detail {
    .summary-toggle {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 200px;
      margin: 0 auto;
      padding: 14px 24px;
      border: var(--px-1) solid var(--c-black);
      border-radius: var(--radius-pill);
      font-size: var(--fs-21);
      font-weight: var(--font-medium);
      line-height: 1;
      color: var(--c-black);
      background: transparent;
      cursor: pointer;
      list-style: none;

      &::-webkit-details-marker {
        display: none;
      }

      &::after {
        content: "";
        width: 10px;
        height: 10px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        margin-top: -4px;
        transition: transform 0.2s ease;
      }
    }

    .summary-panel {
      margin-top: 40px;
      font-size: 18px;
      line-height: 21px;
      color: var(--c-black);
      text-align: left;
      background: transparent;
    }

    .summary-block + .summary-block {
      margin-top: 40px;
    }

    .summary-title {
      margin: 0;
      font-size: inherit;
      font-weight: var(--font-regular);
      line-height: inherit;
    }

    .summary-list {
      margin: 8px 0 0;
      padding: 0;
      list-style: none;
      counter-reset: summary-main;

      &.no-padding {
        padding: 0;
      }
    }

    .summary-list > li {
      position: relative;
      margin-top: 4px;
      padding-left: 1.2em;
      counter-increment: summary-main;
    }

    .summary-list > li::before {
      content: counter(summary-main) ". ";
      position: absolute;
      left: 0;
      top: 0;
      width: 1.2em;
      text-align: left;
    }

    .summary-sublist {
      margin: 0;
      padding: 0;
      list-style: none;
      counter-reset: summary-sub;
    }

    .summary-sublist > li {
      position: relative;
      margin-top: 4px;
      padding-left: 1em;
      counter-increment: summary-sub;
    }

    .summary-sublist > li:first-child {
      margin-top: 0;
    }

    .summary-sublist > li::before {
      content: counter(summary-sub) ") ";
      position: absolute;
      left: 0;
      top: 0;
      width: 1em;
      text-align: left;
    }

    .summary-sublist > li.no {
      padding: 0;
    }

    .summary-sublist > li.no::before {
      display: none;
    }

    .summary-sub-item {
      display: flex;
      align-items: flex-start;
    }

    .summary-sub-item .sub-label {
      flex-shrink: 0;
      margin-right: 4px;
    }

    .summary-sub-item .sub-text {
      flex-grow: 1;
    }

    .summary-sublist-wrapper {
      display: flex;
      align-items: flex-start;
      margin: 0;
      padding: 0;
      gap: 8px;
    }

    .summary-sublist-label {
      flex-shrink: 0;
      white-space: nowrap;
    }

    .summary-sublist-wrapper .summary-sublist {
      margin: 0;
      padding: 0;
      flex-grow: 1;
    }

    .summary-note-list {
      margin: 8px 0 0;
      list-style: none;

      &.no-padding {
        padding: 0;
      }
    }

    .summary-note-list > li {
      margin-top: 4px;
    }
  }

  .summary-detail[open] .summary-toggle::after {
    transform: rotate(-135deg);
    margin-top: 4px;
  }

  .tit-box {
    text-align: center;

    p.label {
      width: 162px;
      height: 90px;
      margin: 0 auto;
      overflow: hidden;

      img {
        width: 100%;
        height: 100%;
      }
    }

    h3 {
      margin: var(--space-50) auto 0;
      color: var(--c-red);
      font-size: var(--fs-tit-h3);
      line-height: var(--lh-tit-h3);
      font-weight: var(--font-bold);
    }

    h4 {
      margin-top: var(--space-30);
      font-size: var(--fs-tit-h4);
      line-height: var(--lh-tit-h4);
      font-weight: var(--font-semi);
    }

    p {
      margin-top: var(--space-30);
      font-size: var(--fs-20);
      line-height: var(--lh-31);
    }
  }

  .text-box {
    .p1 {
      font-size: var(--fs-text-p1);
      line-height: var(--lh-text-p1);
      font-weight: var(--font-bold);
    }

    .p2 {
      margin-top: var(--space-30);
      font-size: var(--fs-text-p2);
      line-height: var(--lh-text-p2);
      font-weight: var(--font-medium);
    }
  }

  .img-box,
  .grid-box,
  .slide-box,
  .video-box {
    text-align: center;

    h3 {
      font-size: var(--fs-box-h3);
      line-height: var(--lh-box-h3);
      font-weight: var(--font-bold);
    }

    h4 {
      margin-top: var(--space-40);
      font-size: var(--fs-box-h4);
      line-height: var(--lh-box-h4);
      font-weight: var(--font-medium);
    }
  }

  p.notice {
    font-size: var(--fs-notice);
    line-height: var(--lh-notice);
  }

  &.pdp-section-main {
    .contents-box {
      .contents {
        &.contents1 {
          padding: 260px 0 780px;
          background-image: url("https://mall.cowaystatic.com/static/front/resources/contents/upload/20260521/WMG-2005/filter-visula-2L.png");
          background-repeat: no-repeat;
          background-position: center 540px;
          background-size: auto;

          .tit-box {
            max-width: var(--w-content);
            margin: auto;
            text-align: center;

            h2 {
              font-size: 75px;
              line-height: 102px;
              font-weight: var(--font-extra);
            }

            img {
              margin-top: var(--px-30);
            }
          }
        }
      }
    }
  }

  &.pdp-section-point3 {
    .contents-section {
      .contents-box {
        .contents {
          &.contents1 {
            padding-top: 50px;

            .video-box {
              max-width: 1000px;
              margin: 0 auto;

              .video {
                img {
                  position: relative;
                  z-index: 2;
                }

                video {
                  z-index: 1;
                  opacity: 0;
                }
              }

              &.is-playing {
                .video {
                  img {
                    z-index: 1;
                  }

                  video {
                    z-index: 2;
                    opacity: 1;
                  }
                }
              }
            }

            .summary-box {
              max-width: var(--w-content);
              margin: 60px auto 0;
            }
          }

          &.contents2 {
            margin-top: 90px;
            padding-top: 150px;
            background: #f7f8f8;

            .video-box {
              max-width: 1000px;
              margin: 0 auto;

              .video {
                margin-top: 60px;

                img {
                  position: relative;
                  z-index: 2;
                }

                video {
                  z-index: 1;
                  opacity: 0;
                }
              }

              &.is-playing {
                .video {
                  img {
                    z-index: 1;
                  }

                  video {
                    z-index: 2;
                    opacity: 1;
                  }
                }
              }
            }

            .summary-box {
              max-width: var(--w-content);
              margin: 60px auto 0;
            }
          }

          &.contents3 {
            padding-top: 160px;
            padding-bottom: 50px;
            background: #f7f8f8;

            .grid-box {
              max-width: 1200px;
              margin: 0 auto;

              .grid {
                .grid-group-item {
                  display: grid;
                  grid-template-columns: repeat(2, 1fr);
                  gap: 80px;
                  align-items: stretch;

                  .text-box {
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    text-align: left;

                    .notice {
                      margin-top: var(--space-30);
                      text-align: left;
                    }
                  }
                }
              }
            }

            .summary-box {
              max-width: var(--w-content);
              margin: 60px auto 0;
            }
          }
        }
      }
    }
  }
}

/* ========== 반응형 ≤1024 ========== */
@media screen and (max-width: 1024px) {
  .swiper-button-next,
  .swiper-button-prev {
    img {
      width: 4.8vw !important;
      height: 9.4667vw !important;
    }
  }

  .swiper-wrapper {
    height: auto;
  }

  .pc-only {
    display: none !important;
  }

  .mo-only {
    display: block !important;
  }

  .is-rounded {
    border-radius: 3.3333vw;
  }

  .pdp-section {
    /* spacing (vw) */
    --space-1: 0.1333vw;
    --space-20: 2.6667vw;
    --space-30: 4vw;
    --space-40: 5.3333vw;
    --space-50: 6.6667vw;
    --space-60: 8vw;
    --space-80: 10.6667vw;
    --space-100: 13.3333vw;
    --space-120: 16vw;
    --space-240: 38.6667vw;
    --space-250: 40vw;
    --section-pad-top: 38.6667vw;
    --section-pad-top-lg: 40vw;
    --contents-pad-top: 13.3333vw;

    /* font-size (vw) */
    --summay-text: 2.3vw;
    --fs-base: 2.8vw;
    --fs-18: 2.4vw;
    --fs-20: 4.4vw;
    --fs-21: 3.7333vw;
    --fs-30: 4vw;
    --fs-33: 4.4vw;
    --fs-35: 4.4vw;
    --fs-40: 5.3333vw;
    --fs-42: 5.6vw;
    --fs-45: 6vw;
    --fs-50: 6.6667vw;
    --fs-60: 8.8vw;
    --fs-65: 8.6667vw;
    --fs-67: 8.9333vw;
    --fs-70: 9.3333vw;
    --fs-72: 9.6vw;
    --fs-75: 10vw;
    --fs-notice: 2.4vw;
    --fs-tit-h3: 8vw;
    --fs-tit-h4: 4.4vw;
    --fs-box-h3: 6.6667vw;
    --fs-box-h4: 4vw;
    --fs-text-p1: 6.6667vw;
    --fs-text-p2: 4.4vw;

    /* line-height (vw) */
    --lh-21: 5.2vw;
    --lh-31: 4.4vw;
    --lh-44: 6vw;
    --lh-46: 6.1333vw;
    --lh-55: 7.3333vw;
    --lh-62: 8.2667vw;
    --lh-63: 8.4vw;
    --lh-70: 9.3333vw;
    --lh-83: 11.0667vw;
    --lh-85: 11.3333vw;
    --lh-93: 12.4vw;
    --lh-102: 13.6vw;
    --lh-notice: 2.8vw;
    --lh-tit-h3: 10vw;
    --lh-tit-h4: 6.2667vw;
    --lh-box-h3: 8.6667vw;
    --lh-box-h4: 5.6vw;
    --lh-text-p1: 9.3333vw;
    --lh-text-p2: 6vw;

    /* border-radius (vw) */
    --px-1: var(--space-1);
    --px-20: var(--space-20);
    --px-30: var(--space-30);
    --px-40: var(--space-40);
    --px-50: var(--space-50);
    --px-250: var(--space-250);
    --radius-pill: 999px;
    --radius-xlg: 6.67vw;
    --radius-lg: 3.33vw;
    --radius-md: 2vw;
    --radius-sm: 1.33vw;
    --radius-xs: 0.67vw;
    min-width: 100%;
    max-width: 100%;
    overflow: hidden;

    /* 챕터 타이틀 박스 */
    .tit-box {
      margin: auto;

      p.label {
        width: 26.6667vw;
        max-width: 109px;
        height: auto;
        margin: 0 auto;
        overflow: hidden;

        img {
          display: block;
          width: 100%;
          height: auto;
        }
      }

      h3 {
        margin-top: var(--space-30);
        font-size: var(--fs-tit-h3);
        line-height: var(--lh-tit-h3);
      }

      h4 {
        margin-top: var(--space-30);
        font-size: var(--fs-tit-h4);
        line-height: var(--lh-tit-h4);
      }

      h3 ~ p {
        margin-top: var(--space-30);
        font-size: var(--fs-18);
        line-height: var(--lh-31);
      }
    }

    .text-box {
      .p1 {
        font-size: var(--fs-text-p1);
        line-height: var(--lh-text-p1);
      }

      .p2 {
        margin-top: var(--space-30);
        font-size: var(--fs-text-p2);
        line-height: var(--lh-text-p2);
      }
    }

    .img-box,
    .grid-box,
    .slide-box,
    .video-box {
      h3 {
        font-size: var(--fs-box-h3);
        line-height: var(--lh-box-h3);
      }

      h4 {
        margin-top: var(--space-30);
        font-size: var(--fs-box-h4);
        line-height: var(--lh-box-h4);
      }
    }

    p.notice {
      font-size: var(--fs-notice);
      line-height: var(--lh-notice);
    }

    .summary-detail {
      width: 100%;
      background: transparent;
    }

    .summary-box,
    .summary-detail {
      margin-top: var(--space-30);

      .summary-toggle {
        width: fit-content;
        padding: 2.4vw 5.3333vw;
        font-size: 3.0667vw;
        gap: 2.6667vw;

        &::after {
          width: 1.3333vw;
          height: 1.3333vw;
        }
      }

      .summary-panel {
        margin-top: var(--space-30);
        font-size: var(--summay-text);
        line-height: 2.9333vw;
      }

      .summary-block + .summary-block {
        margin-top: var(--space-30);
      }

      .summary-list,
      .summary-sublist {
        padding-left: 0;
      }

      .summary-note-list {
        padding-left: 0;
      }

      .summary-sublist-wrapper {
        display: flex;
        align-items: flex-start;
        gap: 1.0667vw;
      }

      .summary-sublist-wrapper .summary-sublist {
        padding-left: 0;
      }
    }

    .summary-detail[open] .summary-toggle::after {
      margin-top: 0.5333vw;
    }

    .video-box {
      position: relative;
      overflow: hidden;
      transform: translateZ(0);
      -webkit-mask-image: -webkit-radial-gradient(white, black);
      mask-image: radial-gradient(white, black);

      img {
        width: 100%;
        display: block;
        transform: scale(1.01);
      }

      video {
        width: 100%;
        height: 100%;
        position: absolute;
        inset: 0;
        object-fit: cover;
        outline: none;
        border: 0;
        box-shadow: none;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transform: scale(1.01);
      }
    }

    .img-box {
      text-align: center;

      h5 {
        margin-top: var(--space-40);
        font-size: var(--fs-20);
        line-height: var(--lh-text-p2);
      }

      h6 {
        margin-top: var(--space-40);
        font-size: var(--fs-notice);
        line-height: 4.5333vw;
      }

      .img {
        margin: var(--space-40) auto 0;
        border: 0;
      }

      p.notice {
        margin: var(--space-40) auto 0;
      }
    }

    .grid-box {
      text-align: center;

      h5 {
        margin-top: var(--space-40);
        font-size: var(--fs-20);
        line-height: var(--lh-text-p2);
      }

      h6 {
        margin-top: var(--space-40);
        font-size: var(--fs-notice);
        line-height: 4.5333vw;
      }

      .grid.top-grid,
      .grid.bottom-grid {
        border: 0;
        border-top: var(--px-1) solid var(--line-border);
        border-bottom: var(--px-1) solid var(--line-border);
      }

      p.notice {
        margin: var(--space-40) auto 0;
      }
    }

    .slide-box {
      text-align: center;

      h5 {
        margin-top: var(--space-40);
        font-size: var(--fs-20);
        line-height: var(--lh-text-p2);
      }

      h6 {
        margin-top: var(--space-40);
        font-size: var(--fs-notice);
        line-height: 4.5333vw;
      }

      p.notice {
        margin: var(--space-40) auto 0;
      }
    }

    &.pdp-section-main {
      .contents-section {
        .contents-box {
          .contents {
            &.contents1 {
              padding: 21.33vw 0 74.66vw;
              background-image: url("https://mall.cowaystatic.com/static/front/resources/contents/upload/20260521/WMG-2005/filter-visula-2L.png");
              background-repeat: no-repeat;
              background-position: center 52vw;
              background-size: 55.8vw auto;

              .tit-box {
                width: calc(100% - 13.3333vw);
                margin: 0 auto;

                h2 {
                  font-size: 7.3333vw;
                  line-height: 8vw;
                }
              }
            }
          }
        }
      }
    }

    &.pdp-section-point3 {
      .contents-section {
        .contents-box {
          .contents {
            &.contents1 {
              padding-top: 8vw;

              .video-box {
                margin: 0 auto;
                max-width: calc(100% - 11.2vw);
              }

              .summary-box {
                margin: var(--space-30) auto 0;
                max-width: calc(100% - 11.2vw);
              }
            }

            &.contents2 {
              margin-top: 20vw;
              padding-top: 9.3333vw;

              .video-box {
                margin: 0 auto;
                max-width: calc(100% - 11.2vw);

                .video {
                  margin-top: 9.3333vw;
                }
              }

              .summary-box {
                margin: var(--space-30) auto 0;
                max-width: calc(100% - 11.2vw);
              }
            }

            &.contents3 {
              padding-top: 13.3333vw;
              padding-bottom: 5.3333vw;

              .grid-box {
                margin: 0 auto;
                max-width: calc(100% - 18.6667vw);

                .grid {
                  .grid-group-item {
                    display: grid;
                    grid-template-columns: repeat(2, 1fr);
                    gap: 4vw;
                    align-items: stretch;

                    .text-box {
                      display: flex;
                      flex-direction: column;
                      justify-content: center;
                      text-align: left;

                      .p1 {
                        font-size: 5.3333vw;
                        line-height: 1;
                      }

                      .p2 {
                        margin-top: 2.6667vw;
                        font-size: 4vw;
                        line-height: 5.3333vw;
                      }

                      .notice {
                        margin-top: 2.6667vw;
                        text-align: left;
                      }
                    }
                  }
                }
              }

              .summary-box {
                margin: var(--space-30) auto 0;
                max-width: calc(100% - 11.2vw);
              }
            }
          }
        }
      }
    }
  }
}
