/* Pagine di servizio: CMS, /negozi, /contattaci (docs/SPEC-UI-PAGINE-SERVIZIO.md, prototipo pagine-servizio.html). Solo token del tema. */
html body .page-header{margin:0}
html body .csp-info{padding-bottom:0}
html body:is(#stores,#contact,.cms-id-9) .csp-footer-before{margin-top:var(--sp-7)}
html body:is(#cms,#stores,#contact) #content-wrapper{padding-bottom:0}
html body .csp-info__head{display:flex;align-items:center;gap:var(--sp-4);margin:var(--sp-3) 0 var(--sp-6)}
html body .csp-info__head h1{margin:0;padding:0;border:0;font-family:var(--font);font-size:var(--fs-h1);font-weight:var(--fw-bold);line-height:var(--lh-h1);letter-spacing:var(--ls-display);text-transform:none;text-align:left;color:var(--ink);text-wrap:balance}
html body .csp-info h2{padding:0;border:0;font-family:var(--font);font-weight:var(--fw-bold);color:var(--ink);text-transform:none;text-align:left}
html body .csp-info h2::before,html body .csp-info h2::after{content:none}
html body .csp-info__grid{display:flex;flex-direction:column;gap:var(--sp-6)}
html body .csp-info__side{display:contents}
html body .csp-toc{order:-1}
html body .csp-info__main{min-width:0}
@media(min-width:1024px){
  html body .csp-info__grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:var(--sp-7);align-items:start}
  html body .csp-info__side{display:flex;flex-direction:column;gap:var(--sp-5);position:sticky;top:calc(var(--header-h) + var(--sp-5));grid-column:2;grid-row:1 / span 2}
  html body :is(.csp-info__main,.csp-ask){grid-column:1}
}
@media(max-height:700px){html body .csp-info__side{position:static}}
/* testo della pagina CMS (il contenuto del database non cambia) */
html body .csp-info #content.csp-info__body{display:block;margin:0;padding:0;border:0;background:none;box-shadow:none;text-align:left;font-size:var(--fs-body);line-height:var(--lh-body);color:var(--ink)}
html body .csp-info__body p{margin:0 0 var(--sp-3);max-width:68ch;color:var(--ink)}
html body .csp-info__body p:last-child{margin-bottom:0}
html body .csp-info__body p:empty{display:none}
html body .csp-info__body a{color:var(--brand);text-decoration:underline;text-underline-offset:3px}
html body .csp-info__body a:hover{color:var(--brand-hover)}
html body .csp-info__body :is(ul,ol){list-style:none;margin:0 0 var(--sp-3);padding:0;max-width:68ch;counter-reset:csp-n}
html body .csp-info__body :is(ul,ol):last-child{margin-bottom:0}
html body .csp-info__body li{position:relative;margin:0;padding:var(--sp-3) 0 var(--sp-3) 36px;border-top:1px solid var(--line-soft);list-style:none}
html body .csp-info__body li:first-child{border-top:0}
html body .csp-info__body li::before{content:"";position:absolute;left:0;top:calc(var(--sp-3) + 1px);width:22px;height:22px;border-radius:50%;background:var(--success-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E7B4B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat}
html body .csp-info__body ol>li{counter-increment:csp-n}
html body .csp-info__body ol>li::before{content:counter(csp-n);display:grid;place-items:center;background:var(--brand-tint);color:var(--brand);font-size:var(--fs-micro);font-weight:var(--fw-bold);line-height:1}
/* sezioni a card */
html body .csp-info__sec+.csp-info__sec{margin-top:var(--sp-4)}
html body .csp-info__sec:empty,html body .csp-info__sec:empty+.csp-info__sec{margin-top:0}
html body .csp-info__sec:empty{display:none}
html body .csp-info__sec--card:has(>h2){background:var(--surface);border:1px solid var(--line);border-radius:var(--r-card);padding:var(--sp-5)}
@media(min-width:768px){html body .csp-info__sec--card:has(>h2){padding:var(--sp-6)}}
html body .csp-info__body h2{display:flex;align-items:center;gap:var(--sp-3);margin:0 0 var(--sp-4);font-size:var(--fs-h3);line-height:var(--lh-h3);letter-spacing:0;scroll-margin-top:calc(var(--header-h) + var(--sp-4))}
html body .csp-info__body h2 .csp-ico{color:var(--brand)}
html body .csp-info__main>.csp-sec--brands{padding-block:var(--sp-6) 0}
html body .csp-info__main>.csp-sec--brands .csp-container{padding-inline:0}
html body .csp-info__main>.csp-sec--brands h2{margin:0 0 var(--s-3);font-size:var(--fs-h3);line-height:var(--lh-h3)}
@media(min-width:1024px){html body .csp-info__main>.csp-sec--brands .csp-brands{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* schede */
html body .csp-acard{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-card);padding:var(--sp-5);margin:0}
html body .csp-acard--tint{background:var(--brand-tint)}
html body .csp-info .csp-acard__t{display:flex;align-items:center;gap:var(--sp-3);margin:0 0 var(--sp-3);font-size:var(--fs-h4);line-height:var(--lh-h4);letter-spacing:0}
html body .csp-acard__t .csp-ico{color:var(--brand)}
html body .csp-acard p{margin:0 0 var(--sp-4);font-size:var(--fs-small);line-height:var(--lh-small);color:var(--ink-muted)}
html body .csp-acard address{font-style:normal;margin:0 0 var(--sp-4);color:var(--ink);line-height:var(--lh-body)}
html body .csp-acard .csp-pay__list{justify-content:flex-start}
html body .csp-acard__photo{display:block;margin:calc(-1*var(--sp-5)) calc(-1*var(--sp-5)) var(--sp-4);aspect-ratio:16/9;overflow:hidden;border-radius:var(--r-card) var(--r-card) 0 0;background:var(--bg-sunken)}
html body :is(.csp-acard__photo,.csp-store__photo) img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 90%}
html body .csp-acard__btns{display:grid;gap:var(--s-2)}
html body .csp-acard__btns .csp-btn{width:100%;padding-inline:var(--sp-4)}
/* orari a tabella */
html body .csp-hours{width:100%;border-collapse:collapse;margin:0 0 var(--sp-4);font-size:var(--fs-small);line-height:var(--lh-small);color:var(--ink);background:none}
html body .csp-hours :is(th,td){padding:var(--s-2) 0;border:0;border-bottom:1px solid var(--line-soft);background:none;text-align:left;font-weight:var(--fw-regular)}
html body .csp-hours th{font-weight:var(--fw-semibold);padding-right:var(--sp-4)}
html body .csp-hours td{text-align:right;white-space:nowrap}
html body .csp-hours tr:last-child>*{border-bottom:0}
html body .csp-acard--tint .csp-hours :is(th,td){border-color:var(--line)}
/* indice */
html body .csp-toc__t{margin:0 0 var(--s-2);font-size:var(--fs-small);line-height:var(--lh-small);font-weight:var(--fw-semibold);color:var(--ink-muted)}
html body .csp-toc ol{display:flex;gap:var(--s-2);margin:0 calc(-1*var(--gutter-m));padding:0 var(--gutter-m);list-style:none;overflow-x:auto;scrollbar-width:none}
html body .csp-toc li{margin:0;flex:none}
html body .csp-toc a{display:flex;align-items:center;min-height:var(--tap);padding:0 var(--sp-4);border:1px solid var(--line);border-radius:var(--r-pill);background:var(--surface);color:var(--ink);font-size:var(--fs-small);font-weight:var(--fw-semibold);text-decoration:none;white-space:nowrap}
html body .csp-toc a:hover{border-color:var(--brand);color:var(--brand)}
@media(min-width:768px){html body .csp-toc ol{margin:0;padding:0;flex-wrap:wrap}}
@media(min-width:1024px){
  html body .csp-toc ol{flex-direction:column;flex-wrap:nowrap;gap:0}
  html body .csp-toc a{border:0;border-left:2px solid var(--line);border-radius:0;background:none;white-space:normal;padding:var(--s-2) var(--sp-4);line-height:var(--lh-small)}
}
/* barra "Hai un dubbio?" */
html body .csp-ask{display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--sp-4);align-items:center;padding:var(--sp-5);background:var(--bg-soft);border:1px solid var(--line);border-radius:var(--r-panel)}
html body .csp-info .csp-ask h2{margin:0;font-size:var(--fs-h3);line-height:var(--lh-h3);letter-spacing:0}
html body .csp-ask p{margin:2px 0 0;font-size:var(--fs-small);line-height:var(--lh-small);color:var(--ink-muted)}
html body .csp-ask .csp-ibox{background:var(--surface);border:1px solid var(--line)}
html body .csp-ask__btns{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1fr);gap:var(--s-2)}
html body .csp-ask__btns .csp-btn{min-width:0;padding-inline:var(--sp-4);white-space:nowrap}
@media(min-width:600px){html body .csp-ask__btns{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1280px){html body .csp-ask{grid-template-columns:auto minmax(0,1fr) auto}html body .csp-ask__btns{grid-column:auto;grid-template-columns:auto auto}}
/* Dove siamo */
html body#stores .csp-info #content.csp-stores{margin:0;padding:0;border:0;background:none;box-shadow:none;display:grid;gap:var(--sp-6);text-align:left}
html body .csp-store{display:grid;gap:var(--sp-5);grid-template-columns:minmax(0,1fr);grid-template-areas:"photo" "info" "pick"}
html body .csp-store__photo{grid-area:photo;margin:0;aspect-ratio:16/9;overflow:hidden;border-radius:var(--r-card);background:var(--bg-sunken)}
html body .csp-store__photo picture{display:block;height:100%}
html body .csp-store__info{grid-area:info}
html body .csp-store__pick{grid-area:pick}
html body .csp-info .csp-store__info h2{margin:0 0 var(--s-2);font-size:var(--fs-h2);line-height:var(--lh-h2)}
html body .csp-store__info>p{font-size:var(--fs-body);line-height:var(--lh-body)}
html body .csp-store__pick>p{margin:0;font-size:var(--fs-body);line-height:var(--lh-body);color:var(--ink)}
html body .csp-store__rows{display:grid;gap:var(--sp-3);margin:0 0 var(--sp-5);padding:0;list-style:none}
html body .csp-store__rows>li{display:flex;gap:var(--sp-3);align-items:flex-start;min-width:0;margin:0}
html body .csp-store__rows>li>.csp-ico{margin-top:2px;color:var(--brand)}
html body .csp-store__rows>li>div{flex:1;min-width:0}
html body .csp-store__rows address{margin:0}
html body .csp-acard .csp-store__rows{margin-bottom:var(--sp-4)}
html body .csp-store__rows a{display:inline-flex;align-items:center;min-height:var(--tap);margin-block:-10px;color:var(--brand);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere;text-transform:none}
html body .csp-store__rows .csp-hours{margin:0;font-size:var(--fs-body);line-height:var(--lh-body)}
html body .csp-store__rows .csp-hours :is(th,td){padding-top:0}
html body .csp-store__btns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s-2);margin:0}
html body .csp-store__btns .csp-btn{min-width:0;padding-inline:var(--sp-3)}
html body .csp-store__btns .csp-btn--primary{grid-column:1 / -1}
@media(min-width:1024px){html body .csp-store{grid-template-columns:minmax(0,7fr) minmax(0,5fr);grid-template-areas:"photo info" "pick info";grid-template-rows:auto 1fr;gap:var(--sp-5) var(--sp-7);align-items:start}}
/* Contattaci (override contactform) */
html body .csp-cform{display:grid;gap:0 var(--sp-4);grid-template-columns:minmax(0,1fr)}
html body .csp-cform label{display:block;margin:0 0 6px;padding:0;font-weight:var(--fw-semibold);font-size:var(--fs-small);line-height:var(--lh-small);text-align:left;color:var(--ink)}
html body .csp-cform .csp-f{margin:0 0 var(--sp-4);min-width:0}
html body .csp-cform :is(input[type=email],input[type=file],select,textarea){display:block;width:100%;max-width:100%;min-height:var(--h-control);height:auto;margin:0;padding:0 var(--sp-4);border:1.5px solid var(--line-strong);border-radius:var(--r-control);background-color:#fff;color:var(--ink);font:var(--fw-regular) var(--field-fs)/1.5 var(--font);text-transform:none;box-shadow:none}
html body .csp-cform .csp-f select{height:var(--h-control)}
html body .csp-cform .csp-f textarea{min-height:160px;padding-block:var(--sp-3);resize:vertical}
html body .csp-cform .csp-f input[type=file]{padding:3px var(--s-2)}
html body .csp-cform input[type=file]::file-selector-button{margin-right:var(--sp-3);height:40px;padding:0 var(--sp-4);border:1.5px solid var(--ink);border-radius:var(--r-control);background:#fff;color:var(--ink);font:var(--fw-semibold) var(--fs-small)/1 var(--font);cursor:pointer}
html body .csp-cform :is(input,select,textarea):not([type=checkbox]):focus-visible{outline:3px solid var(--focus);outline-offset:0;border-color:var(--focus);box-shadow:none}
html body .csp-cform .csp-hint{margin:6px 0 0;font-size:var(--fs-small);line-height:var(--lh-small);color:var(--ink-muted)}
html body .csp-cform .gdpr_consent{margin:0 0 var(--sp-4)}
html body .csp-cform .gdpr_consent .psgdpr_consent_message{font-weight:var(--fw-regular);display:flex;gap:var(--sp-3);align-items:flex-start;margin:0;min-height:var(--tap);cursor:pointer}
html body .csp-cform .gdpr_consent input[type=checkbox]{position:static;opacity:1;flex:none;width:24px;height:24px;margin:0;accent-color:var(--brand)}
html body .csp-cform .gdpr_consent input+span{display:none}
html body .csp-cform .gdpr_consent a{color:var(--brand);text-decoration:underline}
html body .csp-cform+.csp-btn{width:100%}
html body .csp-cform+.csp-btn:disabled{opacity:.55;cursor:not-allowed}
html body .csp-info .alert{margin:0 0 var(--sp-4)}
html body .csp-info .alert ul{margin:0;padding:0;list-style:none}
@media(min-width:768px){html body .csp-cform{grid-template-columns:repeat(2,minmax(0,1fr))}html body .csp-cform .csp-f--full{grid-column:1 / -1}html body .csp-cform+.csp-btn{width:auto}}
@media(prefers-reduced-motion:reduce){html body .csp-info .csp-btn{transition:none}}
