/**
 * Product 565 layout styles.
 * Enqueued only on this product page.
 */

.rdl-pl {
  color: #fff;
  width: 100%;
}

.rdl-pl *,
.rdl-pl *::before,
.rdl-pl *::after {
  box-sizing: border-box;
}

.rdl-pl .rdl-reveal,
.rdl-pl .rdl-reveal-left,
.rdl-pl .rdl-reveal-right {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.rdl-pl .rdl-reveal { transform: translateY(32px); }
.rdl-pl .rdl-reveal-left { transform: translateX(-32px); }
.rdl-pl .rdl-reveal-right { transform: translateX(32px); }

.rdl-pl .rdl-reveal.rdl-visible,
.rdl-pl .rdl-reveal-left.rdl-visible,
.rdl-pl .rdl-reveal-right.rdl-visible {
  opacity: 1;
  transform: none;
}

.rdl-pl .rdl-delay-1 { transition-delay: 0.08s; }
.rdl-pl .rdl-delay-2 { transition-delay: 0.16s; }
.rdl-pl .rdl-delay-3 { transition-delay: 0.24s; }
.rdl-pl .rdl-delay-4 { transition-delay: 0.32s; }

.rdl-pl-wrap {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .rdl-pl-wrap { padding: 0 32px; }
}

.rdl-pl-section {
  padding: 56px 0;
}

.rdl-pl-section--tight {
  padding-top: 24px;
  padding-bottom: 56px;
}

.rdl-pl-section--last {
  padding-bottom: 72px;
}

@media (min-width: 768px) {
  .rdl-pl-section { padding: 80px 0; }
  .rdl-pl-section--tight { padding-top: 32px; padding-bottom: 80px; }
  .rdl-pl-section--last { padding-bottom: 96px; }
}

/* ── Hero ─────────────────────────────────────────────────────────── */

.rdl-pl-hero {
  position: relative;
  isolation: isolate;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--rdl-header-offset, 96px) + 8px) 16px 28px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .rdl-pl-hero {
    min-height: min(86vh, 920px);
    align-items: flex-end;
    padding: calc(var(--rdl-header-offset, 96px) + 28px) 20px 48px;
  }
}

.rdl-pl-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 0;
}

.rdl-pl-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.72) 0%, rgba(8, 8, 8, 0.84) 42%, #161616 100%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(224, 1, 0, 0.14), transparent 62%);
}

