.product-auth-guide {
  width: 100%;
  background-color: rgba(var(--color-background));
  color: rgba(var(--color-text));
}

.product-auth-guide__inner {
  display: flex;
  flex-direction: column;
  gap: inherit;
}

.product-auth-guide__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.product-auth-guide__heading {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  line-height: 1.1;
  word-break: normal;
}

.product-auth-guide__text {
  margin: 0;
  color: rgba(var(--color-light-text));
  font-size: 16px;
  line-height: 1.6;
}

.product-auth-guide__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: stretch;
}

.product-auth-guide__copy {
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: space-between;
}

.product-auth-guide__tips {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.product-auth-guide__tip-heading {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
}

.product-auth-guide__tip-text {
  margin: 0;
  color: rgba(var(--color-light-text));
  font-size: 16px;
  line-height: 1.6;
}

.product-auth-guide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.product-auth-guide__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.product-auth-guide__button:hover {
  opacity: 0.85;
}

.product-auth-guide__button--primary {
  background-color: rgba(var(--color-button-background));
  color: rgba(var(--color-button-text)) !important;
}

.product-auth-guide__button--secondary {
  border: 1px solid rgba(var(--color-button-secondary-border));
  background-color: rgba(var(--color-button-secondary-background));
  color: rgba(var(--color-button-secondary-text));
}

.product-auth-guide__slider {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 900 / 760;
  background-color: rgba(var(--color-media-background));
}

.product-auth-guide__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.product-auth-guide__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.product-auth-guide__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.product-auth-guide__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-auth-guide__slider-controls {
  position: absolute;
  inset-inline: 20px;
  top: 50%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.product-auth-guide__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid rgba(var(--color-background), 0.85);
  border-radius: 50%;
  background: transparent;
  color: rgba(var(--color-background));
  cursor: pointer;
  pointer-events: auto;
}

.product-auth-guide__pager {
  position: absolute;
  right: 24px;
  bottom: 20px;
  color: rgba(var(--color-background));
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.product-auth-guide__compare {
  position: relative;
  display: block;
  width: 100%;
}

.product-auth-guide__compare-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 900 / 760;
  background-color: rgba(var(--color-media-background));
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
}

.product-auth-guide__compare-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.product-auth-guide__compare-image--after {
  position: absolute;
  inset: 0;
}

.product-auth-guide__compare-before {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--auth-compare-position, 50%)) 0 0);
}

.product-auth-guide__compare-image--before {
  width: 100%;
  height: 100%;
}

.product-auth-guide__compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--auth-compare-position, 50%);
  z-index: 2;
  width: 0;
  pointer-events: none;
}

.product-auth-guide__compare-handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: rgba(var(--color-background));
  transform: translateX(-50%);
}

.product-auth-guide__compare-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 56px;
  border-radius: 50px;
  background-color: rgba(var(--color-background));
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.12);
  transform: translate(-50%, -50%);
}

.product-auth-guide__compare-grip::before,
.product-auth-guide__compare-grip::after {
  content: "";
  width: 3px;
  height: 16px;
  background-color: rgba(var(--color-text));
}

.product-auth-guide__compare-range {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.product-auth-guide__compare-labels {
  position: absolute;
  bottom: 16px;
  left: var(--auth-compare-position, 50%);
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 40px;
  pointer-events: none;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: rgba(var(--color-text));
  transform: translateX(-50%);
  white-space: nowrap;
}

@media (min-width: 990px) {
  .product-auth-guide__content {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 80px;
    align-items: center;
  }

  .product-auth-guide__button {
    font-size: 18px;
  }
}
