/* Rich product blocks. Desktop reference: 1920 × 1080, DPR 1. */
.oppo-rich { --oppo-rich-width: 1488px; --oppo-rich-gutter: 48px; }
.oppo-rich *, .oppo-rich *::before, .oppo-rich *::after { box-sizing: border-box; }
.oppo-rich [hidden] { display: none !important; }
.oppo-rich-container { width: min(var(--oppo-rich-width), calc(100% - var(--oppo-rich-gutter) * 2)); margin-inline: auto; }
.oppo-rich-section { padding-block: 112px; scroll-margin-top: 152px; }
.oppo-rich-kicker { margin: 0 0 24px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.oppo-rich-heading { margin: 0; font-size: clamp(36px, 3.4vw, 64px); line-height: 1.08; font-weight: 500; letter-spacing: -.04em; }
.oppo-rich-intro { display: flex; justify-content: space-between; gap: 64px; align-items: end; margin-bottom: 56px; }
.oppo-rich-intro > p { max-width: 410px; margin: 0; color: var(--oppo-muted); line-height: 1.6; }
.oppo-rich-hero { position: relative; isolation: isolate; overflow: hidden; background: #edf3f8; }
.oppo-rich-hero__background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.oppo-rich-hero__inner { min-height: 880px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding-block: 64px; }
.oppo-rich-hero h1 { font-size: clamp(48px, 5vw, 92px); margin: 0 0 28px; line-height: 1.02; font-weight: 500; letter-spacing: -.05em; }
.oppo-rich-hero__copy > p:not(.oppo-rich-kicker) { max-width: 420px; font-size: 22px; line-height: 1.5; margin: 0 0 36px; }
.oppo-rich-hero__device { width: min(100%, 550px); height: 716px; object-fit: contain; justify-self: center; }
.oppo-rich-hero__note { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; width: min(var(--oppo-rich-width), calc(100% - 96px)); font-size: 12px; color: #505860; }
.oppo-rich-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.oppo-rich-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.oppo-rich-split__media { height: 660px; width: 100%; object-fit: contain; background: #f6f7f9; border-radius: 24px; }
.oppo-rich-split__copy > p { max-width: 460px; color: var(--oppo-muted); line-height: 1.65; margin-block: 28px; }
.oppo-rich-colors { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.oppo-rich-colors button { border: 1px solid #dcdcdc; border-radius: 999px; padding: 12px 18px; background: white; color: black; font: inherit; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.oppo-rich-colors button[aria-pressed="true"] { border-color: black; box-shadow: inset 0 0 0 1px black; }
.oppo-rich-colors i { width: 18px; height: 18px; border-radius: 50%; background: var(--swatch); border: 1px solid rgb(0 0 0 / 15%); }
.oppo-rich-color-label { margin-top: 24px; font-size: 14px; }
.oppo-rich-bento { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; }
.oppo-rich-feature { border-radius: 24px; overflow: hidden; background: #f4f5f6; padding: 48px; min-width: 0; }
.oppo-rich-feature--dark { background: #101317; color: white; }
.oppo-rich-feature h3 { margin: 0; font-size: 32px; line-height: 1.2; font-weight: 500; }
.oppo-rich-feature p { margin: 16px 0 0; max-width: 410px; line-height: 1.55; color: #666; }
.oppo-rich-feature--dark p { color: #b7bdc4; }
.oppo-rich-feature img { display: block; width: 100%; height: 390px; object-fit: contain; margin-top: 32px; }
.oppo-rich-feature--dark img { height: 420px; }
.oppo-rich-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; padding-block: 32px; border-block: 1px solid #dedede; gap: 32px; }
.oppo-rich-stats div + div { border-left: 1px solid #dedede; padding-left: 48px; }
.oppo-rich-stats dt { font-size: 40px; letter-spacing: -.04em; }
.oppo-rich-stats dd { margin: 8px 0 0; color: #666; font-size: 14px; }
.oppo-rich-gallery { margin-top: 80px; }
.oppo-rich-gallery__slides { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.oppo-rich-gallery[data-enhanced] .oppo-rich-gallery__slides { display: block; }
.oppo-rich-gallery figure { margin: 0; }
.oppo-rich-gallery img { display: block; width: 100%; height: 660px; object-fit: contain; background: #0e1115; border-radius: 24px; }
.oppo-rich-gallery figcaption { margin-top: 16px; font-size: 14px; color: #666; }
.oppo-rich-gallery__bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 24px; }
.oppo-rich-gallery__controls { display: flex; gap: 12px; align-items: center; }
.oppo-rich-gallery__counter { min-width: 56px; text-align: center; font-variant-numeric: tabular-nums; }
.oppo-rich-video { position: relative; overflow: hidden; border-radius: 24px; background: #edf4fb; }
.oppo-rich-video video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.oppo-rich-video__device { position: absolute; top: 8%; right: 18%; height: 76%; width: 38%; object-fit: contain; pointer-events: none; }
.oppo-rich-video__label { position: absolute; left: 48px; top: 48px; max-width: 360px; pointer-events: none; font-size: 44px; line-height: 1.15; letter-spacing: -.03em; }
.oppo-rich-banner { position: relative; isolation: isolate; background: #f5f5f5; overflow: hidden; }
.oppo-rich-banner__inner { display: flex; align-items: center; min-height: max(720px, calc(100vw * 1280 / 2880)); padding-block: 64px; }
.oppo-rich-banner picture { position: absolute; inset: 0; z-index: -1; }
.oppo-rich-banner img { width: 100%; height: 100%; object-fit: cover; }
.oppo-rich-banner__copy { max-width: 500px; }
.oppo-rich-banner__copy > p:not(.oppo-rich-kicker) { margin: 28px 0; line-height: 1.6; max-width: 350px; color: #555; }
.oppo-rich-footnotes { padding-block: 40px; border-top: 1px solid #dedede; color: #666; font-size: 12px; line-height: 1.65; }
.oppo-rich-footnotes p { max-width: 960px; }
.oppo-rich a:not(.oppo-button) { color: inherit; text-underline-offset: 4px; }
.oppo-rich button:focus-visible, .oppo-rich a:focus-visible, .oppo-rich [tabindex="0"]:focus-visible { outline: 2px solid #046a38; outline-offset: 5px; }
@media (min-width: 1700px) { .oppo-rich-hero__inner { min-height: calc(100vh - 128px); } }
@media (max-width: 1100px) {
  .oppo-rich { --oppo-rich-gutter: 32px; }
  .oppo-rich-hero__inner { min-height: 740px; gap: 32px; }
  .oppo-rich-hero__device { height: 560px; }
  .oppo-rich-split { gap: 40px; }
  .oppo-rich-split__media { height: 540px; }
  .oppo-rich-feature { padding: 32px; }
  .oppo-rich-gallery img { height: 520px; }
  .oppo-rich-banner__inner { min-height: 600px; }
  .oppo-rich-banner__copy { max-width: 42%; }
}
@media (max-width: 700px) {
  .oppo-rich { --oppo-rich-gutter: 20px; }
  .oppo-rich-section { padding-block: 64px; scroll-margin-top: 130px; }
  .oppo-rich-intro { display: block; margin-bottom: 32px; }
  .oppo-rich-intro > p { margin-top: 24px; }
  .oppo-rich-hero__inner { grid-template-columns: 1fr; gap: 32px; padding-block: 48px 64px; min-height: 0; }
  .oppo-rich-hero__device { height: 400px; max-width: 360px; }
  .oppo-rich-hero__copy > p:not(.oppo-rich-kicker) { font-size: 18px; }
  .oppo-rich-hero__note { bottom: 16px; width: calc(100% - 40px); font-size: 10px; }
  .oppo-rich-split { grid-template-columns: 1fr; gap: 32px; }
  .oppo-rich-split__media { height: 440px; }
  .oppo-rich-bento { grid-template-columns: 1fr; }
  .oppo-rich-feature { padding: 28px; }
  .oppo-rich-feature h3 { font-size: 28px; }
  .oppo-rich-feature img, .oppo-rich-feature--dark img { height: 320px; }
  .oppo-rich-stats { gap: 16px; }
  .oppo-rich-stats div + div { padding-left: 16px; }
  .oppo-rich-stats dt { font-size: 24px; }
  .oppo-rich-stats dd { font-size: 11px; }
  .oppo-rich-gallery { margin-top: 48px; }
  .oppo-rich-gallery__slides { grid-template-columns: 1fr; }
  .oppo-rich-gallery img { height: 340px; border-radius: 16px; }
  .oppo-rich-gallery__bar { align-items: start; }
  .oppo-rich-video__label { top: 20px; left: 20px; font-size: 22px; max-width: 130px; }
  .oppo-rich-banner__inner { min-height: 810px; align-items: start; padding-top: 48px; }
  .oppo-rich-banner__copy { max-width: 100%; }
  .oppo-rich-banner img { object-position: center bottom; }
}
