/*
 * Hengyuan responsive layout layer
 * Loaded after hengyuan.css. Keep structural and visual design in the main
 * stylesheet; use this file only for viewport-specific sizing and reflow.
 */

html {
  max-width: 100%;
  overflow-x: clip;
}

body.native-eyou-home {
  min-width: 0;
  max-width: 100%;
}

.native-eyou-home img,
.native-eyou-home video,
.native-eyou-home svg {
  max-width: 100%;
}

.native-eyou-home main,
.native-eyou-home section,
.native-eyou-home article,
.native-eyou-home figure,
.native-eyou-home form,
.native-eyou-home nav,
.native-eyou-home div {
  min-width: 0;
}

.native-eyou-home input,
.native-eyou-home select,
.native-eyou-home textarea,
.native-eyou-home button {
  max-width: 100%;
}

@media (max-width: 980px) {
  .native-eyou-home .menu-toggle > span {
    margin: 3px 0;
  }

  .native-eyou-home .mobile-dropdown summary {
    padding-inline: 15px;
  }

  .native-eyou-home .mobile-nav > a > span:last-child,
  .native-eyou-home .mobile-dropdown summary > span:last-child {
    width: 18px;
    flex: 0 0 18px;
    display: inline-grid;
    place-items: center;
    line-height: 1;
  }
}

/* Ultra-wide and 4K monitors: retain full-bleed media while containing copy. */
@media (min-width: 2200px) {
  :root {
    --gutter: clamp(150px, 6vw, 240px);
    --type-display: clamp(86px, 3.2vw, 116px);
    --type-section: clamp(64px, 2.35vw, 86px);
    --type-subhead: clamp(28px, 1.35vw, 38px);
  }

  body.native-eyou-home main .content-width,
  .native-eyou-home .portfolio-head,
  .native-eyou-home .development-head,
  .native-eyou-home .partnerships-head {
    width: min(2100px, calc(100% - var(--gutter) * 2));
    max-width: 2100px;
    margin-right: auto;
    margin-left: auto;
  }

  body.native-eyou-home.about-page main .buyers.content-width {
    width: min(2100px, calc(100% - var(--gutter) * 2));
    max-width: 2100px;
    margin-right: auto;
    margin-left: auto;
  }

  .native-eyou-home .request-head,
  .native-eyou-home .brief-form,
  .native-eyou-home footer > * {
    width: min(2100px, 100%);
    margin-right: auto;
    margin-left: auto;
  }

  .product-detail-template .product-detail-hero,
  .product-detail-template .product-detail-evidence {
    padding-right: max(var(--gutter), calc((100vw - 2100px) / 2));
    padding-left: max(var(--gutter), calc((100vw - 2100px) / 2));
  }

  .native-eyou-home .hero-copy,
  .native-eyou-home .factory-copy,
  .native-eyou-home .factory-active-label,
  .native-eyou-home .process-film,
  .native-eyou-home .about-film-copy,
  .native-eyou-home .about-film-controls {
    left: max(var(--gutter), calc((100vw - 2100px) / 2));
  }

  .native-eyou-home .factory-index {
    right: max(var(--gutter), calc((100vw - 2100px) / 2));
  }

  .native-eyou-home .portfolio-stage {
    grid-template-columns: minmax(340px, 410px) minmax(0, 1fr);
    padding-left: max(var(--gutter), calc((100vw - 2100px) / 2));
  }

  .native-eyou-home .product-visual {
    height: 780px;
  }

  .native-eyou-home .manufacturing {
    min-height: 1120px;
  }

  .native-eyou-home .development-stage {
    height: 820px;
  }

  .native-eyou-home .about-film {
    max-height: 980px;
  }

  .native-eyou-home .inner-hero h1 {
    max-width: 1480px;
  }
}

/* 1680/1920 class desktop monitors. */
@media (min-width: 1680px) and (max-width: 2199px) {
  :root {
    --gutter: clamp(92px, 6vw, 126px);
  }

  .native-eyou-home .portfolio-head,
  .native-eyou-home .development-head,
  .native-eyou-home .partnerships-head {
    gap: clamp(76px, 6vw, 112px);
  }

  .native-eyou-home .product-visual {
    height: clamp(650px, 39vw, 740px);
  }

  .product-detail-template .product-detail-hero {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 0.72fr);
    gap: clamp(54px, 5vw, 84px);
  }
}

