@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@500;600;700&display=swap");

:root {
  --bg-canvas: #242629;
  --bg-bar: #202225;
  --bg-hero: #282B30;
  --bg-card: #2E3136;
  --border-cyan: rgba(51, 153, 204, 0.28);
  --border-cyan-strong: rgba(51, 153, 204, 0.65);
  --border-subtle: rgba(255, 255, 255, 0.10);
  --text-primary: #E6E9EE;
  --text-secondary: #CBD2DC;
  --text-muted: #A3ACB9;
  --accent: #3399CC;
  --accent-bright: #66CCFF;
  --accent-ink: #0F1419;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-family: "Century Gothic", "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
}

@media (min-width: 768px) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background-color: var(--bg-canvas);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M22 0 L44 22 L22 44 L0 22 Z' fill='none' stroke='%232f3338' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  color: var(--text-primary);
  line-height: 1.6;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-bright);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Top Bar */
.topbar {
  background-color: var(--bg-bar);
  border-bottom: 1px solid var(--border-cyan);
}

.topbar-inner,
.container-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-link:hover {
  color: var(--accent-bright);
  text-decoration: none;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
}

.top-nav a {
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

.top-nav a:hover {
  color: var(--accent-bright);
  text-decoration: none;
}

/* Hero (Trasparente sullo sfondo body) */
.hero {
  background-color: transparent;
  border-bottom: 1px solid var(--border-subtle);
  padding: 40px 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 3.4vw, 2.5rem);
  line-height: 1.18;
  color: #FFFFFF;
  text-wrap: balance;
}

.hero-sub {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 600;
  color: var(--accent-bright);
}

.hero p.hero-lead {
  margin: 14px 0 0;
  max-width: 72ch;
  font-size: 15px;
  color: var(--text-secondary);
}

/* Sticky Ricerca & Categorie SEO (Sfondo pieno) */
.filter-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: var(--bg-bar);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0;
}

.filter-bar.is-collapsed {
  border-bottom: 4px solid var(--accent);
}

.filter-bar-body {
  overflow: hidden;
}

.filter-bar-inner {
  width: 100%;
  padding-top: 8px;
  padding-bottom: 12px;
}

.filter-bar.is-collapsed .filter-bar-body {
  display: none;
}

@media (min-width: 768px) {
  .filter-bar {
    transition: border-bottom-color 200ms cubic-bezier(0.22, 1, 0.36, 1),
      border-bottom-width 200ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .filter-bar-body {
    opacity: 1;
    transition: height 200ms cubic-bezier(0.22, 1, 0.36, 1), opacity 160ms ease;
  }

  .filter-bar.is-collapsed .filter-bar-body {
    display: block;
    height: 0;
    opacity: 0;
    pointer-events: none;
  }
}

.filter-collapse-handle {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  z-index: 25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 16px;
  padding: 0;
  margin: 0;
  border: 1px solid var(--border-cyan-strong);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background-color: var(--bg-bar);
  color: var(--accent-bright);
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.filter-collapse-handle:hover,
.filter-collapse-handle:focus-visible {
  background-color: #27323F;
  border-color: var(--accent-bright);
  color: #FFFFFF;
  outline: none;
}

.filter-handle-chevron {
  display: block;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .filter-handle-chevron {
    transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
  }
}

.filter-bar.is-collapsed .filter-handle-chevron {
  transform: rotate(180deg);
}

.filter-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 640px) {
  .filter-controls {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
}

.search-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.spec-filters-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 6px;
}

@media (min-width: 640px) {
  .spec-filters-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.spec-select {
  width: 100%;
  min-width: 0;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(51, 153, 204, 0.38);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.35;
  cursor: pointer;
  transition: border-color 150ms ease;
}

.spec-select:focus {
  outline: none;
  border-color: var(--accent-bright);
}

.spec-select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.spec-search-wrap {
  position: relative;
  min-width: 0;
}

.spec-search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--accent-bright);
  pointer-events: none;
}

