.product-detail-page {
  background: #ffffff;
  color: #181818;
}

/* =========================
   PRODUCT HERO
========================= */

.sensor-hero {
  --sensor-red: #d40000;

  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(300px, 0.95fr);

  min-height: 100vh;
  min-height: 100dvh;

  overflow: hidden;
  background: #ffffff;
}

.sensor-hero-copy {
  display: flex;
  align-items: center;

  padding:
    calc(var(--header-height, 64px) + clamp(56px, 9vh, 105px))
    clamp(42px, 8vw, 150px)
    clamp(74px, 11vh, 135px);
}

.sensor-copy-inner {
  width: min(100%, 520px);
  transform: translateY(-2vh);
}

.sensor-accent-line {
  width: 600px;
  height: 3px;
  margin-bottom: clamp(22px, 3vh, 34px);

  background: var(--sensor-red);
}

.sensor-title {
  margin: 0;

  color: #111111;
  font-size: clamp(31px, 3.1vw, 50px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -2px;
}

.sensor-lead {
  margin: clamp(18px, 2.4vh, 27px) 0 0;

  color: #999999;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.3px;
}

.sensor-bottom-copy {
  margin-top: clamp(72px, 15vh, 158px);
}

.sensor-bottom-copy p {
  margin: 0;

  color: #a5a5a5;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.8px;
}

.sensor-bottom-copy strong {
  color: #2787d9;
  font-weight: 700;
}

.sensor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;

  margin-top: clamp(20px, 2.8vh, 30px);
}

.sensor-tech-button,
.sensor-inquiry-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 135px;
  height: 46px;
  padding: 0 22px;

  border: 0;
  border-radius: 999px;

  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;

  cursor: pointer;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.sensor-tech-button {
  background: var(--sensor-red);
  color: #ffffff;
}

.sensor-inquiry-button {
  background: #e8e8e8;
  color: #666666;
}

.sensor-tech-button:hover,
.sensor-inquiry-button:hover {
  transform: translateY(-2px);
}

.sensor-tech-button:focus-visible,
.sensor-inquiry-button:focus-visible,
.email-copy-button:focus-visible,
.inquiry-close-button:focus-visible {
  outline: 3px solid rgba(39, 135, 217, 0.45);
  outline-offset: 3px;
}

/* =========================
   PRODUCT IMAGE AREA
========================= */

.sensor-hero-visual {
  position: relative;
  z-index: 1;

  min-height: 100%;

  background: var(--sensor-red);
}

.product-image-slot {
  position: absolute;
  z-index: 2;

  bottom: clamp(42px, 9vh, 105px);
  left: 0;

  display: grid;
  place-items: center;

  width: clamp(350px, 51vw, 760px);
  aspect-ratio: 1.12 / 1;

  transform: translateX(-45%);
}

.product-image-slot.is-placeholder {
  border: 1px dashed rgba(255, 255, 255, 0.62);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
}

.product-image-slot span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 600;
}

.product-image-slot img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
}

/* =========================
   INQUIRY MODAL
========================= */

.inquiry-modal {
  position: fixed;
  z-index: 9999;
  inset: 0;

  display: grid;
  place-items: center;

  padding: 24px;

  visibility: hidden;
  opacity: 0;
  pointer-events: none;

  transition:
    visibility 0s linear 0.25s,
    opacity 0.25s ease;
}

.inquiry-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;

  transition-delay: 0s;
}

.inquiry-backdrop {
  position: absolute;
  inset: 0;

  background: rgba(10, 16, 28, 0.5);
}

.inquiry-dialog {
  position: relative;
  z-index: 1;

  width: min(100%, 420px);
  padding: 42px 36px 34px;

  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.22);

  text-align: center;

  transform: translateY(18px) scale(0.98);
  transition: transform 0.25s ease;
}

.inquiry-modal.is-open .inquiry-dialog {
  transform: translateY(0) scale(1);
}