.rdl-pl-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.rdl-pl-kicker {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.rdl-pl-hero__title {
  margin: 0 0 28px;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}

.rdl-pl-hero__shot {
  margin: 0 auto 28px;
  max-width: 820px;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.rdl-pl-hero__shot img {
  display: block;
  width: 100%;
  height: auto;
}

.rdl-pl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.rdl-pl-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 1.5px solid #E00100;
  border-radius: 999px;
  background: #E00100;
  color: #fff;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rdl-pl-hero__cta:hover {
  background: #C70100;
  border-color: #C70100;
  color: #fff;
  transform: translateY(-1px);
}

.rdl-pl-hero__cta--secondary,
.rdl-pl-hero__cta--secondary:hover,
.rdl-pl-hero__cta--secondary:focus {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  background-color: transparent;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.rdl-pl-hero__cta--secondary:hover,
.rdl-pl-hero__cta--secondary:focus {
  border-color: #fff;
}

/* ── Feature grid ─────────────────────────────────────────────────── */

.rdl-pl-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .rdl-pl-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .rdl-pl-feature {
    gap: 16px;
    padding: 28px 20px 24px;
    border-radius: 24px;
  }

  .rdl-pl-feature__icon {
    width: 112px;
    height: 112px;
    border-radius: 22px;
    padding: 16px;
  }
}

@media (min-width: 1024px) {
  .rdl-pl-features {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.rdl-pl-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  text-align: center;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.rdl-pl-feature:hover {
  border-color: rgba(224, 1, 0, 0.45);
  background: rgba(224, 1, 0, 0.06);
  transform: translateY(-3px);
}

.rdl-pl-feature__icon {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  overflow: hidden;
}

.rdl-pl-feature__icon:has(.rdl-pl-feature__text) {
  padding: 4px 6px;
  background-color: #ffffff;
  overflow: hidden;
}

.rdl-pl-feature__icon img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.rdl-pl-feature__text {
  color: #626262;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.rdl-pl-feature__text--hd {
  color: #626262;
  font-style: italic;
  font-weight: 800;
  font-size: 2.25rem;
  letter-spacing: -0.04em;
}

.rdl-pl-feature__text--ratio {
  color: #626262;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.rdl-pl-feature__label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .rdl-pl-feature { padding: 36px 24px 28px; }
  .rdl-pl-feature__icon { width: 132px; height: 132px; background-color: #ffffff; }
  .rdl-pl-feature__label { font-size: 1.25rem; }
  .rdl-pl-feature__text--hd { font-size: 3.5rem; }
  .rdl-pl-feature__text--ratio { font-size: 2.1rem; }
}

/* ── Shared product shots / pills / hotspots ──────────────────────── */

.rdl-pl-shot {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.rdl-pl-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.rdl-pl-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: 999px;
  background: #E00100;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  box-shadow: 0 8px 24px rgba(224, 1, 0, 0.28);
}

.rdl-pl-zoom-img {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 100px;
  border: 0;
  background: transparent;
}

@media (min-width: 768px) {
  .rdl-pl-zoom-img {
    width: 220px;
    height: 220px;
  }
}

.rdl-pl-hotspot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #E00100;
  border: 2px solid #fff;
  z-index: 4;
}

.rdl-pl-hotspot--gob {
  top: 46%;
  right: 18%;
}

.rdl-pl-hotspot--gob-zoom {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (min-width: 900px) {
  .rdl-pl-hotspot--gob-zoom {
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
  }
}

.rdl-pl-hotspot--shell {
  top: 79%;
  right: 70%;
}

.rdl-pl-hotspot--magnet {
  bottom: 30%;
  left: 15%;
}

.rdl-pl-hotspot--magnet-zoom {
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
}

.rdl-pl-hotspot--shell-zoom {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ── GOB zoom ─────────────────────────────────────────────────────── */

.rdl-pl-gob {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.rdl-pl-gob__product {
  width: 100%;
  max-width: 720px;
}

.rdl-pl-gob__zoom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.rdl-pl-gob__zoom-wrap {
  position: relative;
  display: inline-block;
  line-height: 0;
}

.rdl-pl-gob__svg,
.rdl-pl-build__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 3;
}

.rdl-pl-gob__svg line,
.rdl-pl-build__svg line {
  stroke: #E00100;
  stroke-width: 2;
  stroke-linecap: round;
}

@media (min-width: 900px) {
  .rdl-pl-gob {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 56px;
  }

  .rdl-pl-gob__product {
    flex: 1 1 auto;
    max-width: 760px;
  }
}

/* ── Construction / magnetics ─────────────────────────────────────── */

.rdl-pl-build__stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "bl"
    "product"
    "tr";
  gap: 24px;
  align-items: center;
  justify-items: center;
  overflow: visible;
}

.rdl-pl-build__zoom-wrap {
  position: relative;
  display: inline-block;
  line-height: 0;
}

.rdl-pl-build__product {
  grid-area: product;
  width: 100%;
  max-width: 680px;
}

.rdl-pl-build__callout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
  position: relative;
}

.rdl-pl-build__callout--tr { grid-area: tr; }
.rdl-pl-build__callout--bl { grid-area: bl; }

.rdl-pl-build__captions {
  margin-top: 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rdl-pl-build__captions p {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: -0.02em;
  line-height: 1.45;
}

@media (min-width: 768px) {
  .rdl-pl-build__captions p { font-size: 1.25rem; }
}

@media (min-width: 1024px) {
  .rdl-pl-build__stage {
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr) minmax(160px, 220px);
    grid-template-rows: auto auto;
    grid-template-areas:
      ".       product tr"
      "bl      product .";
    gap: 16px 4px;
  }

  .rdl-pl-build__product {
    align-self: center;
  }

  .rdl-pl-build__callout--tr {
    justify-self: end;
    align-self: start;
  }

  .rdl-pl-build__callout--bl {
    justify-self: start;
    align-self: end;
  }

  .rdl-pl-hotspot--shell-zoom {
    top: 50%;
    left: 0;
    bottom: auto;
    transform: translate(-50%, -50%);
  }

  .rdl-pl-hotspot--magnet-zoom {
    top: 50%;
    left: 100%;
    transform: translate(-50%, -50%);
  }
}

/* ── Split copy + image ───────────────────────────────────────────── */

.rdl-pl-section__pill {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.rdl-pl-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 900px) {
  .rdl-pl-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
  }

  .rdl-pl-section__pill { margin-bottom: 40px; }
}

.rdl-pl-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rdl-pl-bullets li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.65;
}

.rdl-pl-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E00100;
  box-shadow: 0 0 0 4px rgba(224, 1, 0, 0.16);
}

@media (min-width: 768px) {
  .rdl-pl-bullets li { font-size: 1.125rem; }
}

