.spec-header .swatch-aebm-highlight-primary-green { color: #fabb0e; }
body .swatch-aebm-highlight-vibrant-green { color: #e5f6ef; }
body .service-gradient-background { background-image: linear-gradient(140deg, #184b50, #347777); }
body #indoor .bento-item:nth-child(even) .service-gradient-background { background-image: linear-gradient(140deg, #273849, #44596d); }
body #outdoor .bento-background-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.78), transparent 80%); }
@media (max-width: 734px) {
  body #outdoor .bento-background-image::after { background: linear-gradient(180deg, rgba(0,0,0,.78), transparent 85%); }
}
#monitoraggio-remoto .remote-control-image {
  background: linear-gradient(100deg, rgba(0,0,0,.82), rgba(0,0,0,.18)), var(--remote-photo) right center / cover;
}
.robot-detail-visual { display: block; width: 100%; height: auto; }
:is(#logistica-interna, #automazione-di-magazzino) .generated-robot-image { background: var(--robot-image) center / cover; }
:is(#logistica-interna, #automazione-di-magazzino) .bento-copy, #monitoraggio-remoto .bento-copy { max-width: 46%; }
#ricerca-e-formazione .generated-robot-image { background: #272829 var(--robot-image) center bottom / 100% auto no-repeat; }
#ricerca-e-formazione .bento-content-frame { justify-content: flex-start; gap: 1rem; }
@media (max-width: 734px) {
  :is(#logistica-interna, #automazione-di-magazzino) .generated-robot-image { background: #141414 var(--robot-image) right bottom / auto 62% no-repeat; }
  :is(#logistica-interna, #automazione-di-magazzino) .bento-content-frame { justify-content: flex-start; gap: .5rem; }
  :is(#logistica-interna, #automazione-di-magazzino) .bento-copy { max-width: 95%; }
  #monitoraggio-remoto .remote-control-image { background: #152024 var(--remote-photo) center bottom / 100% auto no-repeat; }
  #monitoraggio-remoto .bento-content-frame { justify-content: flex-start; gap: .5rem; }
  #monitoraggio-remoto .bento-copy { max-width: 100%; }
}

.robot-catalog {
  --catalog-margin: clamp(22px, calc(28.36538vw - 268.46154px), 140px);
  padding: 80px 0;
  background: #f5f5f7;
  color: #1d1d1f;
}
.robot-catalog h2, .catalog-shelf h3 { margin: 0 var(--catalog-margin); letter-spacing: -.035em; }
.robot-catalog h2 { font-size: clamp(40px, 5vw, 60px); }
.catalog-categories, .catalog-rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 12px var(--catalog-margin) 20px;
  scroll-padding-inline: var(--catalog-margin);
  scroll-snap-type: x proximity;
}
.catalog-categories { margin: 24px 0 48px; }
.catalog-categories a {
  flex: 0 0 132px;
  text-align: center;
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  scroll-snap-align: start;
}
.catalog-thumb {
  display: block;
  width: 132px;
  height: 86px;
  margin: 0 auto 12px;

}
.catalog-shelf { scroll-margin-top: 85px; }
.catalog-shelf + .catalog-shelf { margin-top: 40px; }
.catalog-shelf h3 { font-size: clamp(28px, 3vw, 36px); }
.catalog-rail { list-style: none; margin: 0; padding-block: 16px 40px; }
.catalog-card {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  position: relative;
  flex: 0 0 min(400px, 82vw);
  aspect-ratio: 4 / 5;
  padding: 28px;
  background: white;
  border-radius: 28px;
  box-shadow: 0 3px 12px #0000000d;
  scroll-snap-align: start;
}
.catalog-card h4 { margin: 0; font-size: clamp(25px, 3vw, 32px); letter-spacing: -.035em; }
.catalog-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.catalog-photo {
  flex: 1;
  min-height: 0;
  width: 100%;
  height: 0;
  margin: 24px 0 40px;
  object-fit: contain;
}
.catalog-arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8e8ed;
  color: #0000008f;
  font-size: 0;
}
@media (max-width: 734px) {
  :is(#logistica-interna, #automazione-di-magazzino, #ricerca-e-formazione) .generated-robot-image {
    background: linear-gradient(to bottom, #000b, transparent 70%), var(--robot-image) 65% center / cover;
  }
  #monitoraggio-remoto .remote-control-image {
    background: linear-gradient(to bottom, #000c, transparent 72%), var(--remote-photo) 78% center / cover;
  }
  .robot-catalog { padding-block: 56px; }
}

.catalog-categories, .catalog-rail { scrollbar-width: none; }
.catalog-categories::-webkit-scrollbar, .catalog-rail::-webkit-scrollbar { display: none; }
.catalog-card { box-shadow: 2px 4px 12px #00000014; }
@media (hover: hover) and (pointer: fine) {
  .catalog-card:hover { box-shadow: 2px 4px 16px #00000029; }
  @media (prefers-reduced-motion: no-preference) {
    .catalog-card { transition: box-shadow .3s cubic-bezier(0,0,.5,1), transform .3s cubic-bezier(0,0,.5,1); }
    .catalog-card:hover { transform: scale(1.01); }
  }
}
.catalog-paddles {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding-inline: var(--catalog-margin);
}
.catalog-paddles[hidden] { display: none; }
.catalog-paddles button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #e8e8ed;
  color: #0000008f;
  font-size: 0;
  cursor: pointer;
}
.catalog-paddles button:disabled { opacity: .4; cursor: default; }
.catalog-categories:has(+ .catalog-paddles) { margin-bottom: 0; }
.catalog-categories + .catalog-paddles { margin-bottom: 48px; }

.robot-catalog .catalog-categories a,
.robot-catalog .catalog-categories a:hover,
.robot-catalog :is(h2, h3, h4) { text-decoration: none; }
@media (max-width: 734px) {
  .catalog-card { flex-basis: min(309px, calc(100vw - 60px)); height: 450px; }
}

.catalog-arrow svg, .catalog-paddles button svg { width: 36px; height: 36px; fill: currentColor; }
.catalog-paddles button:first-child svg { transform: scaleX(-1); }

.catalog-card .catalog-trigger {
  position: static;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  background: none;
  border: 0;
  padding: 0;
}
.catalog-trigger::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 28px;
  cursor: pointer;
}
.catalog-trigger:focus-visible::after { outline: 3px solid #0071e3; outline-offset: 2px; }
.catalog-detail-visual {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  height: clamp(240px, 52svh, 580px);
  padding: clamp(12px, 2svh, 24px) clamp(20px, 5vw, 64px);
}
.catalog-detail-visual .catalog-detail-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 1068px) {
  :is(#logistica-interna, #automazione-di-magazzino) .bento-content-frame {
    justify-content: flex-start;
    gap: 12px;
  }
  :is(#logistica-interna, #automazione-di-magazzino) .bento-copy { max-width: 100%; }
  :is(#logistica-interna, #automazione-di-magazzino) .bento-full-bleed-header {
    font-size: clamp(24px, 3.6vw, 30px);
    line-height: 1.1;
  }
  :is(#logistica-interna, #automazione-di-magazzino) .generated-robot-image {
    background: #111516;
  }
  :is(#logistica-interna, #automazione-di-magazzino) .generated-robot-image::after {
    content: "";
    position: absolute;
    inset: 37% 0 0;
    background: var(--compact-photo) center / cover no-repeat;
    mask-image: linear-gradient(transparent, black 24%);
  }
}
