.sf1-showcase {
  --sf1-ink: #142b47;
  --sf1-muted: #4b6178;
  --sf1-line: #dbe6ef;
  margin-block: clamp(1.5rem, 4vw, 4rem);
  color: var(--sf1-ink);
}
.sf1-showcase[id], .sf1-showcase [id] { scroll-margin-top: 9rem; }
.sf1-showcase p { font-size: 1rem; line-height: 1.7; }
.sf1-showcase figure { margin: 0; }


#sf1-title {
  margin: 0 0 1.2rem; padding-bottom: .75rem;
  border-bottom: 1px solid var(--sf1-line);
  font-size: clamp(1.8rem, 3.2vw, 2.65rem);
  line-height: 1.22;
}
.sf1-demos { padding-block-start: clamp(1.75rem, 4vw, 3rem); }
.sf1-section-title {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .4rem 2rem; margin-block-end: 1.3rem;
}
.sf1-section-title h3, .sf1-contact h3 {
  font-size: clamp(1.55rem, 2.6vw, 2.4rem);
  line-height: 1.22; margin: 0;
}
.sf1-section-title p, .sf1-contact p { color: var(--sf1-muted); margin: 0; }
.sf1-section-title p { max-width: 36rem; }
.sf1-components-grid, .sf1-video-grid { display: grid; gap: clamp(.8rem, 2vw, 1.4rem); }
.sf1-components-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.sf1-part {
  display: grid; grid-template-columns: 1.04fr 1fr;
  align-items: stretch; min-height: 15rem;
  background: #f4f8fc; border: 1px solid var(--sf1-line);
  border-radius: 1rem; overflow: hidden;
}
.sf1-part img { display: block; width: 100%; height: 100%; object-fit: cover; max-height: 18rem; }
.sf1-part figcaption { align-self: center; padding: clamp(.85rem,2.3vw,2rem); }
.sf1-part h4, .sf1-video-card h4 { font-size: 1.15rem; margin: 0 0 .3rem; color: var(--sf1-ink); }
.sf1-part p, .sf1-video-card p { margin: 0; color: var(--sf1-muted); }

