/* SeriPet — la base di tutte le pagine del plugin seripet-pagine. Tutto sta dentro .sp: il resto del sito non si tocca. */
.sp {
  --blu: #142b6f; --giallo: #ffd601; --crema: #f9f6ea; --paglia: #fff8dc; --nocciola: #e9e2cc; --bordo: #e3dcc2;
  --testo: #3b4670; --accento: #4a5b96;
  --titoli: "Merriweather Sans", sans-serif; --serif: Georgia, "Times New Roman", serif;
  --lato: 40px; --largo: 1200px;
  display: block; width: 100%; margin: 0; overflow-x: clip;
  font-family: "Inter Tight", sans-serif; font-size: 16px; font-weight: 400; line-height: 1.65; color: var(--blu);
}
.sp-tela { margin: 0; background: #fff; -webkit-text-size-adjust: 100%; }
.sp *, .sp *::before, .sp *::after { box-sizing: border-box; }
/* si riparte da zero: le regole generali di Astra e WooCommerce su titoli, citazioni, tabelle e pulsanti qui non entrano
   («.sp.sp» perché una di WooCommerce pesa più di «.sp») */
.sp.sp :where(h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, table, th, td, details, summary, button) { margin: 0; padding: 0; border: 0; }
.sp :where(h1, h2, h3, h4) { font-family: var(--titoli); font-size: inherit; font-weight: 700; line-height: 1.3; color: inherit; text-transform: none; }
.sp :where(blockquote, button, th, td) { font: inherit; color: inherit; text-align: inherit; text-transform: none; letter-spacing: normal; quotes: none; }
.sp :where(button) { border-radius: 0; background: none; box-shadow: none; cursor: pointer; }
.sp :where(table) { border-collapse: collapse; }
.sp :where(ul, ol) { list-style: none; }
.sp :where(img, svg) { display: block; max-width: 100%; }
.sp img { height: auto; }
.sp a { color: inherit; text-decoration: none; }
.sp :focus-visible { outline: 3px solid var(--giallo); outline-offset: 2px; }
.sp .icona { width: 1em; height: 1em; flex: none; fill: currentColor; }
.sp .nascosto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* una sezione: il fondo è largo quanto lo schermo, il contenuto al più 1200 px */
.sp .sezione { padding: 96px max(var(--lato), calc((100% - var(--largo)) / 2)); background: #fff; }

/* i pulsanti */
.sp .bottone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border: 2px solid var(--giallo);
  border-radius: 999px; background: var(--giallo); color: var(--blu); font-size: 15px; font-weight: 700; line-height: 1.2; text-align: center;
  white-space: nowrap; cursor: pointer; transition: transform .15s, box-shadow .15s, filter .15s; }
.sp .bottone:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(20, 43, 111, .18); color: var(--blu); }
.sp .bottone--nocciola { background: var(--nocciola); border-color: var(--nocciola); }
.sp .bottone--largo { display: flex; gap: 10px; width: 100%; padding: 16px 22px; border: 0; font-size: 17px; }
.sp .bottone--largo:hover { box-shadow: none; filter: brightness(1.03); }
.sp .bottone--largo .icona { font-size: 18px; }
.sp .bottone--blu, .sp .bottone--blu:hover { background: var(--blu); border-color: var(--blu); color: #fff; }

@media (max-width: 767px) {
  .sp { --lato: 20px; }
  .sp .sezione { padding-top: 60px; padding-bottom: 60px; }
}
