/*
 * Explore SONON product cards
 *
 * The legacy Webflow rules change the card structure at each breakpoint.
 * These overrides keep the same image → product information → icon row →
 * Learn more order at every width, while allowing the document to scroll
 * vertically when there are one or two visible cards.
 */

.body-2 .sonon-body {
  width: 100%;
  overflow-x: hidden;
}

.body-2 .sonon,
.body-2 .sonon._1 {
  box-sizing: border-box;
}

.body-2 .sonon-text {
  box-sizing: border-box;
  overflow: visible;
}

.body-2 .sonon .sonon-text > .head.en._2.blue.bold.fix {
  margin: 0;
  line-height: 1.08;
}

.body-2 .sonon .explore-margin-box {
  margin: 10px 0 16px;
}

.body-2 .sonon .product-text-box-icons.explore-sonon {
  box-sizing: border-box;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 0;
  padding: 0;
  white-space: nowrap;
}

.body-2 .sonon .product-text-box-icons.explore-sonon > .product-icon {
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  flex: 0 0 auto;
  padding: 0 !important;
}

.body-2 .sonon-morebutton,
.body-2 .sonon-morebutton._300c {
  box-sizing: border-box;
  border: 1px solid var(--dim-grey);
}

@media screen and (min-width: 1200px) {
  .body-2 .sonon-body {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    height: calc(100vh - 60px);
    min-height: 720px;
    margin-top: 60px;
    overflow: visible;
  }

  .body-2 .sonon,
  .body-2 .sonon._1 {
    flex-direction: column;
    width: auto;
    min-width: 0;
    min-height: 0;
    height: 100%;
    padding-top: 0;
    display: flex;
    overflow: hidden;
  }

  .body-2 .sonon-image,
  .body-2 .sonon-image._300c,
  .body-2 .sonon-image._300l,
  .body-2 .sonon-image._500l,
  .body-2 .sonon-image._500c,
  .body-2 .sonon-image._500p {
    flex: 0 0 57%;
    width: 100%;
    min-height: 0;
    height: auto;
  }

  .body-2 .sonon-text {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    height: auto;
    padding: clamp(18px, 1.5vw, 26px);
  }

  .body-2 .sonon .sonon-text > .head.en._2.blue.bold.fix {
    font-size: clamp(1.75rem, 2.6vw, 2.4rem);
  }

  .body-2 .sonon .body-text.en._7.light.long,
  .body-2 .sonon .body-text.kr._2-5.long {
    font-size: clamp(.72rem, .85vw, .95rem);
    line-height: 1.35;
  }

  .body-2 .sonon .product-text-box-icons.explore-sonon {
    width: 100%;
    min-height: clamp(40px, 3.4vw, 48px);
    height: clamp(40px, 3.4vw, 48px);
    margin-top: auto;
    margin-bottom: 0;
  }

  .body-2 .sonon .product-text-box-icons.explore-sonon > .product-icon {
    width: clamp(42px, 3.4vw, 54px);
    height: clamp(42px, 3.4vw, 54px);
  }

  .body-2 .sonon-morebutton,
  .body-2 .sonon-morebutton._300c {
    flex: 0 0 clamp(54px, 6vh, 72px);
    width: 100%;
    height: auto;
  }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
  .body-2 .sonon-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    height: auto;
    padding-top: 60px;
    overflow: visible;
  }

  .body-2 .sonon,
  .body-2 .sonon._1 {
    flex-direction: column;
    width: auto;
    min-width: 0;
    min-height: 0;
    height: clamp(650px, 88vh, 800px);
    padding-top: 0;
    display: flex;
    overflow: hidden;
  }

  .body-2 .sonon-image,
  .body-2 .sonon-image._300c,
  .body-2 .sonon-image._300l,
  .body-2 .sonon-image._500l,
  .body-2 .sonon-image._500c,
  .body-2 .sonon-image._500p {
    flex: 0 0 56%;
    width: 100%;
    min-height: 0;
    height: auto;
  }

  .body-2 .sonon-text {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    height: auto;
    padding: clamp(20px, 2.4vw, 30px);
  }

  .body-2 .sonon .sonon-text > .head.en._2.blue.bold.fix {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
  }

  .body-2 .sonon .body-text.en._7.light.long,
  .body-2 .sonon .body-text.kr._2-5.long {
    font-size: clamp(.88rem, 1.25vw, 1rem);
    line-height: 1.4;
  }

  .body-2 .sonon .product-text-box-icons.explore-sonon {
    width: 100%;
    min-height: clamp(48px, 5vw, 60px);
    height: clamp(48px, 5vw, 60px);
    margin-top: auto;
    margin-bottom: 0;
    gap: clamp(8px, 1.2vw, 14px);
  }

  .body-2 .sonon .product-text-box-icons.explore-sonon > .product-icon {
    width: clamp(50px, 5.5vw, 66px);
    height: clamp(50px, 5.5vw, 66px);
  }

  .body-2 .sonon-image._500c,
  .body-2 .sonon-image._500p {
    background-size: contain;
  }

  .body-2 .sonon-morebutton,
  .body-2 .sonon-morebutton._300c {
    flex: 0 0 clamp(56px, 7vh, 70px);
    width: 100%;
    height: auto;
  }

  .body-2 .sonon-morebutton > .body-text.en._1,
  .body-2 .sonon-morebutton > .body-text.kr._1 {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.2;
  }
}