.rdl-pl-split__media .rdl-pl-shot {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.rdl-pl-split--custom .rdl-pl-split__media {
  max-width: 300px;
  margin-inline: auto;
}

.rdl-pl-split--custom .rdl-pl-shot--clear {
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.rdl-pl-measure__line {
  position: absolute;
  top: 34%;
  left: 2%;
  right: 2%;
  height: 2px;
  background: #E00100;
  pointer-events: none;
  z-index: 2;
}

.rdl-pl-measure__line::before,
.rdl-pl-measure__line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border-style: solid;
}

.rdl-pl-measure__line::before {
  left: 0;
  transform: translate(-1px, -50%);
  border-width: 5px 8px 5px 0;
  border-color: transparent #E00100 transparent transparent;
}

.rdl-pl-measure__line::after {
  right: 0;
  transform: translate(1px, -50%);
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #E00100;
}

@media (min-width: 900px) {
  .rdl-pl-split--custom {
    grid-template-columns: minmax(0, 1fr) 360px;
  }

  .rdl-pl-split--custom .rdl-pl-split__media {
    max-width: none;
    justify-self: end;
  }
}

.rdl-pl-section__pill--left {
  justify-content: flex-start;
  margin-bottom: 22px;
}

.rdl-pl-split--flex {
  align-items: center;
}

/* ── More flexible mosaic ─────────────────────────────────────────── */

.rdl-pl-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.rdl-pl-mosaic__item {
  overflow: hidden;
  aspect-ratio: 1;
  background: #111;
  border-radius: 10px;
}

.rdl-pl-mosaic__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── High refresh / grey scale ────────────────────────────────────── */

.rdl-pl-quality {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rdl-pl-quality__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
}

.rdl-pl-quality__label {
  display: flex;
  align-items: center;
}

.rdl-pl-quality__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

@media (min-width: 640px) {
  .rdl-pl-quality__row {
    grid-template-columns: 1fr 1fr;
  }

  .rdl-pl-quality__label {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .rdl-pl-quality {
    gap: 24px;
  }

  .rdl-pl-quality__row {
    grid-template-columns: minmax(160px, 0.72fr) 1fr 1fr;
    gap: 18px;
  }

  .rdl-pl-quality__label {
    grid-column: auto;
    justify-content: flex-start;
    min-height: 100%;
  }
}

/* ── Super wide viewing angle ─────────────────────────────────────── */

.rdl-pl-angle {
  position: relative;
  min-height: min(72vh, 780px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start;
  padding: 56px 0 80px;
}

.rdl-pl-angle__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding-top: 8px;
}

.rdl-pl-angle__text {
  margin: 0;
  max-width: 720px;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

@media (min-width: 768px) {
  .rdl-pl-angle {
    min-height: min(78vh, 860px);
    padding: 72px 0 96px;
  }

  .rdl-pl-angle__text { font-size: 1.5rem; }
}

/* ── Specs table ──────────────────────────────────────────────────── */

.rdl-pl-wrap--wide {
  max-width: 1400px;
}

.rdl-pl-specs-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
}

.rdl-pl-specs {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  color: #fff;
}

.rdl-pl-specs th,
.rdl-pl-specs td {
  padding: 12px 14px;
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.rdl-pl-specs thead th {
  padding: 16px 10px 18px;
  background: transparent;
  font-weight: 600;
}

.rdl-pl-specs thead .rdl-pl-pill {
  min-width: 72px;
  padding: 8px 16px;
  font-size: 0.875rem;
}

.rdl-pl-specs thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #1a1a1a;
}

.rdl-pl-specs tbody th {
  text-align: left;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  position: sticky;
  left: 0;
  z-index: 1;
  background: #1a1a1a;
  box-shadow: 8px 0 12px -8px rgba(0, 0, 0, 0.55);
}

.rdl-pl-specs tbody td {
  text-align: center;
}

.rdl-pl-specs tbody tr:nth-child(odd) td,
.rdl-pl-specs tbody tr:nth-child(odd) th {
  background: rgba(255, 255, 255, 0.03);
}

.rdl-pl-specs tbody tr:nth-child(odd) th {
  background: #1c1c1c;
}

.rdl-pl-specs tbody tr:nth-child(even) td,
.rdl-pl-specs tbody tr:nth-child(even) th {
  background: #161616;
}

.rdl-pl-specs tbody td[colspan] {
  text-align: center;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

@media (min-width: 768px) {
  .rdl-pl-specs th,
  .rdl-pl-specs td {
    padding: 13px 16px;
    font-size: 0.875rem;
  }
}

/* ── Cases ────────────────────────────────────────────────────────── */

.rdl-pl-cases {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.rdl-pl-cases img {
  width: 100%;
  height: auto;
}

.rdl-pl-quote {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.rdl-pl-quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border: 0;
  border-radius: 999px;
  background: #E00100;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(224, 1, 0, 0.28);
  transition: background 0.2s ease, transform 0.2s ease;
}

.rdl-pl-quote-btn:hover {
  background: #C70100;
}

#rdl-product-buy,
#rdl-pl-specs {
  scroll-margin-top: calc(var(--rdl-header-offset, 96px) + 24px);
}

html {
  scroll-behavior: smooth;
}