.spec-search-input {
  width: 100%;
  min-width: 0;
  padding: 4px 28px 4px 30px;
  border-radius: 6px;
  border: 1px solid rgba(51, 153, 204, 0.38);
  background-color: var(--bg-canvas);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.35;
  transition: border-color 150ms ease;
}

.spec-search-input::placeholder {
  color: #8B95A5;
}

.spec-search-input:focus {
  outline: none;
  border-color: var(--accent-bright);
}

.spec-search-clear {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 3px 5px;
}

.spec-search-clear:hover {
  color: #FFFFFF;
}

.results-count {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--accent-bright);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 5px 34px 5px 36px;
  border-radius: 6px;
  border: 1px solid rgba(51, 153, 204, 0.38);
  background-color: var(--bg-canvas);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.35;
  transition: border-color 150ms ease;
}

.search-input::placeholder {
  color: #8B95A5;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-bright);
}

.search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
}

.search-clear:hover {
  color: #FFFFFF;
}

.filter-nav-wrap {
  margin-top: 7px;
}

.filter-nav-scroller {
  position: relative;
}

.filter-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.filter-nav::-webkit-scrollbar {
  display: none;
}

.filter-nav-arrow {
  position: absolute;
  top: 0;
  height: calc(100% - 2px);
  width: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(102, 204, 255, 0.58);
  border-radius: 6px;
  background-color: rgba(24, 28, 34, 0.94);
  color: var(--accent-bright);
  box-shadow: 0 0 10px rgba(15, 20, 25, 0.9);
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.filter-nav-arrow:hover,
.filter-nav-arrow:focus-visible {
  background-color: #27323F;
  border-color: var(--accent-bright);
  color: #FFFFFF;
  outline: none;
}

.filter-nav-arrow-left {
  left: 0;
}

.filter-nav-arrow-right {
  right: 0;
}

.filter-nav-arrow[hidden] {
  display: none;
}

.category-scrollbar {
  position: relative;
  display: block;
  width: 100%;
  height: 8px;
  margin-top: 8px;
  border-radius: 9999px;
  background-color: #16181B;
  border: 1px solid rgba(51, 153, 204, 0.35);
  cursor: pointer;
  touch-action: none;
}

.category-scrollbar-thumb {
  position: absolute;
  left: 0;
  top: -1px;
  height: 8px;
  min-width: 44px;
  width: 34%;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  box-shadow: 0 0 8px rgba(51, 153, 204, 0.45);
  pointer-events: none;
  will-change: transform;
}

@media (min-width: 768px) {
  .filter-nav {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .filter-nav-arrow {
    display: none;
  }

  .category-scrollbar {
    display: none;
  }
}

.filter-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
  background-color: #2A2D32;
  color: var(--text-secondary);
  border-radius: 6px;
  padding: 3px 8px;
  font-family: "Roboto Condensed", "Arial Narrow", "Liberation Sans Narrow", Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.filter-link:hover {
  border-color: var(--border-cyan-strong);
  color: #FFFFFF;
  text-decoration: none;
}

.filter-link.is-active {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}

/* Main & Sezioni */
main {
  padding: 36px 0 56px;
}

.category-section {
  margin-bottom: 48px;
  scroll-margin-top: 150px;
}

.category-section.is-hidden {
  display: none;
}

.section-header {
  border-bottom: 1px solid var(--border-cyan);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.section-header h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  color: #FFFFFF;
  text-align: left;
}

.section-desc {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}

.cards-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Quote Card (Trasparente) */
.quote-card {
  background-color: transparent;
  border: 1px solid var(--border-cyan);
  border-radius: 8px;
  padding: 20px;
  scroll-margin-top: 150px;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.quote-card:hover {
  background-color: #111214;
  border-color: var(--border-cyan-strong);
}

.quote-card:target {
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 2px rgba(102, 204, 255, 0.25);
}

.quote-card.is-hidden {
  display: none;
}

.quote-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.anchor-link {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: var(--accent-bright);
  font-weight: 500;
}

.code-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: var(--text-primary);
}

.meta-shipping {
  color: var(--accent-bright);
  font-weight: 500;
}

.quote-body {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote-main {
  min-width: 0;
}

.quote-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: #FFFFFF;
}

.quote-title a {
  color: #FFFFFF;
}

.quote-title a:hover {
  color: var(--accent-bright);
  text-decoration: none;
}

.quote-desc {
  margin: 10px 0 0;
  font-size: 15px;
  color: var(--text-secondary);
  text-align: left;
  max-width: 78ch;
}

/* Griglia Tecnica Strutturata (Scheda Singola / a Scaglioni) */
.spec-grid {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 10px 18px;
  font-variant-numeric: tabular-nums;
}

.spec-item {
  margin: 0;
  min-width: 0;
}

.spec-item dt {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.spec-item dd {
  margin: 2px 0 0;
  font-size: 13.5px;
  color: var(--text-primary);
  line-height: 1.45;
  word-break: break-word;
}

.spec-item.spec-shipping dt,
.spec-item.spec-shipping dd,
.price-list .spec-shipping {
  color: var(--accent-bright);
}

.spec-item.spec-shipping dd,
.price-list .spec-shipping {
  font-weight: 500;
}

/* Elenco Strutturato Sotto-Voci (Scheda Multi-Voce A, B, C...) */
.quote-items {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border-subtle);
  font-variant-numeric: tabular-nums;
}

.quote-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-subtle);
  align-items: start;
}