.inquiry-close-button {
  position: absolute;
  top: 12px;
  right: 15px;

  width: 34px;
  height: 34px;

  border: 0;
  background: transparent;

  color: #777777;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;

  cursor: pointer;
}

.inquiry-icon {
  display: grid;
  place-items: center;

  width: 55px;
  height: 55px;
  margin: 0 auto 18px;

  border-radius: 50%;
  background: #fff0f0;
  color: var(--sensor-red);
}

.inquiry-icon svg,
.email-copy-button svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.inquiry-icon svg {
  width: 27px;
  height: 27px;
}

.inquiry-dialog h2 {
  margin: 0;

  color: #1b1b1b;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1px;
}

.inquiry-description {
  margin: 12px 0 25px;

  color: #777777;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: -0.5px;
}

.email-copy-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  width: 100%;
  min-height: 54px;
  padding: 12px 16px;

  border: 1px solid #e4e4e4;
  border-radius: 10px;
  background: #fafafa;

  color: #333333;
  font-family: inherit;
  font-size: clamp(14px, 3.7vw, 16px);
  font-weight: 600;
  letter-spacing: -0.4px;

  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.email-copy-button:hover,
.email-copy-button.is-copied {
  border-color: var(--sensor-red);
  background: #fff5f5;
  color: var(--sensor-red);
}

.email-copy-button svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
}

.copy-guide,
.copy-feedback {
  min-height: 20px;
  margin: 12px 0 0;

  font-size: 12px;
  line-height: 1.5;
}

.copy-guide {
  color: #999999;
}

.copy-feedback {
  color: var(--sensor-red);
  font-weight: 600;
}

/* =========================
   TABLET
========================= */

@media (max-width: 900px) {
  .sensor-hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(330px, 42dvh);
  }

  .sensor-hero-copy {
    padding:
      calc(var(--header-height, 64px) + 86px)
      clamp(30px, 8vw, 70px)
      74px;
  }

  .sensor-copy-inner {
    transform: none;
  }

  .sensor-bottom-copy {
    margin-top: 62px;
  }

  .sensor-hero-visual {
    min-height: 330px;
  }

  .product-image-slot {
    bottom: 24px;
    left: 50%;

    width: min(82vw, 580px);

    transform: translateX(-50%);
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 640px) {
  .sensor-hero {
    grid-template-rows: auto 310px;
  }

  .sensor-hero-copy {
    padding:
      calc(var(--header-height, 64px) + 70px)
      24px
      62px;
  }

  .sensor-accent-line {
    width: clamp(220px, 42vw, 600px);
    max-width: 100%;
    height: 3px;
    margin-bottom: clamp(22px, 3vh, 34px);

    background: var(--sensor-red);
  }

  .sensor-title {
    font-size: clamp(29px, 9vw, 38px);
    letter-spacing: -1.5px;
  }

  .sensor-lead {
    margin: clamp(18px, 2.4vh, 27px) 0 0;

    color: #999999;
    font-size: clamp(18px, 1.7vw, 25px);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.3px;
  }

  .sensor-bottom-copy p {
    margin: 0;

    color: #a5a5a5;
    font-size: clamp(18px, 1.7vw, 25px);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.8px;
  }

  .sensor-actions {
    gap: 8px;
  }

  .sensor-tech-button,
  .sensor-inquiry-button {
    min-width: 130px;
    height: 44px;
    font-size: 14px;
  }

  .sensor-hero-visual {
    min-height: 310px;
  }

  .product-image-slot {
    bottom: 18px;

    width: min(88vw, 420px);
  }

  .inquiry-dialog {
    padding: 38px 22px 28px;
    border-radius: 15px;
  }
}

/* =========================
   PRODUCT AUTO SLIDER
========================= */

.sensor-hero {
  position: relative;

  display: block;

  min-height: 100vh;
  min-height: 100dvh;

  overflow: hidden;
  background: #ffffff;
}