/* 1440/1600 class desktop monitors. */
@media (min-width: 1440px) and (max-width: 1679px) {
  :root {
    --gutter: clamp(66px, 5vw, 84px);
    --type-display: clamp(58px, 4.7vw, 74px);
    --type-section: clamp(46px, 3.6vw, 58px);
  }

  .site-header {
    padding-inline: 32px;
  }

  .desktop-nav {
    gap: clamp(18px, 1.35vw, 23px);
  }

  .native-eyou-home .portfolio-head,
  .native-eyou-home .development-head,
  .native-eyou-home .partnerships-head {
    gap: 72px;
  }

  .native-eyou-home .portfolio-stage {
    grid-template-columns: minmax(286px, 326px) minmax(0, 1fr);
    gap: 38px;
  }

  .native-eyou-home .product-index button strong {
    font-size: 19px;
  }

  .native-eyou-home .product-visual {
    height: 620px;
  }

  .native-eyou-home .factory-index {
    width: 320px;
  }

  .native-eyou-home .development-path {
    width: 62%;
  }

  .native-inner-rich .inner-intro,
  .native-inner-rich .product-catalog-head,
  .native-inner-rich .process-photo-copy {
    gap: clamp(54px, 5vw, 84px);
  }

  .product-detail-template .product-detail-hero {
    grid-template-columns: minmax(0, 0.96fr) minmax(400px, 0.76fr);
    gap: 52px;
  }
}

/* 1280/1366 class desktop and compact laptops. */
@media (min-width: 1181px) and (max-width: 1439px) {
  :root {
    --gutter: clamp(46px, 4.2vw, 62px);
    --type-display: clamp(54px, 4.6vw, 66px);
    --type-section: clamp(44px, 3.55vw, 52px);
  }

  .site-header {
    height: 96px;
    padding-inline: 24px;
  }

  .brand-logo {
    width: 178px;
  }

  .desktop-nav {

  }

  .header-quote {
    padding: 11px 14px;
  }

  .native-eyou-home .hero-copy {
    bottom: 98px;
    max-width: 650px;
  }

  .native-eyou-home .portfolio-head,
  .native-eyou-home .development-head,
  .native-eyou-home .partnerships-head,
  .native-eyou-home .request-head {
    gap: 54px;
  }

  .native-eyou-home .portfolio-stage {
    grid-template-columns: minmax(260px, 292px) minmax(0, 1fr);
    gap: 28px;
  }

  .native-eyou-home .product-index button {
    min-height: 62px;
    grid-template-columns: 32px minmax(0, 1fr) 22px;
  }

  .native-eyou-home .product-index button strong {
    font-size: 18px;
  }

  .native-eyou-home .product-visual {
    height: 580px;
  }

  .native-eyou-home .factory-copy {
    max-width: 540px;
  }

  .native-eyou-home .factory-index {
    width: 290px;
  }

  .native-eyou-home .factory-index button {
    height: 70px;
  }

  .native-eyou-home .development-head,
  .native-eyou-home .partnerships-head {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  }

  .native-eyou-home .development-path {
    width: 66%;
    padding-inline: 24px;
  }

  .native-eyou-home .brief-form {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.72fr) minmax(0, 1fr) minmax(0, 1fr);
  }

  .native-inner-rich .inner-hero {
    min-height: 640px;
  }

  .native-inner-rich .inner-intro,
  .native-inner-rich .product-catalog-head,
  .native-inner-rich .process-photo-copy,
  .native-inner-rich .inner-inquiry-band > div {
    gap: 48px;
  }

  .native-inner-rich .product-catalog-grid {
    gap: 18px;
  }

  .product-detail-template .product-detail-hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.8fr);
    gap: 42px;
  }

  .product-detail-template .product-detail-summary h1 {
    font-size: clamp(40px, 4vw, 40px);
  }

  .native-inner-rich .about-global-markets-layout,
  .native-inner-rich.about-page .buyers.sustainability-partnerships {
    gap: 56px;
  }
}

