Descrizione
12LuglioDomenica
🎙️ XXV Congresso
🍴 Pranzo
.woocommerce-product-gallery__image a{pointer-events:none;cursor:default}
.woocommerce-product-gallery__trigger{display:none!important}
.woocommerce-tabs{display:none!important}
.woocommerce-product-details__short-description{display:none!important}
.woocommerce div.product p.price,.woocommerce div.product span.price{font-size:1.5rem!important;font-weight:800!important;color:var(–wp–preset–color–theme-palette1)!important;margin-bottom:.5rem!important;display:block!important}
.woocommerce div.product form.cart .variations{width:100%;border:none;border-collapse:separate;border-spacing:0 0.5rem;margin-bottom:.5rem}
.woocommerce div.product form.cart .variations tr{background:none}
.woocommerce div.product form.cart .variations th.label{font-size:.85rem;font-weight:700;color:#1a1a1a;padding:.3rem .5rem .3rem 0;white-space:nowrap;vertical-align:middle}
.woocommerce div.product form.cart .variations td.value{padding:0;vertical-align:middle}
.woocommerce div.product form.cart .variations select,.qty-select{appearance:none!important;-webkit-appearance:none!important;width:100%!important;border:1.5px solid #e0e0e0!important;border-radius:10px!important;padding:.5rem 2.2rem .5rem .9rem!important;font-size:.9rem!important;background:#fff url(“data:image/svg+xml,%3Csvg xmlns=’http://www.w3.org/2000/svg’ width=’12’ height=’8′ viewBox=’0 0 12 8’%3E%3Cpath d=’M1 1l5 5 5-5′ stroke=’%23999′ stroke-width=’1.5′ fill=’none’ stroke-linecap=’round’/%3E%3C/svg%3E”) no-repeat right .9rem center!important;cursor:pointer!important;box-sizing:border-box!important}
.woocommerce div.product .reset_variations{display:none!important}
.woocommerce div.product form.cart .quantity{display:none!important}
(function(){function init(){var COLOR=getComputedStyle(document.documentElement).getPropertyValue(‘–wp–preset–color–theme-palette1′).trim()||’#c0005a’;var evBlock=document.getElementById(‘ev-block’);var form=document.querySelector(‘form.cart’);if(evBlock&&form){form.parentNode.insertBefore(evBlock,form);evBlock.style.removeProperty(‘display’);}var evDays=document.querySelector(‘.ev-days’);if(evDays){evDays.style.setProperty(‘gap’,’0′,’important’);evDays.style.setProperty(‘margin’,’0′,’important’);evDays.style.setProperty(‘padding’,’0′,’important’);}document.querySelectorAll(‘.ev-day’).forEach(function(d,i,arr){d.style.setProperty(‘padding’,i===arr.length-1?’4px 0 0′:’4px 0′,’important’);d.style.setProperty(‘margin’,’0′,’important’);});document.querySelectorAll(‘.ev-divider’).forEach(function(d){d.style.setProperty(‘height’,’1px’,’important’);d.style.setProperty(‘margin’,’0′,’important’);d.style.setProperty(‘padding’,’0′,’important’);});var evWrap=document.querySelector(‘.ev-wrap’);if(evWrap)evWrap.style.setProperty(‘margin-bottom’,’0.4rem’,’important’);if(form)form.style.setProperty(‘margin-top’,’0′,’important’);function addQtySelect(){var fm=document.querySelector(‘form.cart’);if(!fm||fm.querySelector(‘.qty-row’))return;var vt=fm.querySelector(‘table.variations’);if(!vt)return;var sel=document.createElement(‘select’);sel.className=’qty-select’;for(var i=1;i<=10;i++){var o=document.createElement('option');o.value=i;o.textContent=i;sel.appendChild(o);}sel.addEventListener('change',function(){var qi=document.querySelector('form.cart input.qty');if(qi){qi.value=this.value;qi.dispatchEvent(new Event('change',{bubbles:true}));}});var row=document.createElement('div');row.className='qty-row';row.style.cssText='display:flex;align-items:center;gap:.5rem;margin:.25rem 0 .4rem';var lbl=document.createElement('div');lbl.style.cssText='font-size:.85rem;font-weight:700;color:#1a1a1a;white-space:nowrap';lbl.textContent='Quantità';var val=document.createElement('div');val.style.flex='1';val.appendChild(sel);row.appendChild(lbl);row.appendChild(val);vt.parentNode.insertBefore(row,vt.nextSibling);}function styleBtn(){document.querySelectorAll('.single_add_to_cart_button,form.cart button[type=submit]').forEach(function(btn){btn.style.cssText='background:'+COLOR+'!important;color:#fff!important;border:none!important;border-radius:50px!important;padding:0!important;height:52px!important;line-height:52px!important;text-align:center!important;font-size:.95rem!important;font-weight:700!important;letter-spacing:.04em!important;text-transform:uppercase!important;box-shadow:0 4px 14px rgba(0,0,0,.18)!important;width:100%!important;display:block!important;cursor:pointer!important;margin-top:.5rem!important;box-sizing:border-box!important';});}addQtySelect();styleBtn();setTimeout(addQtySelect,500);if(typeof jQuery!=='undefined'){jQuery(document).on('found_variation','form.cart',function(){setTimeout(addQtySelect,50);});}}if(document.readyState==='loading'){document.addEventListener('DOMContentLoaded',init);}else{init();}})();