.product-slider-track {
  display: flex;

  width: 100%;
  height: 100%;

  transform: translate3d(0, 0, 0);
  transition: transform 0.85s cubic-bezier(0.65, 0, 0.35, 1);

  will-change: transform;
}

.product-slider-track.is-resetting {
  transition: none;
}

.product-slide {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(300px, 0.95fr);

  flex: 0 0 100%;

  min-height: 100vh;
  min-height: 100dvh;

  overflow: hidden;
  background: #ffffff;
}

.vibration-technology-block {
  margin-top: clamp(70px, 10vw, 130px);
  padding-top: clamp(80px, 11vw, 150px);

  border-top: 1px solid #eeeeee;

  scroll-margin-top: calc(var(--header-height, 64px) + 40px);
}

@media (max-width: 900px) {
  .sensor-hero {
    min-height: auto;
  }

  .product-slider-track {
    height: auto;
  }

  .product-slide {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(330px, 42dvh);

    min-height: auto;
  }
}

@media (max-width: 640px) {
  .product-slide {
    grid-template-rows: auto 310px;
  }
}

/* =========================
   PRODUCT SLIDER MOBILE FIX
========================= */

@media (max-width: 900px) {
  .sensor-hero-copy {
    min-width: 0;
  }

  .sensor-copy-inner {
    width: 100%;
    max-width: 620px;
  }

  .sensor-bottom-copy {
    margin-top: clamp(48px, 9vh, 75px);
  }

  .product-image-slot {
    max-width: calc(100vw - 36px);
  }

  .product-slider-arrow {
    top: 52%;
  }
}

@media (max-width: 640px) {
  .sensor-hero-copy {
    padding:
      calc(var(--header-height, 64px) + 54px)
      24px
      52px;
  }

  .sensor-accent-line {
    width: min(100%, 280px);
    height: 2px;
  }

  .sensor-title {
    font-size: clamp(28px, 8.5vw, 38px);
    line-height: 1.18;
    letter-spacing: -1.5px;
  }

  .sensor-lead,
  .sensor-bottom-copy p {
    font-size: clamp(16px, 4.4vw, 20px);
    line-height: 1.45;
  }

  .sensor-bottom-copy {
    margin-top: 44px;
  }

  .sensor-actions {
    gap: 10px;
  }

  .sensor-tech-button,
  .sensor-inquiry-button {
    flex: 1 1 140px;

    min-width: 0;
    height: 44px;
    padding: 0 14px;

    font-size: 14px;
  }

  .product-image-slot {
    width: min(88vw, 420px);
    max-width: calc(100vw - 32px);
  }

  .product-slider-arrow {
    width: 34px;
    height: 58px;

    font-size: 40px;
  }

  .product-slider-prev {
    left: 4px;
  }

  .product-slider-next {
    right: 4px;
  }
}

@media (max-width: 380px) {
  .sensor-title {
    font-size: 27px;
  }

  .sensor-lead,
  .sensor-bottom-copy p {
    font-size: 16px;
  }

  .sensor-tech-button,
  .sensor-inquiry-button {
    width: 100%;
    flex-basis: 100%;
  }
}

@media (max-width: 640px) {
  .vibration-technology-block {
    margin-top: 60px;
    padding-top: 70px;

    scroll-margin-top: calc(var(--header-height, 64px) + 24px);
  }
}

/* =========================
   HEADER OVERLAP ALIGNMENT
========================= */

.product-detail-page .sensor-hero {
  margin-top: calc(var(--header-height, 64px) * -1);

  min-height: calc(100vh + var(--header-height, 64px));
  min-height: calc(100dvh + var(--header-height, 64px));
}

.product-detail-page .product-slide {
  min-height: calc(100vh + var(--header-height, 64px));
  min-height: calc(100dvh + var(--header-height, 64px));
}

.product-detail-page .sensor-hero .left-arrow,
.product-detail-page .sensor-hero .right-arrow {
  color: rgba(205, 205, 205, 0.72) !important;
}

.product-detail-page .product-image-slot.is-placeholder {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}