/* Small desktop and landscape tablet before the mobile navigation breakpoint. */
@media (min-width: 981px) and (max-width: 1180px) {
  :root {
    --gutter: clamp(34px, 4vw, 48px);
    --type-display: clamp(50px, 5vw, 60px);
    --type-section: clamp(42px, 4.2vw, 50px);
  }

  .site-header {
    height: 92px;
    padding-inline: 20px;
  }

  .brand-logo {
    width: 158px;
  }

  .desktop-nav {
    gap: 12px;
    font-size: 14px;
  }

  .header-quote {
    padding: 10px 12px;
  }

  .native-eyou-home .hero-copy {
    bottom: 92px;
    max-width: 610px;
  }

  .native-eyou-home .portfolio-head,
  .native-eyou-home .development-head,
  .native-eyou-home .partnerships-head,
  .native-eyou-home .request-head {
    gap: 42px;
  }

  .native-eyou-home .portfolio-stage {
    grid-template-columns: minmax(230px, 260px) minmax(0, 1fr);
    gap: 22px;
  }

  .native-eyou-home .product-index button {
    min-height: 58px;
    grid-template-columns: 28px minmax(0, 1fr) 20px;
    padding-inline: 10px;
  }

  .native-eyou-home .product-index button strong {
    font-size: 17px;
  }

  .native-eyou-home .product-visual {
    height: 540px;
  }

  .native-eyou-home .factory-copy {
    max-width: 500px;
  }

  .native-eyou-home .factory-index {
    width: 270px;
  }

  .native-eyou-home .factory-index button {
    height: 66px;
  }

  .native-eyou-home .development-path {
    width: 70%;
    grid-template-columns: 1.1fr repeat(4, 1fr);
    padding-inline: 20px;
  }

  .native-eyou-home .path-step strong,
  .native-eyou-home .path-title strong {
    font-size: 13px;
  }

  .native-inner-rich .inner-intro {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.86fr);
    gap: 40px;
  }

  .native-inner-rich .product-catalog-head,
  .native-inner-rich .process-photo-copy,
  .native-inner-rich .inner-inquiry-band > div {
    gap: 40px;
  }

  .product-detail-template .product-detail-hero {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.86fr);
    gap: 34px;
  }

  .product-detail-template .product-detail-main {
    height: 520px;
  }

  .product-detail-template .product-detail-summary h1 {
    font-size: 44px;
  }

  .native-inner-rich .product-options-list,
  .native-inner-rich .solution-workflow {
    gap: 44px;
  }
}

