/* =============================================
   RESPONSIVE DESKTOP - falciatrici ricambi
   Includere dopo lo <style> inline esistente
   ============================================= */

@media (min-width: 768px) {

  /* --- Layout centrato --- */
  html {
    background: #e8e2d6;
  }

  body {
    max-width: 860px;
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(0,0,0,0.12);
    position: relative;
  }

  /* --- Hero --- */
  .hero {
    padding: 36px 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .hero > div {
    flex-shrink: 0;
  }

  .hero img {
    width: 320px !important;
    max-width: none !important;
    height: auto !important;
    display: block;
  }

  .hero h1 {
    font-size: 40px;
    margin-top: 0;
    margin-bottom: 0;
  }

  /* --- Titolo sezione --- */
  .section-label {
    padding: 24px 40px 12px;
  }

  /* --- Lista ricambi: layout a card gestito dallo <style> inline
     (.parts-list / .part-card-head / .part-card-body). Qui restano
     solo i padding di contenitore, nessuna regola in conflitto. --- */
  .parts-section {
    padding: 0 40px 40px;
  }

  /* --- Bottone catalogo --- */
  .catalog-btn-wrap {
    padding: 16px 40px 0;
  }

  /* --- CTA bar sticky ---
     body è centrato a 860px con margin:auto.
     sticky funziona rispetto al containing block (body),
     quindi la barra rimane dentro i bordi del body. Nessun trucco left/transform. */
  .cta-bar {
    padding: 14px 40px;
  }

  .btn-primary {
    font-size: 17px;
  }

  /* --- SEO text --- */
  .seo-text {
    padding: 32px 40px;
  }

  .seo-text h2 {
    font-size: 24px;
  }

  .seo-text p {
    font-size: 15px;
    max-width: 680px;
  }

  /* --- Modal: centrato, non slide dal basso --- */
  .modal-overlay {
    align-items: center;
    justify-content: center;
  }

  .modal {
    width: 580px;
    max-width: 580px;
    max-height: 85vh;
    border-radius: 12px;
    animation: fadeScaleIn .2s ease;
  }

  @keyframes fadeScaleIn {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
  }

  .modal-header {
    border-radius: 12px 12px 0 0;
  }

  /* --- Toast --- */
  .toast {
    bottom: 32px;
    max-width: 420px;
  }

  /* --- Footer già ha max-width:1100px, ok --- */
}

@media (min-width: 1100px) {
  body {
    max-width: 960px;
  }

  .hero h1 {
    font-size: 46px;
  }
}
