/* Percorso — render del soggiorno + versioni: lista a cerchi nello stile del configuratore.
   Solo aspetto: il comportamento resta di fade.js. Caricato dopo tour.css (specificita' maggiore dove serve). */
.fade-layout {
  --fl-gap: clamp(20px, 3vw, 36px);
  --fl-ui: 320px;
  --fl-ease: cubic-bezier(.22, .61, .36, 1);
  grid-template-columns: minmax(0, 1fr) var(--fl-ui);
  gap: var(--fl-gap);
  container-type: inline-size;
}
/* The list is as tall as the render (16:9 of the first column), so rows share the height like in the configurator. */
.fade-layout .fade-ui {
  display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden;
  height: calc((100cqw - var(--fl-gap) - var(--fl-ui)) * 9 / 16);
  border: 1px solid rgba(233, 225, 205, .14); border-radius: 3px;
  background: rgba(7, 17, 42, .5);
}
.fade-layout .fade-ui .vchip {
  appearance: none; position: relative; flex: 1 1 0; width: 100%; min-height: 76px;
  display: flex; align-items: center; gap: 20px; padding: 0 22px 0 20px;
  border: 0; border-left: 2px solid transparent; border-radius: 0; background: transparent;
  color: var(--ink-soft, #cdd4e4); font: 500 1.02rem/1.3 var(--font-body, sans-serif); text-align: left; cursor: pointer;
  transition: background-color .25s var(--fl-ease), color .25s var(--fl-ease), border-color .25s var(--fl-ease);
}
.fade-layout .fade-ui .vchip::after {
  content: ""; position: absolute; inset-inline: 20px; bottom: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(233, 225, 205, .14), transparent);
}
.fade-layout .fade-ui .vchip:last-child::after { display: none; }
.fade-layout .fade-ui .vchip i {
  flex: none; width: 60px; height: 60px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 8px 16px -10px rgba(0, 0, 0, .8);
  transition: box-shadow .25s var(--fl-ease);
}
.fade-layout .fade-ui .vchip:hover { color: var(--ink, #f5f1e8); background: rgba(235, 211, 145, .035); border-color: transparent; }
.fade-layout .fade-ui .vchip[aria-pressed="true"] {
  color: var(--gold-hi, #ebd391); border-left-color: var(--gold, #c9a24a);
  background: linear-gradient(90deg, rgba(201, 162, 74, .13), rgba(201, 162, 74, .015));
}
.fade-layout .fade-ui .vchip[aria-pressed="true"] i { box-shadow: 0 0 0 2px var(--navy-900, #07112a), 0 0 0 4px rgba(201, 162, 74, .55); }
.fade-layout .fade-ui .vchip:focus-visible { position: relative; z-index: 2; outline: 2px solid var(--gold-hi, #ebd391); outline-offset: -3px; }
@supports not (width: 1cqw) { .fade-layout .fade-ui { height: auto; } }

/* Stacked: the four versions in one row under the render, circle above the name */
@media (max-width: 1080px) {
  .fade-layout { grid-template-columns: minmax(0, 1fr); }
  .fade-layout .fade-ui { height: auto; flex-direction: row; }
  .fade-layout .fade-ui .vchip {
    flex-direction: column; justify-content: center; align-items: center; gap: 12px; min-height: 128px; padding: 18px 8px;
    border-left: 0; border-bottom: 2px solid transparent; text-align: center; font-size: .9rem;
  }
  .fade-layout .fade-ui .vchip::after {
    inset: 18px 0 18px auto; width: 1px; height: auto; background: linear-gradient(180deg, transparent, rgba(233, 225, 205, .14), transparent);
  }
  .fade-layout .fade-ui .vchip i { width: 52px; height: 52px; }
  .fade-layout .fade-ui .vchip[aria-pressed="true"] {
    border-left-color: transparent; border-bottom-color: var(--gold, #c9a24a);
    background: linear-gradient(0deg, rgba(201, 162, 74, .13), rgba(201, 162, 74, .015));
  }
}
@media (max-width: 720px) {
  .fade-layout .fade-ui { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fade-layout .fade-ui .vchip {
    flex-direction: row; justify-content: flex-start; text-align: left; gap: 12px; min-height: 84px; padding: 10px 12px;
    border-bottom: 0; border-left: 2px solid transparent;
  }
  .fade-layout .fade-ui .vchip:nth-child(-n+2) { box-shadow: inset 0 -1px 0 rgba(233, 225, 205, .1); }
  .fade-layout .fade-ui .vchip:nth-child(even)::after { display: none; }
  .fade-layout .fade-ui .vchip i { width: 40px; height: 40px; }
  .fade-layout .fade-ui .vchip[aria-pressed="true"] {
    border-left-color: var(--gold, #c9a24a); background: linear-gradient(90deg, rgba(201, 162, 74, .13), rgba(201, 162, 74, .015));
  }
}
@media (max-width: 380px) {
  .fade-layout .fade-ui .vchip { font-size: .84rem; gap: 10px; padding: 10px 10px; }
  .fade-layout .fade-ui .vchip i { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .fade-layout .fade-ui .vchip, .fade-layout .fade-ui .vchip i { transition: none; }
}
