/*
Theme Name: Rilinkt B2B
Theme URI: https://rilinkt.com/
Author: Rilinkt
Description: A project-led electrical equipment catalog and inquiry theme for Rilinkt.
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: rilinkt-b2b
*/

:root {
  --ink: #17232d;
  --ink-soft: #56636d;
  --navy: #1c3445;
  --blue: #087db5;
  --blue-dark: #075b86;
  --orange: #e8754d;
  --yellow: #d7e86c;
  --paper: #f3f5f6;
  --surface: #ffffff;
  --surface-blue: #eaf2f6;
  --line: #d3dce1;
  --wrap: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.6; letter-spacing: 0; }
body, button, input, select, textarea { font-family: Inter, "Segoe UI", Arial, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.site-wrap { width: min(calc(100% - 48px), var(--wrap)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.utility-bar { color: #f5f8fa; background: var(--navy); font-size: 12px; }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility-inner a { color: var(--yellow); }
.site-header { position: sticky; z-index: 50; top: 0; color: var(--ink); background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand img.brand-custom-logo { width: auto; max-width: 190px; height: auto; max-height: 52px; }
.brand-wordmark { display: grid; line-height: 1.1; }
.brand-wordmark strong { color: var(--ink); font-size: 19px; font-weight: 750; }
.brand-wordmark span { margin-top: 5px; color: var(--ink-soft); font-size: 9px; text-transform: uppercase; }
.header-inner nav { margin-left: auto; }
.primary-nav { display: flex; align-items: center; gap: 30px; padding: 0; margin: 0; list-style: none; }
.primary-nav a { display: inline-flex; align-items: center; min-height: 42px; color: #3f4d56; font-size: 13px; font-weight: 650; }
.primary-nav a:hover { color: var(--blue); }
.header-cta, .button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 0 18px; border: 1px solid transparent; border-radius: 3px; font-size: 13px; font-weight: 700; line-height: 1.2; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.header-cta { color: #fff; background: var(--blue); }
.header-cta:hover, .button-primary:hover { background: var(--blue-dark); }
.header-cta span, .button span, .section-link span, .family-rail-cta span { font-size: 17px; line-height: 1; }
.menu-toggle { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--line); border-radius: 3px; color: var(--ink); background: #fff; }
.menu-toggle svg { width: 22px; height: 22px; }

.hero { position: relative; overflow: hidden; color: #fff; background: #243743; }
.hero-industrial { min-height: 620px; }
.hero-background, .hero-shade { position: absolute; inset: 0; }
.hero-background img { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.hero-shade { background: linear-gradient(90deg, rgba(14, 27, 36, .92) 0%, rgba(14, 27, 36, .78) 42%, rgba(14, 27, 36, .18) 100%), linear-gradient(0deg, rgba(14, 27, 36, .36), transparent 52%); }
.hero-content { position: relative; z-index: 1; min-height: 620px; display: flex; align-items: center; }
.hero-copy { max-width: 720px; padding: 64px 0 76px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--blue-dark); font-size: 11px; font-weight: 800; line-height: 1.35; text-transform: uppercase; letter-spacing: 0; }
.eyebrow::before { width: 22px; height: 2px; flex: 0 0 auto; background: var(--orange); content: ""; }
.hero-eyebrow { color: var(--yellow); }
.hero h1 { max-width: 720px; margin: 0; color: #fff; font-size: 62px; font-weight: 750; line-height: 1.06; letter-spacing: 0; }
.hero-copy > p:not(.eyebrow) { max-width: 600px; margin: 22px 0 28px; color: #e1e8eb; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button-primary { color: #fff; background: var(--blue); }
.button-secondary { color: #fff; border-color: rgba(255, 255, 255, .65); background: rgba(15, 28, 37, .25); }
.button-secondary:hover { color: var(--ink); background: #fff; }
.hero-families { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: #f2f5f5; font-size: 12px; }
.hero-families span { display: inline-flex; align-items: center; gap: 8px; }
.hero-families span::before { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); content: ""; }
.hero-index { position: absolute; top: 44px; right: 0; display: grid; gap: 4px; color: #fff; text-align: right; }
.hero-index span:first-child { color: var(--yellow); font-size: 28px; font-weight: 750; }
.hero-index span:last-child { font-size: 10px; font-weight: 750; }

.family-rail { color: var(--ink); background: #fff; border-bottom: 1px solid var(--line); }
.family-rail-inner { min-height: 76px; display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 24px; }
.family-rail-label { color: var(--ink-soft); font-size: 11px; font-weight: 750; text-transform: uppercase; }
.family-rail-links { display: flex; align-items: center; gap: 26px; }
.family-rail-links a { display: inline-flex; align-items: center; gap: 8px; color: #344650; font-size: 12px; font-weight: 650; }
.family-rail-links a > span:first-child { color: var(--orange); font-size: 10px; font-weight: 800; }
.family-rail-links a > span:last-child { color: var(--blue); font-size: 14px; }
.family-rail-links a:hover, .family-rail-cta:hover { color: var(--blue); }
.family-rail-cta { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-dark); font-size: 12px; font-weight: 750; white-space: nowrap; }

.section { padding: 94px 0; }
.section-white { background: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.section-head-copy { max-width: 710px; }
.section-head .eyebrow { margin-bottom: 15px; }
.section h2, .support-section h2 { max-width: 760px; margin: 0; color: var(--ink); font-size: 42px; font-weight: 730; line-height: 1.14; letter-spacing: 0; }
.section-head-copy > p:not(.eyebrow) { max-width: 700px; margin: 13px 0 0; color: var(--ink-soft); font-size: 15px; }
.section-link { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-dark); font-size: 12px; font-weight: 750; white-space: nowrap; }
.section-link:hover, .text-action:hover { color: var(--orange); }
.family-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.family-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 3px; background: #fff; transition: border-color .18s ease, transform .18s ease; }
.family-card:hover { border-color: var(--blue); transform: translateY(-3px); }
.family-card-media { position: relative; display: block; overflow: hidden; aspect-ratio: 1.5; background: var(--surface-blue); }
.family-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.family-card:hover .family-card-media img { transform: scale(1.025); }
.family-index { position: absolute; top: 12px; left: 12px; padding: 6px 9px; color: var(--ink); background: var(--yellow); font-size: 10px; font-weight: 800; }
.family-card-body { display: flex; flex: 1; flex-direction: column; padding: 19px 20px 18px; }
.family-card-kicker { color: var(--blue-dark); font-size: 9px; font-weight: 800; }
.family-card h3 { margin: 7px 0 8px; color: var(--ink); font-size: 22px; line-height: 1.2; }
.family-card p { margin: 0 0 20px; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }
.family-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 14px; color: var(--blue-dark); border-top: 1px solid var(--line); font-size: 11px; font-weight: 750; }
.family-link span:last-child { font-size: 17px; }

.project-section { background: var(--paper); }
.project-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: center; gap: 80px; }
.project-image { position: relative; min-width: 0; overflow: hidden; aspect-ratio: 1.02; background: #d8e3e8; }
.project-image img { width: 100%; height: 100%; object-fit: cover; }
.image-caption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; align-items: center; gap: 12px; padding: 14px 18px; color: #fff; background: rgba(23, 35, 45, .9); font-size: 10px; font-weight: 750; }
.image-caption span { color: var(--yellow); font-size: 18px; }
.project-copy h2 { max-width: 580px; }
.project-copy > p:not(.eyebrow) { max-width: 550px; margin: 16px 0 24px; color: var(--ink-soft); }
.project-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 22px; border-top: 1px solid var(--line); }
.project-points div { min-height: 54px; display: flex; align-items: center; gap: 11px; padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); color: #384a55; font-size: 12px; }
.project-points strong { color: var(--blue); font-size: 10px; }
.text-action { display: inline-flex; align-items: center; gap: 10px; color: var(--blue-dark); font-size: 12px; font-weight: 750; }
.text-action span { font-size: 17px; }

.support-section { padding: 92px 0; color: #fff; background: var(--navy); }
.support-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 86px; }
.support-heading .eyebrow { color: var(--yellow); }
.support-section h2 { color: #fff; font-size: 39px; }
.support-heading > p:not(.eyebrow) { max-width: 440px; margin: 17px 0 0; color: #ccd6dc; font-size: 14px; }
.support-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.support-list article { min-width: 0; display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.support-list article > span { flex: 0 0 25px; color: var(--yellow); font-size: 11px; font-weight: 800; }
.support-list h3 { margin: 0 0 6px; color: #fff; font-size: 16px; line-height: 1.25; }
.support-list p { margin: 0; color: #c6d2d9; font-size: 12px; line-height: 1.55; }

.product-section { background: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product-card { min-width: 0; display: flex; flex-direction: column; border-bottom: 2px solid var(--line); background: #fff; }
.product-card:hover { border-bottom-color: var(--orange); }
.product-card-media { display: block; overflow: hidden; aspect-ratio: 1.4; background: #edf2f4; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.product-card:hover .product-card-media img { transform: scale(1.025); }
.product-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 17px 2px 19px; }
.product-card-category { color: var(--blue-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.product-card h2, .product-card h3 { margin: 7px 0 7px; color: var(--ink); font-size: 19px; line-height: 1.3; }
.product-card p { margin: 0 0 16px; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.product-card .section-link { margin-top: auto; }

.process-section { background: var(--surface-blue); }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 34px; }
.process-card { min-width: 0; padding: 19px 14px 0 0; border-top: 2px solid #9aafb9; }
.process-card > span { color: var(--orange); font-size: 12px; font-weight: 800; }
.process-card h3 { margin: 15px 0 8px; color: var(--ink); font-size: 17px; line-height: 1.3; }
.process-card p { max-width: 230px; margin: 0; color: var(--ink-soft); font-size: 12px; }

.inquiry-section { background: #e4eaed; }
.inquiry-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: 76px; }
.inquiry-copy { position: sticky; top: 115px; }
.inquiry-copy h2 { max-width: 470px; }
.inquiry-copy > p:not(.eyebrow) { max-width: 440px; margin: 16px 0 24px; color: var(--ink-soft); }
.inquiry-contact { display: grid; justify-items: start; gap: 7px; color: var(--ink-soft); font-size: 12px; }
.inquiry-contact a { color: var(--blue-dark); font-weight: 750; }
.inquiry-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; padding: 24px; border: 1px solid #c8d3d9; border-radius: 3px; background: #fff; }
.field { min-width: 0; display: grid; gap: 6px; }
.field-wide, .form-consent, .inquiry-form > .button, .form-notice { grid-column: 1 / -1; }
.field label { color: #334550; font-size: 11px; font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; padding: 10px 11px; border: 1px solid #b9c8cf; border-radius: 2px; color: var(--ink); background: #fff; font-size: 13px; }
.field textarea { min-height: 118px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #798891; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form-consent { display: flex; align-items: flex-start; gap: 9px; color: #56636d; font-size: 10px; line-height: 1.45; }
.form-consent input { flex: 0 0 auto; width: 15px; height: 15px; margin: 1px 0 0; accent-color: var(--blue); }
.form-consent a { color: var(--blue-dark); text-decoration: underline; }
.inquiry-form > .button { justify-self: start; cursor: pointer; }
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.form-notice { padding: 11px 13px; color: var(--ink); background: #eff5d4; font-size: 12px; }

.site-footer { color: #eaf0f2; background: #15232c; }
.footer-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 44px; padding: 48px 0 36px; }
.footer-brand { max-width: 420px; }
.footer-brand .brand-wordmark strong { color: #fff; }
.footer-brand .brand-wordmark span { color: #bdc9cf; }
.footer-brand p { max-width: 380px; margin: 17px 0 0; color: #c4ced3; font-size: 12px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 13px 25px; padding-top: 9px; }
.footer-nav a { color: #d3dde1; font-size: 11px; }
.footer-nav a:hover, .footer-bottom a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0 20px; border-top: 1px solid rgba(255, 255, 255, .17); color: #aebcc3; font-size: 10px; }
.footer-bottom a { color: #dfe7ea; }

.archive-hero { padding: 82px 0 70px; color: #fff; background: var(--navy); }
.archive-hero .eyebrow { color: var(--yellow); }
.archive-hero h1 { max-width: 820px; margin: 0; color: #fff; font-size: 46px; line-height: 1.12; }
.archive-hero p:not(.eyebrow) { max-width: 700px; margin: 15px 0 0; color: #d6e0e4; font-size: 15px; }
.product-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.product-filter { padding: 9px 13px; border: 1px solid var(--line); border-radius: 2px; color: var(--ink-soft); background: #fff; font-size: 12px; font-weight: 650; }
.product-filter.is-active, .product-filter:hover { color: #fff; border-color: var(--blue); background: var(--blue); }
.catalog-search { display: flex; gap: 9px; margin: 0 0 30px; }
.catalog-search input { flex: 1; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 2px; }
.pagination { margin-top: 30px; }
.pagination .page-numbers { display: inline-flex; min-width: 38px; min-height: 38px; align-items: center; justify-content: center; margin-right: 5px; border: 1px solid var(--line); background: #fff; font-size: 12px; }
.pagination .current { color: #fff; border-color: var(--blue); background: var(--blue); }
.product-empty { padding: 24px; border: 1px solid var(--line); background: #fff; color: var(--ink-soft); }
.single-product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: start; gap: 64px; }
.single-product-image { background: var(--surface-blue); }
.single-product-image img { width: 100%; max-height: 620px; object-fit: contain; }
.single-product-copy h1 { margin: 0; color: var(--ink); font-size: 42px; line-height: 1.12; }
.product-summary { margin: 16px 0 22px; color: var(--ink-soft); }
.single-product-content { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.entry-content { max-width: 860px; color: #394b55; }
.entry-content h2, .entry-content h3 { color: var(--ink); line-height: 1.25; }
.entry-content a { color: var(--blue-dark); text-decoration: underline; }
.entry-content img { height: auto; }
.page-hero { padding-block: 60px; }
.error-404 { min-height: 55vh; padding: 100px 0; }

@media (max-width: 980px) {
  .primary-nav { gap: 17px; }
  .project-layout { gap: 48px; }
  .support-layout { gap: 44px; }
  .inquiry-grid { gap: 42px; }
  .family-rail-inner { grid-template-columns: 115px 1fr auto; gap: 15px; }
  .family-rail-links { gap: 15px; }
}

@media (max-width: 760px) {
  .site-wrap { width: min(calc(100% - 30px), var(--wrap)); }
  .utility-inner { min-height: 32px; font-size: 10px; }
  .header-inner { min-height: 66px; gap: 10px; }
  .brand { gap: 7px; }
  .brand img { width: 34px; height: 34px; }
  .brand img.brand-custom-logo { max-width: 130px; max-height: 42px; }
  .brand-wordmark strong { font-size: 16px; }
  .brand-wordmark span { font-size: 8px; }
  .header-cta { min-height: 40px; gap: 7px; padding-inline: 10px; font-size: 11px; }
  .menu-toggle { display: inline-flex; order: 3; flex: 0 0 40px; width: 40px; height: 40px; }
  .header-inner nav { position: absolute; top: calc(100% - 1px); right: 0; left: 0; display: none; padding: 8px 15px 14px; border-bottom: 1px solid var(--line); background: #fff; }
  .header-inner nav.is-open { display: block; }
  .primary-nav { display: grid; gap: 0; }
  .primary-nav a { min-height: 43px; border-bottom: 1px solid #edf0f1; }
  .hero-industrial, .hero-content { min-height: 610px; }
  .hero-background img { object-position: 60% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(14, 27, 36, .91), rgba(14, 27, 36, .5)), linear-gradient(0deg, rgba(14, 27, 36, .42), transparent 70%); }
  .hero-copy { max-width: 590px; padding: 70px 0 54px; }
  .hero h1 { max-width: 560px; font-size: 42px; }
  .hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .hero-index { top: 24px; }
  .family-rail-inner { grid-template-columns: 1fr auto; gap: 12px; padding-block: 13px; }
  .family-rail-label { grid-column: 1 / -1; }
  .family-rail-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .family-rail-links a { align-items: flex-start; gap: 5px; font-size: 10px; }
  .family-rail-links a > span:last-child { display: none; }
  .family-rail-cta { font-size: 10px; }
  .section { padding: 66px 0; }
  .section-head { display: grid; align-items: start; gap: 17px; margin-bottom: 24px; }
  .section h2, .support-section h2 { font-size: 32px; }
  .section-head-copy > p:not(.eyebrow) { font-size: 13px; }
  .family-grid, .product-grid { grid-template-columns: 1fr; gap: 16px; }
  .family-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
  .family-card-media { height: 100%; min-height: 220px; aspect-ratio: auto; }
  .family-card-body { padding: 15px; }
  .family-card h3 { font-size: 19px; }
  .family-card p { font-size: 12px; }
  .project-layout, .support-layout, .inquiry-grid, .single-product { grid-template-columns: 1fr; gap: 32px; }
  .project-image { aspect-ratio: 1.2; }
  .project-copy h2 { font-size: 32px; }
  .support-section { padding: 66px 0; }
  .support-section h2 { font-size: 32px; }
  .support-list { gap: 0 18px; }
  .support-list h3 { font-size: 14px; }
  .product-card { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 14px; border-bottom-width: 1px; }
  .product-card-media { height: 100%; min-height: 170px; aspect-ratio: auto; }
  .product-card-body { padding: 8px 0 12px; }
  .product-card h2, .product-card h3 { font-size: 16px; }
  .product-card p { font-size: 11px; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 16px; margin-top: 25px; }
  .process-card h3 { font-size: 15px; }
  .inquiry-copy { position: static; }
  .inquiry-form { gap: 12px; padding: 17px; }
  .footer-main { display: grid; gap: 25px; padding: 36px 0 27px; }
  .footer-nav { gap: 12px 18px; }
  .archive-hero { padding: 62px 0 52px; }
  .archive-hero h1 { font-size: 36px; }
  .single-product-copy h1 { font-size: 34px; }
}

@media (max-width: 460px) {
  .utility-inner { gap: 8px; }
  .utility-inner > span { max-width: 220px; }
  .hero-industrial, .hero-content { min-height: 580px; }
  .hero h1 { font-size: 37px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .button { min-height: 44px; padding: 0 10px; font-size: 11px; }
  .family-rail-inner { grid-template-columns: 1fr; }
  .family-rail-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .family-rail-cta { justify-self: start; }
  .family-card { grid-template-columns: 1fr; }
  .family-card-media { min-height: 0; aspect-ratio: 1.6; }
  .project-points { grid-template-columns: 1fr; }
  .support-list { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 1fr; gap: 0; }
  .product-card-media { min-height: 0; aspect-ratio: 1.55; }
  .inquiry-form { grid-template-columns: 1fr; }
  .field-wide, .form-consent, .inquiry-form > .button, .form-notice { grid-column: auto; }
  .footer-bottom { display: grid; gap: 7px; }
  .catalog-search { display: grid; }
}

/* The legacy inner-page stylesheet targets every single product with its old
   dark editorial treatment. The new detail shell is a light gallery layout,
   so keep its contrast explicit and calm the field behind the copy. */
body.single-rilinkt_product .rln-particle-field { opacity: .16; }
body.single-rilinkt_product .product-detail-hero { position: relative; z-index: auto; color: var(--ink); }
body.single-rilinkt_product .product-detail-shell,
body.single-rilinkt_product .product-detail-shell h1,
body.single-rilinkt_product .product-detail-shell h2,
body.single-rilinkt_product .product-detail-shell h3,
body.single-rilinkt_product .product-detail-shell p,
body.single-rilinkt_product .product-detail-shell .product-summary,
body.single-rilinkt_product .product-detail-shell .single-product-content { color: var(--ink) !important; }
body.single-rilinkt_product .product-detail-shell .single-product-content { border-color: #c9d5da !important; }
body.single-rilinkt_product .product-detail-shell .single-product-content a { color: var(--blue-dark) !important; }
body.single-rilinkt_product .product-detail-shell .single-product-copy .eyebrow,
body.single-rilinkt_product .product-detail-shell .product-content-kicker { color: var(--blue-dark) !important; }
body.single-rilinkt_product .product-detail-shell .button-primary { border-color: var(--blue-dark) !important; color: #fff !important; background: var(--blue) !important; }
body.single-rilinkt_product .product-detail-shell .button-primary:hover { border-color: var(--blue-dark) !important; color: #fff !important; background: var(--blue-dark) !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Catalogue cards and product detail gallery */
.product-filters { align-items: stretch; gap: 9px; padding-bottom: 4px; }
.product-filter { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 14px; border-radius: 999px; transition: color .22s ease, background .22s ease, border-color .22s ease, transform .22s ease; }
.product-filter b { color: var(--orange); font-size: 10px; font-weight: 800; }
.product-filter:hover { transform: translateY(-2px); }
.product-filter.is-active b, .product-filter:hover b { color: var(--yellow); }
.catalog-search { position: relative; max-width: 760px; }
.catalog-search input { border-radius: 999px; padding-left: 18px; }
.catalog-search .button { border-radius: 999px; }
.family-card { position: relative; border-radius: 14px; box-shadow: 0 14px 32px rgba(24, 48, 62, .05); transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.family-card:hover { border-color: var(--blue); transform: translateY(-7px); box-shadow: 0 24px 50px rgba(24, 48, 62, .13); }
.family-card-media { isolation: isolate; }
.family-card-media img { transition: transform .65s cubic-bezier(.2,.65,.2,1), filter .35s ease; }
.family-card:hover .family-card-media img { transform: scale(1.06); filter: saturate(1.08); }
.family-card-corner { position: absolute; right: 15px; bottom: 14px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: #fff; background: rgba(10, 35, 49, .7); font-size: 18px; transition: transform .25s ease, background .25s ease; }
.family-card:hover .family-card-corner { background: var(--blue); transform: translate(3px, -3px); }
.product-card { position: relative; overflow: hidden; border: 1px solid transparent; border-radius: 12px; box-shadow: 0 12px 28px rgba(24, 48, 62, .04); transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.product-card:hover { border-color: rgba(8, 125, 181, .36); transform: translateY(-5px); box-shadow: 0 22px 42px rgba(24, 48, 62, .12); }
.product-card-media { position: relative; isolation: isolate; }
.product-card-media img { position: absolute; inset: 0; opacity: 0; transform: scale(1.01); transition: opacity .42s ease, transform .7s cubic-bezier(.2,.65,.2,1); }
.product-card-media img:first-child, .product-card-media img.is-active { opacity: 1; }
.product-card:hover .product-card-media img.is-active { transform: scale(1.045); }
.product-card-number { position: absolute; top: 12px; left: 12px; z-index: 2; display: grid; min-width: 34px; height: 28px; place-items: center; border-radius: 999px; color: var(--ink); background: var(--yellow); font-size: 10px; font-weight: 800; }
.product-card-gallery-hint { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 5px 9px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; color: #fff; background: rgba(17, 35, 46, .72); font-size: 10px; font-weight: 700; }
.product-card-switcher { display: flex; gap: 6px; margin-bottom: 10px; }
.product-card-switcher button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #b8c5cb; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.product-card-switcher button.is-active { background: var(--blue); transform: scale(1.35); }
.product-card-switcher button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.product-detail-hero { padding: 134px 0 104px; background: linear-gradient(135deg, #f8fafb 0%, #eaf2f6 100%); }
.product-detail-shell { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .87fr); align-items: start; gap: clamp(42px, 7vw, 108px); }
.product-detail-gallery { min-width: 0; }
.single-product-image { position: relative; min-height: 520px; overflow: hidden; border-radius: 14px; background: #edf3f4; box-shadow: 0 26px 65px rgba(20, 53, 69, .14); }
.single-product-image img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; opacity: 0; object-fit: contain; padding: 7%; transition: opacity .42s ease, transform .72s cubic-bezier(.2,.65,.2,1); }
.single-product-image img:first-child, .single-product-image img.is-active { opacity: 1; transform: scale(1); }
.single-product-image img:not(.is-active) { transform: scale(.985); }
.product-gallery-label { position: absolute; left: 20px; bottom: 18px; z-index: 2; color: rgba(23,35,45,.72); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.product-gallery-count { position: absolute; right: 20px; bottom: 17px; z-index: 2; color: var(--blue-dark); font-size: 12px; font-weight: 800; }
.product-gallery-thumbs { display: flex; gap: 9px; margin-top: 12px; overflow-x: auto; padding-bottom: 3px; }
.product-gallery-thumbs button { flex: 0 0 76px; width: 76px; height: 58px; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; cursor: pointer; opacity: .62; transition: opacity .2s ease, border-color .2s ease, transform .2s ease; }
.product-gallery-thumbs button.is-active, .product-gallery-thumbs button:hover { border-color: var(--blue); opacity: 1; transform: translateY(-2px); }
.product-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.single-product-copy { padding-top: 12px; }
.single-product-copy h1 { max-width: 650px; font-size: clamp(42px, 5vw, 72px); letter-spacing: -.035em; }
.single-product-copy .eyebrow { color: var(--blue-dark); }
.product-summary { max-width: 560px; font-size: 17px; line-height: 1.72; }
.product-detail-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 42px; border-top: 1px solid #c9d5da; border-bottom: 1px solid #c9d5da; }
.product-detail-facts div { display: grid; gap: 7px; min-height: 88px; align-content: center; padding: 14px 16px 14px 0; border-right: 1px solid #c9d5da; }
.product-detail-facts div + div { padding-left: 16px; }
.product-detail-facts div:last-child { border-right: 0; }
.product-detail-facts span { color: var(--ink-soft); font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.product-detail-facts strong { color: var(--ink); font-size: 12px; line-height: 1.35; }
.single-product-content { max-width: 720px; margin-top: 42px; padding-top: 30px; }
.product-content-kicker { margin: 0 0 14px; color: var(--blue-dark); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.rilinkt-template-product-card[data-rln-image-gallery] .rilinkt-template-product-image { position: relative; overflow: hidden; }
.rilinkt-template-product-card[data-rln-image-gallery] .rilinkt-template-product-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.01); transition: opacity .42s ease, transform .7s cubic-bezier(.2,.65,.2,1); }
.rilinkt-template-product-card[data-rln-image-gallery] .rilinkt-template-product-image img:first-child, .rilinkt-template-product-card[data-rln-image-gallery] .rilinkt-template-product-image img.is-active { opacity: 1; }
.rilinkt-template-product-card[data-rln-image-gallery]:hover .rilinkt-template-product-image img.is-active { transform: scale(1.045); }

@media (max-width: 760px) {
  .product-detail-hero { padding: 98px 0 70px; }
  .product-detail-shell { grid-template-columns: 1fr; gap: 30px; }
  .single-product-image { min-height: min(74vw, 420px); }
  .single-product-copy { padding-top: 0; }
  .single-product-copy h1 { font-size: 40px; }
  .product-detail-facts { margin-top: 30px; }
  .product-detail-facts div { min-height: 78px; padding-right: 10px; }
  .product-detail-facts div + div { padding-left: 10px; }
}

@media (max-width: 460px) {
  .product-detail-facts { grid-template-columns: 1fr; }
  .product-detail-facts div, .product-detail-facts div + div { min-height: 62px; padding: 11px 0; border-right: 0; border-bottom: 1px solid #c9d5da; }
  .product-detail-facts div:last-child { border-bottom: 0; }
  .product-card-gallery-hint { right: 9px; bottom: 9px; }
}
/* Structured, editable specifications for EV charging products. */
body.rln-structured-product .single-product-image { position: relative; top: auto; background: #fff; }
.rln-structured-product .single-product-image img { padding: 0; object-fit: contain; }
.rln-structured-product .single-product-image img:not(:first-child) { object-fit: cover; }
.rln-structured-product .single-product-copy { min-width: 0; }
.rln-structured-product .single-product-copy h1 { font-size: clamp(32px, 3.8vw, 60px); overflow-wrap: anywhere; }
.rln-structured-product .product-detail-facts strong { overflow-wrap: anywhere; }
.rln-product-spec-section { padding-block: 68px 88px; background: #fff; }
.rln-product-data { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 88px); }
.rln-product-data > div { min-width: 0; }
.rln-product-data h2 { margin: 0 0 26px; font-size: clamp(28px, 3vw, 40px); line-height: 1.12; letter-spacing: -.035em; }
.rln-product-data h3 { margin: 36px 0 18px; font-size: 22px; line-height: 1.3; }
.rln-product-highlights p { color: var(--ink-soft); line-height: 1.8; }
.rln-product-highlights ul { margin: 28px 0 0; padding-left: 20px; }
.rln-product-highlights li { margin-bottom: 14px; padding-left: 4px; }
.rln-product-technical .rln-spec-table { width: 100%; table-layout: fixed; margin: 0; border: 0; border-collapse: collapse; font-size: 14px; }
.rln-spec-table th, .rln-spec-table td { padding: 15px 14px; border: 0; border-bottom: 1px solid #dce3e6; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.rln-spec-table th { width: 42%; font-weight: 600; color: var(--ink-soft); }
.rln-spec-table tr:nth-child(odd) { background: #f4f7f8; }
.rln-product-variants { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rln-product-variants li { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid #dce3e6; border-radius: 8px; overflow-wrap: anywhere; }
.rln-product-variants strong { font-size: 15px; }
.rln-product-variants span { font-size: 13px; color: var(--ink-soft); }
.rln-product-cutout .rilinkt-template-product-image img:first-child { object-fit: contain; padding: 14px; }
@media (max-width: 760px) {
  .rln-product-data { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .rln-product-spec-section { padding-block: 46px 58px; }
  .rln-spec-table th, .rln-spec-table td { padding: 12px 10px; font-size: 13px; }
  .rln-structured-product .single-product-copy h1 { font-size: clamp(30px, 8.5vw, 40px); }
}
.product-card.rln-product-cutout .product-card-media { background: #fff; }
.product-card.rln-product-cutout .product-card-media img:first-child { object-fit: contain; padding: 12px; }
.product-card.rln-product-cutout h2 { overflow-wrap: anywhere; }
