/* Componi Pagine CGFA - DEMO: un tema semplice d'esempio (al posto del tema del tuo sito). */
*,*::before,*::after{box-sizing:border-box}
body{margin:0;font:17px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#1e293b;background:#fff}
img{max-width:100%;height:auto}
a{color:#1f6feb}
.demo-c{max-width:1200px;margin:0 auto;padding:0 20px}
.demo-barra{position:sticky;top:0;z-index:50;display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;justify-content:center;padding:8px 14px;background:#0f172a;color:#e2e8f0;font-size:14px}
.demo-barra strong{padding:2px 8px;border-radius:6px;background:#f59e0b;color:#111827;font-size:12px;letter-spacing:.06em}
.demo-barra a{color:#93c5fd}
.demo-testa{border-bottom:1px solid #e2e8f0;background:#fff}
.demo-testa .demo-c{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px;flex-wrap:wrap}
.demo-marchio{display:flex;align-items:center;gap:10px;font-weight:800;font-size:20px;color:#0f172a;text-decoration:none}
.demo-marchio-q{width:26px;height:26px;border-radius:8px;background:linear-gradient(135deg,#f59e0b,#e11d48 60%,#6d28d9)}
.demo-testa nav{display:flex;gap:4px 18px;flex-wrap:wrap}
.demo-testa nav a{color:#334155;text-decoration:none;font-weight:600;font-size:15px}
.demo-testa nav a:hover{color:#1f6feb}
.demo-tema{padding-top:32px;padding-bottom:32px}
.demo-titolo-tema{font-size:clamp(28px,4vw,42px);margin:0 0 24px}
.demo-piede{padding:28px 0;background:#0f172a;color:#94a3b8;font-size:14px}
.demo-piede .demo-c{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.demo-piede a{color:#cbd5e1}
.demo-vuota{max-width:640px;margin:80px auto;padding:0 20px;text-align:center}
.demo-articolo{max-width:760px;margin:40px auto;padding:0 20px}
.demo-articolo img{border-radius:14px;margin:10px 0 18px}
.demo-data{color:#64748b;font-size:14px;margin:0}
/* prodotti d'esempio con lo stesso codice HTML di WooCommerce */
.woocommerce ul.products{display:grid;grid-template-columns:repeat(var(--demo-col,4),minmax(0,1fr));gap:24px;list-style:none;margin:0;padding:0}
.woocommerce.columns-2 ul.products{--demo-col:2}
.woocommerce.columns-3 ul.products{--demo-col:3}
.woocommerce.columns-5 ul.products{--demo-col:5}
.woocommerce.columns-6 ul.products{--demo-col:6}
.woocommerce ul.products li.product{position:relative;text-align:center}
.woocommerce ul.products li.product a{text-decoration:none;color:inherit}
.woocommerce ul.products li.product img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px;margin-bottom:10px}
.woocommerce-loop-product__title{font-size:16px;margin:0 0 4px;font-weight:600}
.woocommerce .price{display:block;color:#0f172a;font-weight:700;margin-bottom:10px}
.woocommerce .price del{color:#94a3b8;font-weight:400;margin-right:4px}
.woocommerce .price ins{text-decoration:none;color:#e11d48}
.woocommerce .onsale{position:absolute;top:10px;left:10px;z-index:2;padding:3px 10px;border-radius:999px;background:#e11d48;color:#fff;font-size:13px;font-weight:700}
.woocommerce ul.products li.product a.button,.woocommerce a.button{display:inline-block;padding:9px 16px;border-radius:8px;background:#0f172a;color:#fff;font-size:14px;font-weight:600}
.woocommerce ul.products li.product a.button:hover,.woocommerce a.button:hover{background:#1f6feb}
@media (max-width:900px){.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
