/* Royal Smoke — product detail desktop/tablet */

@media (min-width: 768px) {
  .rs-pd {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 24px 0;
    align-items: start;
    min-height: 0;
    padding-block: 16px 40px;
  }

  .rs-pd__media {
    display: flex;
    flex-direction: column;
    padding-right: 24px;
    min-height: 0;
    height: calc(100dvh - var(--rs-header-h) - var(--rs-safe-t, 0px) - 40px);
    max-height: calc(100dvh - var(--rs-header-h) - var(--rs-safe-t, 0px) - 40px);
    background: transparent;
  }

  .rs-pd__gallery {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    grid-template-rows: none;
    height: auto;
    gap: 14px;
  }

  .rs-pd__stage {
    aspect-ratio: unset;
    flex: 1 1 auto;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .rs-pd__thumbs {
    flex: 0 0 auto;
    min-height: 72px;
    padding-bottom: 2px;
  }

  .rs-pd__info {
    padding: 8px 0 28px 28px;
    border-left: 1px solid rgba(201, 154, 68, 0.42);
    align-self: start;
    max-height: none;
    overflow: visible;
    background: transparent;
  }

  .rs-pd__thumb {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
  }

  .rs-pd__title {
    font-size: 34px;
  }

  .rs-pd__form {
    max-width: 440px;
  }

  .rs-pd__nav {
    top: 50%;
  }
}

@media (min-width: 1024px) {
  .rs-pd {
    gap: 28px 0;
    padding-inline: var(--rs-pad-x-lg);
    padding-block: 20px 48px;
  }

  .rs-pd__media {
    padding-right: 32px;
    height: calc(100dvh - var(--rs-header-h) - var(--rs-safe-t, 0px) - 48px);
    max-height: calc(100dvh - var(--rs-header-h) - var(--rs-safe-t, 0px) - 48px);
  }

  .rs-pd__info {
    padding: 8px 0 32px 40px;
  }

  .rs-pd__title {
    font-size: 38px;
  }

  .rs-pd__price {
    font-size: 34px;
  }

  .rs-pd__spec {
    grid-template-columns: 150px 1fr;
  }

  .rs-pd__nav {
    width: 48px;
    height: 48px;
  }
}

@media (min-width: 1280px) {
  .rs-pd {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

@media (max-width: 767px) {
  .rs-pd__gallery {
    grid-template-rows: auto auto;
  }

  .rs-pd__stage {
    aspect-ratio: 1 / 1;
    min-height: min(58vh, 520px);
    max-height: calc(100dvh - var(--rs-header-h) - var(--rs-safe-t, 0px) - 168px);
  }

  .rs-pd__info {
    padding-bottom: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rs-pd__slide {
    transition: none;
  }

  .rs-pd-bg__video {
    display: none;
  }
}

@supports (-webkit-touch-callout: none) {
  .rs-pd-bg__video.is-on {
    opacity: 0.16;
  }

  body.rs-pd-page:not(.rs-home) .rs-header {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}
