/* JLC product-detail styles extracted from the approved detail design. */
:root {
        --ink: #11161b;
        --steel: #7d8a92;
        --steel-deep: #303942;
        --paper: #eceff0;
        --cloud: #d8dde0;
        --metal-bright: #f9fbfc;
        --navy: #1d252c;
        --white: #ffffff;
        --muted: #5d666d;
        --line: rgba(17, 22, 27, 0.14);
        --shadow: 0 26px 70px rgba(17, 22, 27, 0.14);
        --brushed: linear-gradient(105deg, #f7f9fa 0%, #bac4ca 28%, #eef2f4 48%, #7f8c94 76%, #dce2e5 100%);
      }

      * {
        box-sizing: border-box;
      }

      html {
        scroll-behavior: smooth;
      }

      body {
        margin: 0;
        font-family: "IBM Plex Sans", Arial, sans-serif;
        line-height: 1.55;
        color: var(--ink);
        background:
          linear-gradient(90deg, rgba(255, 255, 255, 0.76), rgba(171, 181, 188, 0.22), rgba(255, 255, 255, 0.58)),
          linear-gradient(180deg, #eef2f4, #f8fafb 46%, #eceff0);
        overflow-x: hidden;
      }

      a {
        color: inherit;
        text-decoration: none;
      }

      img {
        display: block;
        max-width: 100%;
      }

      button,
input,
select,
textarea {
        font: inherit;
      }

      .container {
        width: min(1180px, calc(100% - 40px));
        margin: 0 auto;
      }

      .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border: 1px solid transparent;
        padding: 11px 18px;
        font-weight: 800;
        cursor: pointer;
        transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
      }

      .btn:hover {
        transform: translateY(-2px);
      }

      .btn-primary {
        border-color: rgba(255, 255, 255, 0.34);
        background: var(--brushed);
        color: var(--navy);
        box-shadow: 0 18px 36px rgba(35, 41, 45, 0.24);
      }

      .btn-dark {
        background: linear-gradient(135deg, #151a1f, #343d44);
        color: var(--white);
      }h1,
h2,
h3 {
        font-family: "Archivo", sans-serif;
        line-height: 1.04;
      }

      .detail-main {
        padding-top: 104px;
      }

      .hero-card {
        display: grid;
        grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
        gap: 42px;
        align-items: center;
        min-height: 470px;
        margin-top: 26px;
        padding: 30px;
        border: 1px solid rgba(255, 255, 255, 0.84);
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.84);
        box-shadow: var(--shadow);
      }

      .hero-media {
        min-height: 360px;
        overflow: hidden;
        border-radius: 6px;
        background: var(--cloud);
      }

      .hero-media img {
        width: 100%;
        height: 100%;
        min-height: 360px;
        object-fit: cover;
        filter: saturate(0.94) contrast(1.04);
      }

      .eyebrow,
.section-label,
.feature-badge {
        color: var(--steel);
        font-size: 12px;
        font-weight: 800;
        text-transform: uppercase;
      }

      .hero-copy h1 {
        max-width: 680px;
        margin: 12px 0 18px;
        color: #10171d;
        font-size: 46px;
      }

      .hero-copy p {
        max-width: 650px;
        margin: 0 0 28px;
        color: var(--muted);
        font-size: 18px;
      }

      .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
      }

      .feature-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
        margin-top: 34px;
      }

      .feature-card {
        min-height: 290px;
        display: grid;
        align-content: start;
        justify-items: center;
        gap: 18px;
        padding: 30px 22px;
        border: 1px solid rgba(255, 255, 255, 0.72);
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.78);
        box-shadow: 0 18px 42px rgba(17, 22, 27, 0.08);
        text-align: center;
        transition: transform 0.24s ease, box-shadow 0.24s ease;
      }

      .feature-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow);
      }

      .feature-badge {
        width: 74px;
        height: 74px;
        display: grid;
        place-items: center;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: var(--ink);
      }

      .feature-badge i {
        color: #11161b;
        font-size: 42px;
      }

      .feature-card h2 {
        margin: 0;
        font-size: 27px;
      }

      .feature-card p {
        margin: 0;
        color: var(--muted);
      }

      .standard-strip {
        margin-top: 16px;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 18px;
        align-items: center;
        padding: 24px 28px;
        border: 1px solid rgba(255, 255, 255, 0.76);
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.72);
        box-shadow: 0 18px 42px rgba(17, 22, 27, 0.08);
      }

      .standard-strip i {
        color: #11161b;
        font-size: 38px;
      }

      .standard-strip h2 {
        margin: 0 0 4px;
        font-size: 25px;
      }

      .standard-strip p {
        margin: 0;
        color: var(--muted);
      }

      .section {
        padding: 70px 0 0;
      }

      .section-head {
        display: flex;
        align-items: end;
        justify-content: space-between;
        gap: 30px;
        margin-bottom: 24px;
      }

      .section-title {
        margin: 8px 0 0;
        font-size: 42px;
      }

      .section-rule {
        width: 58px;
        height: 4px;
        margin-top: 12px;
        background: linear-gradient(90deg, #11161b, #aab3b8);
      }

      .flow-image {
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.76);
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.82);
        box-shadow: var(--shadow);
      }

      .flow-image img {
        width: 100%;
        min-height: 430px;
        object-fit: cover;
        filter: saturate(0.95) contrast(1.04);
      }

      .app-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
      }

      .app-card {
        position: relative;
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: 6px;
        background: #11161b;
        box-shadow: 0 18px 42px rgba(17, 22, 27, 0.08);
      }

      .app-card::after {
        content: "";
        position: absolute;
        inset: 42% 0 0;
        background: linear-gradient(180deg, transparent, rgba(8, 11, 14, 0.78));
        pointer-events: none;
      }

      .app-card img {
        width: 100%;
        aspect-ratio: 1.08;
        display: block;
        object-fit: cover;
        transition: transform 0.34s ease;
      }

      .app-card:hover img {
        transform: scale(1.05);
      }

      .app-body {
        position: absolute;
        inset: auto 0 0;
        z-index: 1;
        padding: 24px;
      }

      .app-body h3 {
        margin: 0;
        color: var(--white);
        font-size: 22px;
        line-height: 1.18;
      }

      .application-form-panel {
        margin-top: 28px;
        display: grid;
        grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.76);
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.84);
        box-shadow: var(--shadow);
      }

      .application-form-copy {
        display: grid;
        align-content: center;
        padding: 34px;
        color: var(--white);
        background:
          linear-gradient(135deg, rgba(12, 16, 19, 0.94), rgba(48, 57, 66, 0.74)),
          url("/skin/static/images/jlc/hero-tooling.png") center / cover no-repeat;
      }

      .application-form-copy .section-label {
        color: rgba(255, 255, 255, 0.64);
      }

      .application-form-copy h2 {
        margin: 10px 0 12px;
        font-size: 34px;
      }

      .application-form-copy p {
        margin: 0;
        color: rgba(255, 255, 255, 0.72);
      }

      .application-form {
        display: grid;
        gap: 16px;
        padding: 30px;
      }

      .form-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
      }

      .form-field {
        width: 100%;
        min-height: 54px;
        border: 1px solid var(--line);
        border-radius: 6px;
        padding: 14px 16px;
        background: #f6f8f9;
        color: var(--ink);
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
      }

      .form-field::placeholder {
        color: rgba(42, 48, 54, 0.58);
      }

      .form-field:focus {
        border-color: rgba(17, 22, 27, 0.42);
        outline: 2px solid rgba(125, 138, 146, 0.22);
        outline-offset: 0;
        background: var(--white);
      }

      textarea.form-field {
        min-height: 148px;
        resize: vertical;
      }

      .form-foot {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 16px;
        align-items: center;
      }

      .form-note {
        margin: 0;
        color: var(--muted);
        font-size: 13px;
      }

      .form-success {
        display: none;
        color: #335c39;
        font-weight: 700;
      }

      .form-success.show {
        display: block;
      }

      .detail-cta {
        margin-top: 70px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 24px;
        align-items: center;
        padding: 62px max(30px, calc((100vw - 1180px) / 2 + 30px));
        color: var(--white);
        background:
          linear-gradient(90deg, rgba(12, 16, 19, 0.95), rgba(12, 16, 19, 0.55)),
          url("/skin/static/images/jlc/welding-assembly.png") center / cover no-repeat;
      }

      .detail-cta h2 {
        max-width: 760px;
        margin: 0 0 10px;
        font-size: 44px;
      }

      .detail-cta p {
        max-width: 640px;
        margin: 0;
        color: rgba(255, 255, 255, 0.7);
      }

      .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.64s ease, transform 0.64s ease;
      }

      .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
      }

      @media (max-width: 980px) {

        .hero-card,
.feature-grid,
.app-grid,
.application-form-panel,
.detail-cta {
          grid-template-columns: 1fr;
        }

      }

      @media (max-width: 680px) {
        .container {
          width: min(100% - 28px, 1180px);
        }

        .detail-main {
          padding-top: 88px;
        }

        .hero-card {
          padding: 16px;
          gap: 24px;
        }

        .hero-copy h1 {
          font-size: 34px;
        }

        .hero-media,
.hero-media img {
          min-height: 270px;
        }

        .standard-strip {
          grid-template-columns: 1fr;
          padding: 22px;
        }

        .section {
          padding-top: 52px;
        }

        .section-head {
          display: block;
        }

        .application-form-copy,
.application-form {
          padding: 24px;
        }

        .application-form-copy h2 {
          font-size: 30px;
        }

        .form-row,
.form-foot {
          grid-template-columns: 1fr;
        }

        .section-title,
.detail-cta h2 {
          font-size: 32px;
        }

        .flow-image img {
          min-height: 260px;
        }

        .detail-cta {
          padding: 44px 20px;
        }
      }
      /* End unified homepage navigation */

/* EmpireCMS product-detail additions */
.hero-copy .eyebrow a {
  color: inherit;
}