@media screen and (max-width: 767px) {
  .body-2 {
    overflow-y: auto;
  }

  .body-2 .sonon-body {
    flex-direction: column;
    height: auto;
    padding-top: 0;
    overflow: visible;
  }

  .body-2 .sonon,
  .body-2 .sonon._1,
  .body-2 .sonon._300l,
  .body-2 .sonon._500l,
  .body-2 .sonon._500c,
  .body-2 .sonon._500p {
    border-bottom: 1px solid var(--dim-grey);
    flex-direction: column;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
    max-height: none;
    padding-top: 0;
    display: flex;
    overflow: visible;
  }

  .body-2 .sonon:not(._1) .sonon-nav {
    display: none;
  }

  .body-2 .sonon._1 .sonon-nav {
    display: flex;
    position: fixed;
    top: 46px;
    right: 0;
    left: 0;
    z-index: 1000;
    margin-top: 0;
    background-color: var(--black);
  }

  .body-2 .sonon-body {
    padding-top: calc(46px + 8vh);
  }

  .body-2 .sonon {
    scroll-margin-top: calc(46px + 8vh);
  }

  .body-2 .sonon._1 .sonon-nav .explore-button-box {
    cursor: pointer;
  }

  .body-2.product-detail-mode .sonon-body {
    width: 100%;
    height: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    overflow: visible;
  }

  .body-2.product-detail-mode .sonon-body > .sonon {
    display: none;
  }

  .body-2.product-detail-mode .sonon-body > .sonon._1 {
    display: block;
    width: 100%;
    height: 0;
    min-height: 0;
    border: 0;
    overflow: visible;
  }

  .body-2.product-detail-mode .sonon._1 > :not(.sonon-nav) {
    display: none;
  }

  .body-2.product-detail-mode .moblie-sonon-300c,
  .body-2.product-detail-mode .sonon-300c,
  .body-2.product-detail-mode .mobile-sonon-300l,
  .body-2.product-detail-mode .mobile-sonon-500l {
    box-sizing: border-box;
    padding-top: calc(46px + 8vh);
  }

  .body-2 .sonon-image,
  .body-2 .sonon-image._300c,
  .body-2 .sonon-image._300l,
  .body-2 .sonon-image._500l,
  .body-2 .sonon-image._500c,
  .body-2 .sonon-image._500p {
    border-right-style: none;
    border-bottom: 1px solid var(--dark-grey);
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
    height: clamp(420px, 130vw, 620px);
    background-size: auto 78%;
  }

  .body-2 .sonon-image._500c,
  .body-2 .sonon-image._500p {
    background-size: auto 76%;
  }

  .body-2 .sonon-text {
    flex: 0 0 auto;
    width: 100%;
    min-height: 240px;
    height: auto;
    padding: 24px 20px 20px;
  }

  .body-2 .sonon .sonon-text > .head.en._2.blue.bold.fix {
    font-size: clamp(1.75rem, 8.5vw, 2.35rem);
  }

  .body-2 .sonon .body-text.en._7.light.long,
  .body-2 .sonon .body-text.kr._2-5.long {
    font-size: clamp(.95rem, 3.6vw, 1.1rem);
    line-height: 1.42;
  }

  .body-2 .sonon .product-text-box-icons.explore-sonon {
    width: 100%;
    min-height: clamp(48px, 13vw, 64px);
    height: clamp(48px, 13vw, 64px);
    margin-top: auto;
    margin-bottom: 0;
    gap: clamp(10px, 3vw, 16px);
  }

  .body-2 .sonon .product-text-box-icons.explore-sonon > .product-icon {
    width: clamp(48px, 13vw, 64px);
    height: clamp(48px, 13vw, 64px);
  }

  .body-2 .sonon-morebutton,
  .body-2 .sonon-morebutton._300c {
    border-top: 1px solid var(--dim-grey);
    flex: 0 0 64px;
    width: 100%;
    height: 64px;
    display: flex;
  }

  .body-2 .sonon-morebutton > .body-text.en._1,
  .body-2 .sonon-morebutton > .body-text.kr._1 {
    font-size: clamp(1.05rem, 4.5vw, 1.25rem);
    line-height: 1.2;
  }

  /* Stack SONON X details vertically on mobile instead of retaining
     the clipped desktop two-column layout. */
  .body-2 .sonon-500l-detail-trial,
  .body-2 .sonon-500l-detail-trial.stay {
    isolation: isolate;
    position: relative;
    z-index: 6;
    flex-direction: column;
    background-color: var(--background);
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .body-2 .sonon-500l-detail-trial.for-click {
    z-index: 1001;
    flex-direction: column;
    background-color: var(--background);
    width: 100%;
    height: 100dvh;
    padding-top: calc(46px + 8vh);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .body-2 .detail-box-trial,
  .body-2 .detail-box-trial._1,
  .body-2 .detail-box-trial._2 {
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
    background-color: var(--background);
    width: 100%;
    height: auto;
    overflow: visible;
    border-right: 0;
  }

  .body-2 .detail-title-box,
  .body-2 .detail-title-box._2,
  .body-2 .detail-title-box-title-area {
    width: 100%;
  }

  .body-2 .background-video-2 {
    width: 100%;
    height: min(72vw, 360px);
    min-height: 240px;
  }

  .body-2 .sonon-x-text-box {
    background-color: var(--background);
    width: 100%;
    height: auto;
    padding: 28px 20px 40px;
    overflow-wrap: anywhere;
  }
}

@media screen and (min-width: 768px) {
  .body-2 .sonon-image._500c,
  .body-2 .sonon-image._500p {
    background-size: 75% auto;
  }

  .body-2 .sonon-image._500p::before {
    background-size: 75% auto;
  }
}