/* VetrinItaly VT-P02B — shell coordinata con HomeItaly.org */
:root {
  --vt-shell: 1380px;
  --vt-navy-950: #031a32;
  --vt-navy-900: #08243f;
  --vt-navy-800: #0d3657;
  --vt-gold: #c58a2b;
  --vt-gold-light: #e4bf72;
  --vt-ivory: #f8f1e7;
  --vt-paper: #fffaf3;
  --vt-red: #c93642;
  --vt-green: #16824b;
  --vt-ink: #10243a;
  --vt-muted: #667383;
  --vt-border: rgba(3, 26, 50, .13);
  --vt-shadow-sm: 0 10px 30px rgba(3, 26, 50, .08);
  --vt-shadow-md: 0 24px 60px rgba(3, 26, 50, .15);
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  color: var(--vt-ink);
  background: var(--vt-ivory);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

img,
svg,
video {
  max-width: 100%;
}

.vt-wrap {
  width: min(100%, var(--vt-shell));
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 38px);
}

.vt-header {
  position: relative;
  z-index: 40;
  border-bottom: 1px solid var(--vt-border);
  background: rgba(255, 250, 243, .98);
  box-shadow: 0 8px 30px rgba(3, 26, 50, .07);
  backdrop-filter: blur(12px);
}

.vt-header::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--vt-green) 0 33.333%, #f7f1e7 33.333% 66.666%, var(--vt-red) 66.666% 100%);
}

.vt-header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.vt-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: var(--vt-navy-950);
  text-decoration: none;
}

.vt-brand > img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: block;
  border-radius: 14px;
  box-shadow: 0 9px 22px rgba(3, 26, 50, .15);
}

.vt-brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.02;
}

.vt-brand-copy > strong {
  color: var(--vt-navy-950);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 900;
  letter-spacing: -.045em;
}

.vt-brand-copy > strong > span {
  color: var(--vt-gold);
}

.vt-brand-copy > small {
  margin-top: 5px;
  color: var(--vt-muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.vt-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.vt-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--vt-navy-900);
  font-size: .91rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.vt-nav a:hover,
.vt-nav a:focus-visible,
.vt-nav a.active {
  color: var(--vt-navy-950);
  background: #f6e8c9;
  transform: translateY(-1px);
}

.vt-nav .vt-btn {
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid var(--vt-gold);
  border-radius: 999px;
  color: var(--vt-navy-950) !important;
  background: var(--vt-gold);
  box-shadow: 0 10px 24px rgba(197, 138, 43, .22);
}

.vt-nav .vt-btn:hover,
.vt-nav .vt-btn:focus-visible {
  color: var(--vt-navy-950) !important;
  background: var(--vt-gold-light);
}

.vt-nav .vt-btn-light {
  border-color: var(--vt-border);
  background: #fff;
  box-shadow: none;
}

.vt-nav-toggle {
  display: none;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--vt-border);
  border-radius: 13px;
  color: var(--vt-navy-950);
  background: #fff;
  font: inherit;
  font-size: .88rem;
  font-weight: 850;
  cursor: pointer;
}

.vt-nav-toggle-icon {
  display: grid;
  gap: 3px;
}

.vt-nav-toggle-icon i {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
}

.vt-flash {
  margin-top: 18px;
}

.vt-footer {
  margin-top: 0;
  padding: 0 0 22px;
  color: #fff;
  background:
    radial-gradient(circle at 8% 15%, rgba(197, 138, 43, .18), transparent 26%),
    linear-gradient(145deg, #031a32 0%, #0d3657 70%, #08243f 100%);
}

.vt-footer-network {
  position: relative;
  top: -1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 38px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.vt-footer-kicker {
  color: var(--vt-gold-light);
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.vt-footer-network h2 {
  margin: 9px 0 6px;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  letter-spacing: -.04em;
}

.vt-footer-network p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, .68);
}

.vt-footer-network-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.vt-footer-network-actions a {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: rgba(255, 255, 255, .8);
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}

.vt-footer-network-actions a:hover,
.vt-footer-network-actions a.is-current {
  border-color: var(--vt-gold-light);
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.vt-footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) repeat(2, minmax(160px, .55fr));
  gap: 44px;
  align-items: start;
  padding-top: 42px;
}