/* Tablet portrait and landscape. Existing mobile navigation begins at 980px. */
@media (min-width: 768px) and (max-width: 980px) {
  :root {
    --gutter: clamp(30px, 5vw, 44px);
    --type-display: clamp(50px, 6vw, 62px);
    --type-section: clamp(42px, 5.1vw, 52px);
  }

  .site-header {
    padding-inline: var(--gutter);
  }

  .mobile-nav {
    padding-right: var(--gutter);
    padding-left: var(--gutter);
    overflow-y: auto;
  }

  .native-eyou-home .hero-copy {
    max-width: 660px;
  }

  .native-eyou-home .portfolio-head,
  .native-eyou-home .development-head,
  .native-eyou-home .partnerships-head {
    width: calc(100% - var(--gutter) * 2);
    gap: 28px;
  }

  .native-eyou-home .product-index {
    margin-bottom: 30px;
  }

  .native-eyou-home .product-visual {
    height: clamp(500px, 66vw, 590px);
    margin-right: var(--gutter);
  }

  .native-eyou-home .manufacturing {
    min-height: 1120px;
  }

  .native-eyou-home .factory-index {
    margin-bottom: 310px;
  }

  .native-eyou-home .development-stage {
    margin-top: 58px;
  }

  .native-eyou-home .brief-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .native-inner-rich .inner-hero {
    height: 72svh;
    min-height: 600px;
    max-height: 820px;
  }

  .native-inner-rich .inner-hero-copy {
    bottom: 84px;
  }

  .native-inner-rich .product-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .native-inner-rich .product-options-list,
  .native-inner-rich .solution-workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 52px 44px;
  }

  .native-inner-rich .product-buying-columns,
  .native-inner-rich .related-products > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .native-inner-rich .related-products > div > :last-child {
    grid-column: 1 / -1;
  }

  .product-detail-template .product-detail-hero {
    min-height: 0;
    padding-top: 145px;
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .product-detail-template .product-detail-main {
    height: clamp(500px, 68vw, 650px);
  }

  .native-inner-rich .process-photo-copy,
  .native-inner-rich .product-catalog-head,
  .native-inner-rich .inner-inquiry-band > div {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .native-inner-rich .about-media-grid {
    min-height: 0;
    grid-template-columns: 1.3fr 0.7fr;
  }

  .native-inner-rich .about-media-grid figure:last-child {
    grid-column: 1 / -1;
  }

  .native-inner-rich .contact-form {
    padding: 42px;
  }
}

/* Phones and narrow tablets. */
@media (max-width: 767px) {
  :root {
    --gutter: clamp(20px, 5.8vw, 28px);
    --type-display: clamp(44px, 12vw, 58px);
    --type-section: clamp(38px, 10.5vw, 48px);
    --type-subhead: clamp(22px, 6vw, 28px);
    --type-body: 16px;
  }

  .site-header {
    height: 82px;
    padding-inline: var(--gutter);
  }

  .brand-logo {
    width: clamp(146px, 43vw, 174px);
  }

  .mobile-nav {
    padding: 104px var(--gutter) 34px;
    overflow-y: auto;
  }

  .mobile-nav > a,
  .mobile-dropdown summary {
    min-height: 54px;
    font-size: 19px;
  }

  .native-eyou-home .hero {
    min-height: 680px;
  }

  .native-eyou-home .hero-copy {
    bottom: 102px;
  }

  .native-eyou-home .hero-copy h1 {
    max-width: 11ch;
  }

  .native-eyou-home .hero-kicker {
    margin-bottom: 18px;
    font-size: 12px;
  }

  .native-eyou-home .hero-intro {
    max-width: 34ch;
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.55;
  }

  .native-eyou-home .hero-pages {
    gap: 5px;
  }

  .native-eyou-home .hero-pages button {
    width: clamp(45px, 14vw, 58px);
  }

  .native-eyou-home .portfolio,
  .native-eyou-home .development,
  .native-eyou-home .partnerships {
    padding-top: 78px;
  }

  .native-eyou-home .portfolio-head,
  .native-eyou-home .development-head,
  .native-eyou-home .partnerships-head {
    width: calc(100% - var(--gutter) * 2);
    gap: 24px;
    margin-bottom: 42px;
  }

  .native-eyou-home .portfolio-head > .section-intro,
  .native-eyou-home .development-head > p,
  .native-eyou-home .partnerships-head > p {
    max-width: none;
  }

  .native-eyou-home .product-index {
    width: calc(100% - var(--gutter) * 2);
  }

  .native-eyou-home .product-index button strong {
    font-size: 18px;
  }

  .native-eyou-home .product-visual {
    height: clamp(410px, 118vw, 520px);
    margin-right: var(--gutter);
    margin-left: var(--gutter);
  }

  .native-eyou-home .manufacturing {
    min-height: 1180px;
  }

  .native-eyou-home .factory-copy h2 {
    font-size: var(--type-section);
  }

  .native-eyou-home .factory-index {
    margin-top: 42px;
  }

  .native-eyou-home .process-film {
    right: var(--gutter);
  }

  .native-eyou-home .process-card,
  .native-eyou-home .process-card:nth-of-type(odd) {
    width: min(70vw, 250px);
    min-width: min(70vw, 250px);
  }

  .native-eyou-home .development {
    padding-bottom: 110px;
  }

  .native-eyou-home .development-stage {
    padding-bottom: 370px;
  }

  .native-eyou-home .development-path {
    right: var(--gutter);
    left: var(--gutter);
    width: auto;
  }

  .native-eyou-home .partnerships-meta {
    width: calc(100% - var(--gutter) * 2);
  }

  .native-eyou-home .request {
    padding-right: var(--gutter);
    padding-left: var(--gutter);
  }

  .native-eyou-home .request-head h2 {
    font-size: var(--type-section);
  }

  .native-eyou-home .brief-form {
    grid-template-columns: 1fr;
  }

  .native-eyou-home footer {
    padding-right: var(--gutter);
    padding-left: var(--gutter);
  }

  .native-eyou-home .footer-identity .brand-logo {
    width: min(68vw, 250px);
  }

  .native-eyou-home .footer-identity-contacts {
    flex-direction: column;
    align-items: flex-start;
  }

  .native-eyou-home .footer-wordmark {
    max-width: 100%;
    overflow: hidden;
    font-size: clamp(48px, 16vw, 82px);
  }

  .native-eyou-home .footer-bottom > span:last-child {
    flex-wrap: wrap;
  }

  body.native-eyou-inner main .content-width {
    width: calc(100% - var(--gutter) * 2);
  }

  .native-inner-rich .inner-hero,
  .native-inner-rich .inner-hero.is-compact {
    height: 76svh;
    min-height: 570px;
    max-height: 760px;
  }

  .native-inner-rich .inner-hero-copy {
    bottom: 66px;
  }

  .automotive-list-page .inner-hero-copy {
    bottom: calc(75px + env(safe-area-inset-bottom, 0px));
  }

  .native-inner-rich .inner-hero h1 {
    max-width: 12ch;
    font-size: var(--type-display);
  }

  .native-inner-rich .inner-hero-copy > p:not(.inner-eyebrow) {
    max-width: 34ch;
    margin-top: 20px;
    font-size: 16px;
  }

  .native-inner-rich .inner-intro,
  .native-inner-rich .product-catalog-head,
  .native-inner-rich .process-photo-copy,
  .native-inner-rich .inner-inquiry-band > div,
  .native-inner-rich .contact-layout,
  .native-inner-rich .contact-details,
  .native-inner-rich .about-bases-head {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .native-inner-rich .product-catalog-grid,
  .native-inner-rich .product-options-list,
  .native-inner-rich .product-buying-columns,
  .native-inner-rich .related-products > div,
  .native-inner-rich .solution-workflow,
  .native-inner-rich .about-bases-grid {
    grid-template-columns: 1fr;
  }

  .native-inner-rich .product-catalog-grid a {
    aspect-ratio: 4 / 5;
  }

  .native-inner-rich .family-directory {
    margin-bottom: 110px;
    gap: 92px;
  }

  .native-inner-rich .family-directory-item,
  .native-inner-rich .family-directory-item:nth-child(3n) {
    min-height: 0;
  }

  .native-inner-rich .family-directory-item figure,
  .native-inner-rich .family-directory-item:nth-child(3n) figure {
    width: 100%;
    height: clamp(400px, 118vw, 560px);
  }

  .native-inner-rich .family-directory-copy,
  .native-inner-rich .family-directory-item:nth-child(2n) .family-directory-copy,
  .native-inner-rich .family-directory-item:nth-child(3n) .family-directory-copy {
    width: calc(100% - 28px);
    min-height: 0;
    position: relative;
    right: auto;
    bottom: auto;
    left: 14px;
    margin-top: -48px;
    padding: 34px 28px;
  }

  .native-inner-rich .family-directory-copy h2 {
    font-size: clamp(34px, 9.5vw, 44px);
  }

  .native-inner-rich .family-proof {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .native-inner-rich .family-proof-media {
    min-height: 390px;
  }

  .native-inner-rich .family-proof-copy {
    padding: 64px var(--gutter);
  }

  .product-detail-template .product-detail-hero {
    min-height: 0;
    padding: 110px var(--gutter) 76px;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .product-detail-template .product-detail-breadcrumb {
    top: 82px;
    right: var(--gutter);
    left: var(--gutter);
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: 0.05em;
  }

  .product-detail-template .product-detail-main {
    height: clamp(390px, 112vw, 560px);
  }

  .product-detail-template .product-detail-thumbs figure {
    height: 104px;
  }

  .product-detail-template .product-detail-summary h1 {
    font-size: clamp(42px, 12vw, 54px);
  }

  .product-detail-template .product-detail-summary ul {
    grid-template-columns: 1fr;
  }

  .product-detail-template .product-detail-cta {
    width: 100%;
    justify-content: space-between;
  }

  .native-inner-rich .product-buying-columns article,
  .native-inner-rich .about-production-bases .about-bases-grid article,
  .native-inner-rich .about-production-bases .about-bases-grid article:nth-child(2) {
    min-height: 0;
  }

  .native-inner-rich .process-photo-carousel {
    width: 100%;
  }

  .native-inner-rich .private-label {
    padding-block: 84px;
    grid-template-columns: 1fr;
  }

  .native-inner-rich .private-label-media {
    min-height: 390px;
  }

  .native-inner-rich .private-label-copy {
    padding: 58px var(--gutter);
  }

  .native-inner-rich .about-film {
    height: 82svh;
    min-height: 620px;
  }

  .native-inner-rich .about-film-copy {
    right: var(--gutter);
    bottom: 150px;
    max-width: none;
  }

  .native-inner-rich .about-film-copy h2 {
    font-size: var(--type-section);
  }

  .native-inner-rich .about-film-copy p {
    font-size: 15px;
  }

  .native-inner-rich .about-film-controls {
    bottom: 34px;
  }

  .native-inner-rich .about-media-grid {
    min-height: 0;
    padding: 68px var(--gutter);
    grid-template-columns: 1fr;
  }

  .native-inner-rich .about-media-grid figure {
    height: clamp(330px, 92vw, 500px);
  }

  .native-inner-rich .about-global-markets-layout,
  .native-inner-rich.about-page .buyers.sustainability-partnerships {
    grid-template-columns: 1fr;
  }

  .native-inner-rich .about-market-data,
  .native-inner-rich .about-market-split {
    grid-template-columns: 1fr;
  }

  .native-inner-rich .contact-form {
    padding: 30px 22px;
    grid-template-columns: 1fr;
  }

  .native-inner-rich .contact-form .is-wide,
  .native-inner-rich .contact-form button,
  .native-inner-rich .contact-status {
    grid-column: auto;
  }

  .native-inner-rich .contact-methods > * {
    grid-template-columns: 26px minmax(0, 1fr) 16px;
    gap: 13px;
    padding-inline: 16px;
  }

  .native-inner-rich .inner-inquiry-band h2,
  .native-inner-rich .contact-details h2,
  .native-inner-rich .product-options > header h2,
  .native-inner-rich .product-buying-info > header h2,
  .native-inner-rich .related-products h2 {
    font-size: var(--type-section);
  }
}

/* Compact phones. */
@media (max-width: 479px) {
  :root {
    --gutter: 20px;
  }

  .menu-toggle {
    width: 42px;
    height: 22px;
  }

  .native-eyou-home .hero-copy h1,
  .native-inner-rich .inner-hero h1 {
    font-size: clamp(40px, 12.2vw, 50px);
  }

  .native-eyou-home .hero-intro {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .native-eyou-home .development-stage {
    grid-template-columns: 1fr;
    padding-bottom: 430px;
  }

  .native-eyou-home .development-stage figure,
  .native-eyou-home .development-stage .development-detail {
    grid-column: auto;
    grid-row: auto;
    height: 260px;
  }

  .native-eyou-home .development-stage .development-secondary,
  .native-eyou-home .development-stage .development-detail {
    display: none;
  }

  .native-eyou-home .development-path {
    bottom: 58px;
    min-height: 330px;
    grid-template-columns: 1fr 1fr;
    padding: 22px;
  }

  .native-eyou-home .development-link {
    right: var(--gutter);
    left: var(--gutter);
    justify-content: space-between;
  }

  .native-inner-rich .inner-subnav > div {
    padding-inline: var(--gutter);
  }

  .native-inner-rich .product-gallery-arrow,
  .native-inner-rich .process-photo-arrows button,
  .native-inner-rich .about-film-controls > button {
    width: 40px;
    height: 40px;
  }

  .native-inner-rich .about-film-dots {
    gap: 6px;
  }

  .native-inner-rich .about-film-count {
    min-width: 48px;
  }
}

/* Short landscape screens: prevent hero copy from falling below the fold. */
@media (max-height: 720px) and (min-width: 768px) {
  .native-eyou-home .hero,
  .native-inner-rich .inner-hero,
  .native-inner-rich .inner-hero.is-compact {
    min-height: 620px;
  }

  .native-eyou-home .hero-copy {
    bottom: 82px;
  }

  .native-inner-rich .inner-hero-copy {
    bottom: 58px;
  }
}

/* Compact product gallery thumbnails while retaining three visible items. */
.product-detail-template .product-detail-thumbs {
  gap: 8px;
  margin-top: 8px;
}

.product-detail-template .product-detail-thumbs button {
  flex-basis: calc((100% - 16px) / 3);
  height: auto;
  aspect-ratio: 16 / 9;
}

/* Balance product gallery height on 1440px and smaller screens. */
@media (min-width: 981px) and (max-width: 1440px) {
  .product-detail-template .product-detail-main {
    height: clamp(400px, 34vw, 400px);
  }
}

@media (min-width: 768px) and (max-width: 980px) {
  .product-detail-template .product-detail-main {
    height: clamp(420px, 47vw, 460px);
  }
}

@media (max-width: 767px) {
  .product-detail-template .product-detail-main {
    height: clamp(320px, 78vw, 420px);
  }
}

.product-detail-template .product-detail-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Electric tongue jack cover: dedicated tablet and mobile layout. */
@media (min-width: 768px) and (max-width: 980px) {
  .product-detail-template .tongue-jack-section-head,
  .product-detail-template .tongue-jack-material-inner > header,
  .product-detail-template .tongue-jack-faq {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-detail-template .tongue-jack-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail-template .tongue-jack-feature-grid article {
    min-height: 390px;
  }

  .product-detail-template .tongue-jack-material-inner > header .section-label {
    margin-bottom: 0;
  }

  .product-detail-template .tongue-jack-material-layout {
    grid-template-columns: 1fr;
  }

  .product-detail-template .tongue-jack-faq-list {
    margin-top: 20px;
  }
}

@media (max-width: 767px) {
  .product-detail-template .tongue-jack-features {
    padding-top: 90px;
    padding-bottom: 92px;
  }

  .product-detail-template .tongue-jack-section-head,
  .product-detail-template .tongue-jack-material-inner > header,
  .product-detail-template .tongue-jack-faq {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-detail-template .tongue-jack-section-head {
    margin-bottom: 44px;
  }

  .product-detail-template .tongue-jack-feature-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-template .tongue-jack-feature-grid article {
    min-height: 0;
    padding: 32px 25px 38px;
  }

  .product-detail-template .tongue-jack-feature-grid h3 {
    font-size: 25px;
  }

  .product-detail-template .tongue-jack-material-band {
    padding: 86px 0 92px;
  }

  .product-detail-template .tongue-jack-material-inner > header {
    margin-bottom: 42px;
  }

  .product-detail-template .tongue-jack-material-inner > header .section-label {
    margin-bottom: 0;
  }

  .product-detail-template .tongue-jack-material-layout {
    grid-template-columns: 1fr;
  }

  .product-detail-template .tongue-jack-comparison-wrap table {
    min-width: 700px;
  }

  .product-detail-template .tongue-jack-production-proof {
    padding: 34px 24px 38px;
  }

  .product-detail-template .tongue-jack-faq {
    padding-top: 90px;
    padding-bottom: 100px;
  }

  .product-detail-template .tongue-jack-faq-list {
    margin-top: 16px;
  }

  .product-detail-template .tongue-jack-faq-list summary {
    min-height: 78px;
    grid-template-columns: minmax(0, 1fr) 26px;
    gap: 16px;
    padding: 18px 2px;
    font-size: 18px;
  }

  .product-detail-template .tongue-jack-faq-list details > p {
    padding: 0 30px 25px 2px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .native-eyou-home {
    scroll-behavior: auto;
  }
}