.sf1-video-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.sf1-video-card { border: 1px solid var(--sf1-line); border-radius: 1rem; overflow: hidden; background: #f4f8fc; }
.sf1-video-card video {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5;
  object-fit: contain; background: #102036;
}
.sf1-video-card figcaption { padding: .85rem 1rem 1rem; }
.sf1-contact {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem 2rem;
  background: #eef5fb; border: 1px solid var(--sf1-line); border-radius: 1rem;
  margin-block: clamp(1.75rem, 5vw, 3.5rem) 0; padding: clamp(1.25rem, 4vw, 2.5rem);
}
.sf1-contact h3 { margin-bottom: .5rem; }
.sf1-contact .button { min-height: 44px; }
.sf1-contact .button, .sf1-contact .button:hover, .sf1-contact .button:focus-visible { color: #fff; }

@media (max-width: 900px) {
  .sf1-part { grid-template-columns: 1fr; align-content: start; }
  .sf1-part img { height: auto; aspect-ratio: 4/3; }
}
@media (max-width: 640px) {
  .sf1-video-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sf1-video-card figcaption { padding: .75rem; }
  .sf1-video-card p { font-size: .9rem; }
}

.sf1-player { position: relative; }
.sf1-play {
  position: absolute; inset: 0; width: 100%;
  display: grid; place-items: center;
  border: 0; background: none; cursor: pointer;
}
.sf1-play[hidden] { display: none; }
.sf1-play span {
  width: 3.35rem; height: 3.35rem; display: grid; place-items: center;
  border: 1px solid #d0e6f8; border-radius: 50%;
  background: #102a44dd; color: #fff;
}
.sf1-play span::before {
  content: ''; margin-inline-start: .25rem;
  border-block: .45rem solid transparent; border-inline-start: .74rem solid currentColor;
}
.sf1-play:hover span, .sf1-play:focus-visible span { background: #176abf; }

.sf1-gallery { min-width: 0; margin: 0; align-self: start; }
.sf1-gallery [hidden] { display: none; }
.sf1-gallery-stage {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3;
  border: 1px solid #dbe6ef; border-radius: 1.15rem;
  background: linear-gradient(145deg, #fbfdff, #eaf1f7);
}
.sf1-gallery-image-view, .sf1-gallery-image, .sf1-gallery-video {
  width: 100%; height: 100%; display: block; object-fit: contain;
}
.sf1-gallery-image-view { padding: 0; border: 0; background: transparent; }
.sf1-gallery-image-view:enabled { cursor: zoom-in; }
.sf1-gallery-stage > [hidden] { display: none; }
.sf1-gallery-image { padding: clamp(.75rem, 3vw, 2rem); }
.sf1-gallery-video { background: #112438; }
.sf1-gallery-arrow, .sf1-gallery-dialog button {
  position: absolute; z-index: 1; min-height: 44px; border: 1px solid #dbe6ef;
  border-radius: 999px; background: #fff; color: #142b47; cursor: pointer;
}
.sf1-gallery-arrow { top: 50%; transform: translateY(-50%); width: 44px; font: 1.65rem/1 sans-serif; }
.sf1-gallery-prev { inset-inline-start: .45rem; }
.sf1-gallery-next { inset-inline-end: .45rem; }
.sf1-gallery-arrow:hover { background: #edf5fd; }
.sf1-gallery button:focus-visible { outline: 2px solid #1066b7; outline-offset: 2px; }
.sf1-gallery .sf1-gallery-image-view:focus-visible { outline-offset: -4px; }
.sf1-gallery-caption {
  display: flex; justify-content: space-between; align-items: baseline; gap: .75rem;
  margin-block: .65rem .7rem; padding-inline: .15rem;
  color: #465d75; font-size: .875rem;
}
.sf1-gallery-caption [data-gallery-count] { flex: none; font-variant-numeric: tabular-nums; }
.sf1-gallery-thumbs {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(58px, 1fr);
  gap: .4rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity;
  padding: 3px 3px .55rem; scrollbar-width: thin; scrollbar-color: #a6bbcf transparent;
}
.sf1-gallery-thumbs button {
  position: relative; display: block; min-width: 0; padding: .23rem;
  border: 1px solid #dbe6ef; border-radius: .55rem; background: #f5f8fc;
  color: #254260; font: inherit; font-size: .75rem; cursor: pointer; scroll-snap-align: start;
}
.sf1-gallery-thumbs button img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .32rem; }
.sf1-gallery-thumbs button[data-gallery-catalog] img { object-fit: contain; }
.sf1-gallery-thumbs button[aria-pressed="true"] { border-color: #126cbd; box-shadow: inset 0 0 0 1px #126cbd; background: #e9f3ff; }
.sf1-gallery-thumbs button[data-gallery-video]::after {
  content: '▶'; position: absolute; inset-inline-end: .35rem; top: .35rem; display: grid; place-items: center;
  width: 1rem; height: 1rem; background: #102a44e8; border-radius: 50%;
  font-size: .55rem; color: white;
}
.sf1-gallery-dialog {
  width: min(92vw, 68rem); max-width: none; border: 0; padding: 3rem 1rem 1rem;
  border-radius: 1rem; background: #f7fbff;
}
.sf1-gallery-dialog::backdrop { background: #0a182de0; }
.sf1-gallery-dialog img { display: block; margin: auto; width: 100%; height: min(75vh, 50rem); object-fit: contain; }
.sf1-gallery-dialog button { top: .4rem; inset-inline-end: .65rem; padding: 0 .9rem; }
@media (max-width: 640px) {
  .sf1-gallery-stage { aspect-ratio: 5 / 4; border-radius: .9rem; }
  .sf1-gallery-arrow { width: 44px; }
}

/* Equipment summary and configuration */
body.visual-v2 .product-detail .sf1-product-summary { align-self: start; min-width: 0; }
.sf1-product-label { display: flex; align-items: center; gap: .75rem; color: #516982; font-size: .9rem; }
.sf1-product-model {
  border: 1px solid #cbddec; border-radius: .4rem; padding: .28rem .55rem;
  background: #edf5fc; color: #124878; font-weight: 750; letter-spacing: .04em;
}
body.visual-v2 .product-detail .sf1-product-summary h1 {
  font-size: clamp(1.85rem, 3.65vw, 3.25rem);
  line-height: 1.2; letter-spacing: -.025em; margin: .85rem 0 .75rem;
}
body.visual-v2 .product-detail .sf1-product-summary > p {
  color: #4b6178; margin: 0; font-size: 1rem; line-height: 1.65;
}
.sf1-key-specs {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
  margin: 1.05rem 0; background: #f4f8fc;
  border: 1px solid #dce7f1; border-radius: .9rem; overflow: hidden;
}
.sf1-key-specs > div { padding: .65rem .85rem; }
.sf1-key-specs > div:nth-child(odd) { border-inline-end: 1px solid #dce7f1; }
.sf1-key-specs > div:nth-child(-n+2) { border-block-end: 1px solid #dce7f1; }
.sf1-key-specs dt { color: #516982; font-size: .875rem; }
.sf1-key-specs dd { margin: .15rem 0 0; }
.sf1-key-specs dd strong { display: block; color: #132f4b; font-size: clamp(1.15rem,2.1vw,1.55rem); line-height: 1.3; }
.sf1-key-specs dd span { display: block; color: #516982; font-size: .87rem; margin-top: .12rem; }
body.visual-v2 .sf1-product-summary .button-row {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; margin: 0;
}
body.visual-v2 .sf1-product-summary .button-row .button {
  grid-column: 1 / -1; justify-content: center; min-height: 48px; padding: .72rem 1rem;
}
body.visual-v2 .sf1-product-summary .button-row .text-link {
  display: flex; justify-content: center; align-items: center; min-height: 44px;
  color: #21476c; border: 1px solid #d7e4ee; border-radius: .65rem;
  padding: .35rem .55rem; font-size: .9rem;
}
body.visual-v2 .sf1-product-summary .button-row .text-link:hover { background: #edf5fc; }
body.visual-v2 .sf1-product-summary .selection-brief {
  margin-top: .9rem; padding: .65rem 0 0; border: 0; border-top: 1px solid #dae6f0; background: none;
}
.sf1-product-summary .selection-brief h2 { margin: 0 0 .2rem; font-size: 1rem; }
.sf1-product-summary .selection-brief p { margin: 0; font-size: .9rem; }
.sf1-product-summary .selection-brief [data-pilot-link] { margin-top: .25rem; }

.sf1-technical { scroll-margin-top: 8rem; }
.sf1-spec-header { margin-bottom: 1.4rem; }
.sf1-spec-header h2 { margin-bottom: .4rem; }
.sf1-spec-header p { margin: 0; max-width: 58rem; }
.sf1-spec-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 1.1rem; }
.sf1-spec-card {
  min-width: 0; background: #fff; border: 1px solid #dce7f1;
  border-radius: .9rem; overflow: hidden;
}
.sf1-spec-card h3 {
  margin: 0; padding: .8rem 1rem; background: #edf5fc;
  border-bottom: 1px solid #dce7f1; color: #173959; font-size: 1.1rem;
}
body.visual-v2 .sf1-spec-card .spec-table { width: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
body.visual-v2 .sf1-spec-card .spec-table :is(th,td) {
  padding: .58rem 1rem; line-height: 1.55; font-size: .95rem;
  text-align: start; overflow-wrap: anywhere; vertical-align: top;
}
.sf1-spec-card .spec-table tbody th { width: 39%; font-weight: 600; }
.sf1-component-specs { margin-top: 1.1rem; }
.sf1-component-specs thead { background: #f7faff; }
.sf1-component-specs tbody tr:nth-child(even) { background: #f8fbfd; }
@media (max-width: 790px) {
  .sf1-spec-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sf1-key-specs > div { padding: .6rem .7rem; }
  body.visual-v2 .sf1-spec-card .spec-table :is(th,td) { padding: .5rem .65rem; font-size: .88rem; }
}

html[dir="rtl"] .sf1-gallery-arrow > span { display: inline-block; transform: scaleX(-1); }
