/* AQVAM negozio — WooCommerce nello stile del sito (token di aqvam/sito.toml, come IC Referenze e i componenti del DSL).
   Caricato solo in negozio, prodotti, carrello, checkout e account. */
:root{
	--aq-scuro:#002038;--aq-accento:#0090d0;--aq-chiaro:#f7f2ea;--aq-medio:#efe3d1;--aq-testo:#3d4b5c;--aq-su-scuro:#dfe7ee;
	--aq-serif:'Playfair Display',Georgia,serif;--aq-sans:'Montserrat','Helvetica Neue',Arial,sans-serif;--aq-raggio:6px;
}
body.aq-negozio{font-family:var(--aq-sans);color:var(--aq-testo)}
.aq-negozio #content h1,.aq-negozio #content h2,.aq-negozio #content h3,.aq-negozio .product_title,.aq-negozio .woocommerce-loop-product__title{font-family:var(--aq-serif);color:var(--aq-scuro);font-weight:500;letter-spacing:0}

/* pulsanti WooCommerce = pulsanti del sito */
.aq-negozio .woocommerce a.button,.aq-negozio .woocommerce button.button,.aq-negozio .woocommerce input.button,.aq-negozio a.button,
.aq-negozio .woocommerce #respond input#submit,.aq-negozio .woocommerce a.button.alt,.aq-negozio .woocommerce button.button.alt,.aq-negozio #place_order{
	font-family:var(--aq-sans);font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;line-height:1.2;padding:14px 26px;
	border-radius:999px;border:1px solid var(--aq-accento);background:var(--aq-accento);color:#fff;transition:background-color .25s,border-color .25s,color .25s;text-shadow:none;box-shadow:none}