.quote-item:last-child {
  border-bottom: 0;
}

.quote-item-key {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-bright);
  padding-top: 2px;
}

.quote-item-content {
  min-width: 0;
}

.quote-item-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.quote-item-meta {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}

/* Righe Inline Quantità e Prezzo (Preventivi Semplici / a Scaglioni) */
.quote-tiers {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border-subtle);
  font-variant-numeric: tabular-nums;
}

.quote-tier-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 6px 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.quote-tier-row:last-child {
  border-bottom: 0;
}

.quote-tier-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.quote-tier-pricing {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

.quote-tier-qty {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary);
}

.quote-tier-price {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent-bright);
}

.quote-item-pricing {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

.quote-item-qty {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

.quote-item-price {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-bright);
  white-space: normal;
}

@media (min-width: 768px) {
  .quote-item {
    grid-template-columns: 28px 1fr auto;
    align-items: baseline;
  }

  .quote-item-pricing {
    grid-column: 3;
    justify-content: flex-end;
    max-width: 340px;
  }

  .quote-item-price {
    text-align: right;
    max-width: 280px;
  }
}

/* Barra Azioni Compatta a Fondo Scheda */
.quote-actions-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.quote-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.quote-actions-row .btn-primary,
.quote-actions-row .btn-secondary,
.quote-actions-row .btn-copy {
  width: auto;
  padding: 4px 12px;
}

.quote-items-more {
  border-top: 1px solid var(--border-subtle);
}

.quote-items-more summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-bright);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.quote-items-more summary::-webkit-details-marker {
  display: none;
}

.quote-items-more summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid var(--border-cyan);
  font-size: 13px;
  line-height: 1;
}

.quote-items-more[open] summary::before {
  content: "-";
}

.quote-items-more summary:hover {
  color: #FFFFFF;
}

.quote-items-more .quote-items {
  margin-top: 0;
}

.quote-specs {
  margin: 12px 0 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-secondary);
}

.quote-specs li + li {
  margin-top: 4px;
}

.quote-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
  font-size: 13px;
}

/* Box Prezzi e Azioni (Mobile verticale, Desktop fascia orizzontale sotto descrizione) */
.price-box {
  width: 100%;
  background-color: transparent;
  border: 1px solid var(--border-cyan);
  border-radius: 6px;
  padding: 16px;
  font-variant-numeric: tabular-nums;
}

.price-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.price-summary {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-bright);
}

.price-list {
  margin: 10px 0 0;
  padding: 10px 0 0;
  list-style: none;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-primary);
}

.price-list li + li {
  margin-top: 6px;
}