.vt-footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.vt-footer-brand img {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .24);
}

.vt-footer-brand div,
.vt-footer-column {
  display: flex;
  flex-direction: column;
}

.vt-footer-brand strong {
  font-size: 1.35rem;
}

.vt-footer-brand span {
  max-width: 430px;
  margin-top: 5px;
  color: rgba(255, 255, 255, .68);
}

.vt-footer-column {
  gap: 8px;
}

.vt-footer-column > strong {
  margin-bottom: 6px;
  color: var(--vt-gold-light);
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.vt-footer-column a,
.vt-footer-bottom a {
  color: rgba(255, 255, 255, .84);
  text-decoration: none;
}

.vt-footer-column a:hover,
.vt-footer-bottom a:hover {
  color: #fff;
}

.vt-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .58);
  font-size: .84rem;
}

@media (max-width: 1100px) {
  .vt-header-inner {
    gap: 16px;
  }

  .vt-nav a {
    padding-inline: 9px;
    font-size: .84rem;
  }
}

@media (max-width: 900px) {
  .vt-header-inner {
    min-height: 78px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .vt-nav-toggle {
    display: inline-flex;
  }

  .vt-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-top: 12px;
    border-top: 1px solid var(--vt-border);
  }

  .vt-js .vt-nav:not(.is-open) {
    display: none;
  }

  .vt-nav a {
    flex: 1 1 calc(33.333% - 8px);
    text-align: center;
    white-space: normal;
  }

  .vt-footer-network {
    align-items: flex-start;
    flex-direction: column;
  }

  .vt-footer-network-actions {
    justify-content: flex-start;
  }

  .vt-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vt-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .vt-wrap {
    padding-inline: 14px;
  }

  .vt-brand > img {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .vt-brand-copy > strong {
    font-size: 1.25rem;
  }

  .vt-brand-copy > small {
    display: none;
  }

  .vt-nav-toggle > span:last-child {
    display: none;
  }

  .vt-nav-toggle {
    width: 44px;
    padding-inline: 0;
  }

  .vt-nav a {
    flex-basis: calc(50% - 8px);
    font-size: .82rem;
  }

  .vt-footer-network {
    padding-top: 32px;
    padding-bottom: 28px;
  }

  .vt-footer-network-actions,
  .vt-footer-network-actions a {
    width: 100%;
  }

  .vt-footer-network-actions a {
    text-align: center;
  }

  .vt-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 34px;
  }

  .vt-footer-brand {
    grid-column: auto;
  }

  .vt-footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

/* VT-P04 — stato utente coordinato */
.vt-user-chip {
  min-width: 0;
  max-width: 220px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 10px 6px 7px;
  border: 1px solid var(--vt-border);
  border-radius: 999px;
  color: var(--vt-navy-950);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 8px 20px rgba(3, 26, 50, .08);
}

.vt-user-avatar {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--vt-navy-950);
  background: linear-gradient(135deg, var(--vt-gold-light), var(--vt-gold));
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .02em;
}

.vt-user-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.vt-user-copy strong,
.vt-user-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vt-user-copy strong {
  font-size: .78rem;
}

.vt-user-copy small {
  max-width: 150px;
  margin-top: 3px;
  color: var(--vt-muted);
  font-size: .61rem;
  font-weight: 750;
}

@media (max-width: 1180px) and (min-width: 901px) {
  .vt-user-copy {
    display: none;
  }

  .vt-user-chip {
    padding-right: 7px;
  }
}

@media (max-width: 900px) {
  .vt-user-chip {
    max-width: none;
    flex: 1 1 100%;
    order: -1;
    border-radius: 15px;
  }

  .vt-user-copy small {
    max-width: none;
  }
}

@media (max-width: 620px) {
  .vt-user-chip {
    width: 100%;
  }
}