.aq-negozio .woocommerce a.button:hover,.aq-negozio .woocommerce button.button:hover,.aq-negozio a.button:hover,.aq-negozio #place_order:hover,
.aq-negozio .woocommerce a.button:focus-visible,.aq-negozio .woocommerce button.button:focus-visible{background:var(--aq-scuro);border-color:var(--aq-scuro);color:#fff}
body.aq-negozio .aq-richiesta a.button.aq-pulsante{display:inline-block;border:1px solid var(--aq-accento);background:var(--aq-accento);color:#fff}
body.aq-negozio .aq-richiesta a.button.aq-pulsante-contorno{background:transparent!important;color:var(--aq-scuro)!important;border:1px solid var(--aq-scuro)!important}
body.aq-negozio .aq-richiesta a.button.aq-pulsante-contorno:hover{background:var(--aq-scuro)!important;color:#fff!important}

/* prezzo e «prezzo su richiesta» */
.aq-negozio .price,.aq-negozio .woocommerce-Price-amount{color:var(--aq-scuro);font-weight:600}
.aq-negozio .woocommerce-price-suffix{font-size:.72em;font-weight:500;color:var(--aq-testo);margin-left:.3em}
.aq-prezzo-richiesta{display:inline-block;font-family:var(--aq-sans);font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--aq-accento)}
.aq-richiesta{margin:22px 0 26px;padding:24px 26px;background:var(--aq-chiaro);border-radius:var(--aq-raggio);border-left:3px solid var(--aq-accento)}
.aq-richiesta p{margin:0 0 12px}
.aq-richiesta-titolo{font-family:var(--aq-serif);font-size:24px;color:var(--aq-scuro)}
.aq-richiesta-pulsanti{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 0!important}

/* elenco prodotti: griglia ordinata, schede della stessa altezza, pulsante allineato in basso (come le referenze) */
body.aq-negozio ul.products.loops-wrapper{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px;height:auto!important;margin:0 0 40px}
body.aq-negozio ul.products.loops-wrapper:before,body.aq-negozio ul.products.loops-wrapper:after{content:none!important;display:none!important}   /* clearfix di Themify: nella griglia occuperebbe una cella */
body.aq-negozio ul.products.loops-wrapper>.gutter-sizer,body.aq-negozio ul.products.loops-wrapper>.grid-sizer{display:none!important}   /* elementi di servizio del masonry di Themify */
body.aq-negozio ul.products.loops-wrapper>li.product{position:relative!important;top:auto!important;left:auto!important;transform:none;width:auto!important;margin:0!important;float:none!important;
	display:flex;flex-direction:column;background:#fff;border-radius:var(--aq-raggio);overflow:hidden;text-align:left;padding:0!important;
	box-shadow:0 1px 0 rgba(0,32,56,.06),0 12px 32px rgba(0,32,56,.07);transition:transform .45s cubic-bezier(.22,.61,.36,1),box-shadow .45s}
body.aq-negozio ul.products.loops-wrapper>li.product:hover{transform:translateY(-4px);box-shadow:0 1px 0 rgba(0,32,56,.06),0 22px 44px rgba(0,32,56,.13)}
body.aq-negozio ul.products li.product .product-image{margin:0;background:#fff}
body.aq-negozio ul.products li.product .product-image img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;padding:18px;background:#fff}
body.aq-negozio ul.products li.product .product-content{flex:1;display:flex;flex-direction:column;padding:6px 24px 24px}
body.aq-negozio ul.products li.product .woocommerce-loop-product__title{font-size:21px!important;line-height:1.3!important;margin:0 0 10px!important;padding:0!important;min-height:2.6em}
body.aq-negozio ul.products li.product .woocommerce-loop-product__title a{color:var(--aq-scuro)}
body.aq-negozio ul.products li.product .price{display:block;margin:0 0 18px;padding:0}
body.aq-negozio ul.products li.product .button{margin:auto 0 0!important;align-self:flex-start}
body.aq-negozio ul.products li.product .edit-button{z-index:2}
@media (max-width:1024px){body.aq-negozio ul.products.loops-wrapper{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}}
@media (max-width:680px){body.aq-negozio ul.products.loops-wrapper{grid-template-columns:minmax(0,1fr)}}

/* scheda prodotto */
.aq-negozio div.product .woocommerce-product-gallery img{background:#fff;border-radius:var(--aq-raggio)}
body.aq-negozio div.product .product_title.entry-title{font-size:44px;line-height:1.15;margin:0 0 14px}
.aq-negozio div.product .woocommerce-product-details__short-description{font-size:17px;line-height:1.7}
.aq-negozio .woocommerce-tabs .shop_attributes th{font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--aq-scuro)}
.aq-negozio .woocommerce-tabs .shop_attributes td p{margin:0}

/* carrello e checkout */
.aq-negozio table.shop_table{border-radius:var(--aq-raggio)}
.aq-consegna th,.aq-consegna td{color:var(--aq-scuro)}
.aq-consegna td{font-weight:500}
.aq-avviso-consegna{padding:14px 18px;background:var(--aq-chiaro);border-left:3px solid var(--aq-accento);border-radius:var(--aq-raggio);color:var(--aq-scuro)}
.aq-negozio .woocommerce form .form-row label{font-size:13px;font-weight:600;color:var(--aq-scuro)}
.aq-negozio .woocommerce form .form-row input.input-text,.aq-negozio .woocommerce form .form-row textarea,.aq-negozio .woocommerce form .form-row select{
	font-size:16px;padding:12px 14px;border:1px solid rgba(0,32,56,.2);border-radius:4px;background:#fff}   /* ≥16px: niente zoom su iPhone */
.aq-negozio .woocommerce form .form-row input.input-text:focus{border-color:var(--aq-accento);outline:2px solid rgba(0,144,208,.2)}
/* scelta privato/azienda: ogni pulsante accanto alla sua etichetta */
.aq-tipo-cliente .woocommerce-input-wrapper{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px 10px;margin-top:4px}
.aq-tipo-cliente input[type=radio]{margin:0}
.aq-tipo-cliente label.radio{display:block!important;font-weight:500!important;font-size:15px!important;margin:0!important;padding:0!important;cursor:pointer}
.aq-dati-fattura{margin-top:30px}
.aq-negozio .cart_totals table th{width:32%}
.aq-negozio .cart_totals .order-total td,.aq-negozio .woocommerce-checkout-review-order-table .order-total td{white-space:normal}
.aq-negozio .includes_tax{display:block;white-space:nowrap;font-size:13px;font-weight:400}
.aq-negozio .aq-obbligatorio{color:#b32d2e;text-decoration:none;border:0;font-weight:600}
.aq-negozio .aq-uno-dei-due{font-weight:400;color:var(--aq-testo)}
.aq-nota{font-size:13px;color:var(--aq-testo)}
@media (max-width:680px){
	body.aq-negozio div.product .product_title.entry-title{font-size:32px}
}
