/*
Theme Name: PlusLab
Template: twentytwentyfive
Description: Laboratorio PlusLabel — design B2B sperimentale sugli stessi prodotti. Modificabile da Aspetto > Editor.
Version: 1.0.0
Text Domain: pluslab
*/
.pl-hp { position: absolute; left: -9999px; }
/* Prezzi B2B */
.pl-exvat { display: block; font-size: .8em; font-weight: 400; color: var(--wp--preset--color--accent-4); margin-top: .15em; }
.pl-quote { display: inline-flex !important; margin-top: 1rem; background: transparent !important; color: var(--wp--preset--color--accent-3) !important; box-shadow: inset 0 0 0 2px currentColor; }
.pl-quote:hover { background: var(--wp--preset--color--accent-3) !important; color: #fff !important; }
.pl-quote-note { font-size: .85rem; color: var(--wp--preset--color--accent-4); margin: .6rem 0 0; }
/* Testata scura */
.pl-header a, .pl-header .wp-block-navigation-item__content { color: #fff; }
.pl-header .wc-block-mini-cart__button, .pl-header .wc-block-customer-account a { color: #fff !important; }
.pl-header .custom-logo { max-height: 46px; width: auto; }
/* Griglie prodotti classiche (shortcode) */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin: 0 !important; }
@media (min-width: 782px) { .woocommerce ul.products { grid-template-columns: repeat(4, 1fr); } }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; background: #fff; border-radius: 14px; padding: 1rem !important; box-shadow: 0 1px 2px rgba(20,22,31,.06), 0 8px 24px rgba(20,22,31,.06); transition: transform .15s ease, box-shadow .15s ease; }
.woocommerce ul.products li.product:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(20,22,31,.08), 0 14px 32px rgba(20,22,31,.10); }
.woocommerce ul.products li.product a img { aspect-ratio: 1/1; object-fit: contain; margin-bottom: 1rem !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: .95rem !important; font-weight: 600; line-height: 1.35; color: var(--wp--preset--color--contrast); }
.woocommerce ul.products li.product .price { color: var(--wp--preset--color--contrast) !important; font-weight: 700; font-size: 1.05rem !important; }
.woocommerce ul.products li.product .button { display: none !important; }
/* Tessere categoria */
.pl-tile { border-radius: 14px; transition: transform .15s ease; height: 100%; }
.pl-tile:hover { transform: translateY(-3px); }
.pl-tile a { text-decoration: none; color: inherit; }
.pl-tile a::after { content: " →"; }
/* Modulo contatti */
.pl-contact__row { display: grid; gap: 1rem; }
@media (min-width: 700px) { .pl-contact__row { grid-template-columns: 1fr 1fr; } }
.pl-field { position: relative; margin-bottom: 1rem; }
.pl-field input, .pl-field textarea { width: 100%; font: inherit; padding: 1.4rem .9rem .5rem; border: 1px solid #c9ccd6; border-radius: 10px; background: #fff; box-sizing: border-box; }
.pl-field label { position: absolute; left: .9rem; top: .95rem; color: #6b7280; pointer-events: none; transition: all .1s; }
.pl-field input:focus + label, .pl-field input:not(:placeholder-shown) + label, .pl-field textarea:focus + label, .pl-field textarea:not(:placeholder-shown) + label { top: .35rem; font-size: .72rem; }
.pl-notice { padding: .8rem 1rem; border-radius: 10px; background: var(--wp--preset--color--accent-5); }
.pl-header .wp-block-search__button { background: transparent !important; color: #fff !important; padding: .5rem !important; border: 0 !important; box-shadow: none !important; }
.pl-header .wp-block-search__button svg { fill: currentColor; width: 24px; height: 24px; }
.pl-header .wp-block-search__inside-wrapper { border: 0 !important; }
.pl-header .wp-block-search.wp-block-search__searchfield-hidden .wp-block-search__input { border-radius: 8px; }