.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.price-box .quote-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (min-width: 768px) {
  .price-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  .price-head {
    flex: 0 0 auto;
    min-width: 180px;
  }

  .price-list {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0 0 0 20px;
    border-top: 0;
    border-left: 1px solid var(--border-subtle);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 20px;
  }

  .price-list li + li {
    margin-top: 0;
  }

  .price-box .quote-actions {
    margin-top: 0;
    width: 224px;
    flex: 0 0 224px;
  }
}

.btn-primary,
.btn-secondary,
.btn-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 4px 11px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.footer-cta-box .btn-primary,
.footer-cta-box .btn-secondary {
  width: auto;
}

.btn-primary {
  background-color: var(--accent);
  border: 1px solid var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background-color: #55B8E8;
  border-color: #55B8E8;
  text-decoration: none;
}

.btn-secondary {
  border: 1px solid rgba(51, 153, 204, 0.5);
  background-color: transparent;
  color: var(--text-primary);
}

.btn-secondary:hover {
  border-color: var(--accent-bright);
  color: var(--accent-bright);
  text-decoration: none;
}

.price-box .btn-copy {
  grid-column: 1 / -1;
}

.btn-copy {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background-color: transparent;
  color: var(--text-secondary);
  font-weight: 500;
}

.btn-copy:hover {
  border-color: var(--accent-bright);
  color: var(--accent-bright);
}

.btn-copy.is-copied {
  border-color: rgba(52, 211, 153, 0.6);
  color: #34d399;
}

/* Stato Vuoto / Categoria Senza Preventivi */
.empty-state,
.empty-category-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-cyan);
  border-radius: 8px;
  padding: 40px 24px;
  text-align: center;
}

.empty-state {
  display: none;
}

.empty-state.is-visible {
  display: block;
}

.empty-category-card {
  background-color: transparent;
}

.empty-state h2,
.empty-state h3,
.empty-category-card h3 {
  margin: 0;
  font-size: 18px;
  color: #FFFFFF;
}

.empty-state p,
.empty-category-card p {
  margin: 10px auto 22px;
  max-width: 60ch;
  font-size: 14px;
  color: var(--text-muted);
}

.empty-category-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.empty-category-actions .btn-primary,
.empty-category-actions .btn-secondary {
  width: auto;
  padding: 5px 14px;
}

/* Sezione FAQ */
.faq-section {
  padding: 20px 0 56px;
  scroll-margin-top: 150px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background-color: transparent;
  border: 1px solid var(--border-cyan);
  border-radius: 8px;
  padding: 18px 20px;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.faq-item:hover {
  background-color: #111214;
  border-color: var(--border-cyan-strong);
}

.faq-question {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #FFFFFF;
}

.faq-answer {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Footer */
.site-footer {
  background-color: rgba(32, 34, 37, 0.95);
  border-top: 1px solid var(--border-cyan);
  padding: 40px 0 96px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0;
  color: #FFFFFF;
  font-size: 17px;
}

.footer-address {
  margin-top: 14px;
  font-style: normal;
  line-height: 1.8;
  color: var(--text-secondary);
}

.footer-cta-box {
  background-color: var(--bg-hero);
  border: 1px solid var(--border-cyan);
  border-radius: 8px;
  padding: 20px;
}

.footer-cta-box p {
  margin: 8px 0 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.admin-entry-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  color: #667085;
  opacity: 0.25;
  transition: opacity 150ms ease, color 150ms ease;
}

.admin-entry-link:hover,
.admin-entry-link:focus-visible {
  color: var(--accent-bright);
  opacity: 0.85;
  text-decoration: none;
}

/* Logo Fisso in Basso al Centro (Ritorno in Alto) */
.marchio-fixed {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-canvas);
  padding: 3px;
  border-radius: 9999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.55);
  transition: transform 150ms ease;
}

.marchio-fixed:hover {
  transform: translateX(-50%) scale(1.06);
}

.marchio-fixed img {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .filter-bar,
  .filter-bar-body,
  .filter-handle-chevron {
    transition: none;
  }
}
