@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
    --primary-color: #8B4B76;  /* Il colore viola/bordeaux del logo */
    --text-color: #333;
    --background-color: #fff;
    --secondary-background: #f9f9f9;
  }
  
  body {
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #fef8f8;
  }
  
  .header {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .logo {
    width: 80px;
    height: auto;
    margin-bottom: 1rem;
  }
  
  .logo-text {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
  }
  
  h1 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
  }
  
  strong {
    color: var(--primary-color);
    font-size: 1.2rem;
    display: block;
    margin: 2rem 0 1rem;
  }
  
  p, ul {
    margin-bottom: 1rem;
  }
  
  ul {
    padding-left: 2rem;
  }
  
  a {
    color: var(--primary-color);
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  .content-section {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border: 1px solid #e4e4e4;
    text-align: justify;
}
  
  hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 2rem 0;
  }
  
  .centered-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
  }

  .content-text {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e4e4e4;
    max-width: 600px;
    text-align: center;
  }

  .content-text strong {
    color: var(--primary-color);
    font-size: 1.2rem;
    display: block;
    margin: 1rem 0;
  }

  .content-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
  }

  .content-text em {
    color: var(--primary-color);
    font-style: italic;
  }

  @media (max-width: 600px) {
    body {
      padding: 1rem;
    }
    
    .logo {
      width: 60px;
    }
    
    .logo-text {
      width: 160px;
    }

    .centered-content {
      min-height: calc(100vh - 150px);
      padding: 1rem 0;
    }

    .content-text {
      padding: 1.5rem;
      margin: 0 1rem;
    }
  } 

/* ---- additions for the new site ---- */

/* languages: only the active one shows; without script the page reads in Italian */
html:not([data-lang]) [data-l="en"],
html[data-lang="it"] [data-l="en"],
html[data-lang="en"] [data-l="it"] { display: none; }

.language-selector { display: flex; justify-content: center; margin-top: 10px; margin-bottom: 20px; }
.language-selector a { text-decoration: none; }
.language-btn {
  display: inline-flex; align-items: center; padding: 6px 14px;
  border: 1px solid #e0e0e0; background-color: #f8f9fa; color: #333;
  font-size: 14px; font-weight: 500; text-decoration: none; border-radius: 20px; margin: 0 5px;
  transition: all 0.2s ease;
}
.language-btn svg { margin-right: 5px; }
.language-btn:hover { background-color: #e9ecef; box-shadow: 0 2px 5px rgba(0,0,0,0.1); text-decoration: none; }
.language-btn.active { background-color: #eee1e1; color: #8B4B76; border-color: #d7cfcf; }

.lead { font-size: 1.125rem; text-align: center; margin: 0 auto 1.5rem; max-width: 34rem; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin: 0 0 2rem; }
.button {
  display: inline-block; padding: 0.7rem 1.25rem; background: var(--primary-color); color: #fff;
  font-weight: 600; border-radius: 8px; text-decoration: none;
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background-color 160ms ease;
}
.button:hover { background: #6f3a5d; text-decoration: none; }
.button:active { transform: scale(0.97); }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 1rem 0; padding: 0; list-style: none; }
.prices li { background: #fef8f8; border: 1px solid #e4e4e4; border-radius: 8px; padding: 1rem; margin: 0; text-align: center; }
.prices .amount { display: block; font-size: 1.5rem; font-weight: 600; color: var(--primary-color); }
.prices .period { display: block; font-weight: 600; }
.prices .note { display: block; font-size: 0.875rem; color: #6b5a66; }
.page-foot { text-align: center; font-size: 0.9375rem; color: #6b5a66; margin: 2rem 0 1rem; }
.page-foot a { margin: 0 0.6rem; white-space: nowrap; }
.small { font-size: 0.9375rem; color: #6b5a66; }
.updated { font-size: 0.875rem; color: #6b5a66; }
.content-text small { display: block; margin-top: 0.4rem; color: #6b5a66; }
@media (max-width: 600px) { .prices { grid-template-columns: 1fr; } }
