:root {
    --primary: #1e3a8a;
    --secondary: #facc15;
    --accent: #dc2626;
    --text: #ffffff;
  }  body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background-color: #f8f9fa;
    color: #1f2937;
  }  header {
    background: linear-gradient(to bottom, var(--primary), #2b4cb9);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }  .logo-image {
    width: 150px;
    height: auto;
  }  nav a, nav button {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text);
    transition: color 0.3s ease;
  }  nav a:hover, nav button:hover {
    color: var(--secondary);
  }  .slogan-section {
    background: var(--primary);
    color: var(--text);
    padding: 2rem 1rem;
  }  .slogan-section h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }  .slogan-section p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
  }  .hero-video video {
    max-height: 80vh;
    object-fit: cover;
  }  section {
    padding: 4rem 1rem;
  }  section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
  }  section p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    color: #4b5563;
  }  .icon-grid .icon-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
  }  .icon-grid .icon-item:hover img {
    transform: scale(1.05);
  }  .icon-grid .icon-item p {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary);
  }  .footer-logo {
    width: 120px;
    height: auto;
  }  form input, form select, form textarea {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0.75rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }  form input:focus, form select:focus, form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
  }  form button {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    background-color: var(--accent);
    color: var(--text);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }  form button:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
  }  form button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.3);
  }  .product-item, .order-item, .cart-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }  .product-item:hover, .order-item:hover, .cart-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }  @media (max-width: 640px) {
    .slogan-section h1 {
      font-size: 2.5rem;
    }
    section h2 {
      font-size: 2rem;
    }
    nav a, nav button {
      font-size: 1rem;
    }
    .logo-image {
      width: 120px;
    }
    .icon-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }  footer {
    flex-shrink: 0; /* Impedisce al footer di ridursi */
    background: var(--primary); /* #1e3a8a */
    color: var(--text); /* #ffffff */
    padding: 3rem 1rem;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
  }  /* Ottimizzazione footer per responsività */
  footer .container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }  @media (min-width: 768px) {
    footer .container {
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-start;
    }
  }  footer .footer-left p,
  footer .footer-right p,
  footer .footer-right a {
    font-size: 0.9rem; /* Leggermente più piccolo per un aspetto pulito */
    line-height: 1.5;
  }  footer .footer-logo {
    width: 100px; /* Ridotto per un aspetto più compatto */
    height: auto;
    margin-bottom: 1rem;
  }  footer .footer-right .flex {
    gap: 1rem; /* Spaziatura uniforme per i link social */
  }
  /* Campo password con occhio */
  .password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
  }  .password-wrapper input {
    width: 100%;
    padding-right: 40px; /* Spazio per l'icona */
  }  .toggle-password {
    position: absolute;
    right: 10px;
    cursor: pointer;
    color: #666;
    font-size: 1.1rem;
    user-select: none;
  }  .toggle-password:hover {
    color: #333;
  }  .toggle-password.active i::before {
    content: "\f070"; /* Occhio barrato */
  }  /* ===== MOBILE MENU – NON TRASPARENTE, VISIBILE E PROFESSIONALE ===== */
.mobile-menu {
  position: fixed;
  top: 80px;               /* sotto l'header (adatta se il tuo header è più alto) */
  left: 0;
  right: 0;
  background: #1e3a8a;     /* stesso blu del header – NON trasparente */
  padding: 2rem 1.5rem;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 50;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  border-top: 3px solid var(--accent);
}.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
}/* Overlay scuro quando menu aperto */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}.overlay.active {
  opacity: 1;
  visibility: visible;
}/* Hamburger animato (3 linee → X) */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 60;
}.hamburger span {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }html, body {
  height: 100%;
  margin: 0;
}body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;           /* fondamentale */
  background-color: #f8f9fa;
}main,
/* per le pagine che hanno <main> */
section.container,
/* per catalogo.html, chi-siamo.html, contatti.html ecc. */
div.container {
  flex: 1 0 auto;              /* cresce e spinge il footer giù */
}footer {
  flex-shrink: 0;              /* non si restringe mai */
  margin-top: auto;            /* la magia finale */
}#add-product-btn.show {
  opacity: 1 !important;
  scale: 1 !important;
  animation: popIn 0.4s ease-out forwards;
}@keyframes popIn {
  0%   { opacity: 0; transform: scale(0.9) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }}/* Bottoni modal recupero password sempre belli */
#sendResetBtn, #saveNewPassword {
  min-height: 60px;
  font-size: 1.25rem !important;
}
#sendResetBtn:disabled, #saveNewPassword:disabled {
  background-color: #9ca3af !important;
  cursor: not-allowed;
  transform: none !important;
}.js-loading .seller-admin-only,
.js-loading .admin-only,
.js-loading .buyer-only,
.js-loading #user-name,
.js-loading #logout-btn {
  display: none !important;
}
/* FIX DEFINITIVO - NESSUNA SOVRAPPOSIZIONE FOOTER */
.license-collapse {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0;
}.license-collapse.show {
  max-height: 900px;     /* più che sufficiente */
  opacity: 1;
  margin-top: 1.5rem;
  padding-top: 0.5rem;   /* piccolo respiro interno */
}/* Forza la pagina ad allungarsi quando serve */
section.min-h-screen {
  min-height: auto !important;
  padding-bottom: 150px;   /* spazio extra per i campi licenza */
}/* FORZA VISIBILITÀ E CONTRASTO navbar desktop */
@media (min-width: 1024px) {
  nav.lg\:flex {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }  nav a,
  nav button,
  #user-name,
  #login-btn,
  #logout-btn,
  #admin-link,
  .buyer-only a,
  .seller-admin-only a {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7) !important; /* ombra per contrasto */
    font-weight: 600 !important;
    font-size: 1.125rem !important; /* un filo più grande */
  }  nav a:hover,
  nav button:hover {
    color: var(--secondary) !important; /* giallo #facc15 su hover */
    text-shadow: 0 1px 4px rgba(0,0,0,0.8) !important;
  }  /* Impedisci che mobile-menu interferisca su desktop */
  .mobile-menu,
  .overlay,
  .hamburger {
    display: none !important;
  }