/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Child theme for GeneratePress
 Author:       Mauro
 Template:     generatepress
 Version:      1.0
*/

/* ---------- Font stack ---------- */
:root{
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* ---------- Colors (brand-agnostic) ---------- */
  --bg: #ffffff;
  --surface: #f8fafc;
  --text: #111827;
  --muted: #4b5563;
  --border: #e5e7eb;

  /* Accent temporaneo (cambiabile con logo) */
  --accent: #0f766e;
  --accent-hover: #115e59;

  /* ---------- UI ---------- */
  --radius: 14px;
  --shadow-soft: 0 10px 30px rgba(0,0,0,.06);
}

/* ---------- Base ---------- */
html{ font-size:16px; }

body{
  font-family: var(--font-sans);
  font-size: 1.04rem; /* 17px: ideale ecommerce */
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Text ---------- */
p{ margin: 0 0 1em; }
small,
.has-small-font-size{
  font-size:.875rem;
  color:var(--muted);
}

/* ---------- Links ---------- */
a{
  color:var(--accent);
  text-underline-offset:.18em;
  text-decoration-thickness:.08em;
}
a:hover{ color:var(--accent-hover); }

/* ---------- Headings ---------- */
h1,h2,h3,h4{
  line-height:1.15;
  margin:0 0 .6em;
}

h1{
  font-size:clamp(1.8rem, 3.6vw, 2.45rem);
  font-weight:700;
}

h2{
  font-size:clamp(1.4rem, 2.7vw, 1.95rem);
  font-weight:700;
}

h3{
  font-size:clamp(1.15rem, 1.9vw, 1.45rem);
  font-weight:600;
}

h4{
  font-size:1.05rem;
  font-weight:600;
}

/* ---------- Lists & separators ---------- */
ul,ol{ margin:0 0 1em 1.2em; }
hr{
  border:0;
  border-top:1px solid var(--border);
  margin:2rem 0;
}

/* =========================================================
   HEADER & NAV (CSS ONLY – no header.php)
   ========================================================= */
.site-header{
  background:#fff;
  border-bottom:1px solid var(--border);
}
.inside-header{
  padding:16px 0;
}

/* ==================================================
   LOGO HEADER – SVG (override tema)
   ================================================== */

.site-header .site-logo a .header-image.is-logo-image,
.site-header .site-logo img.header-image {
  width: auto !important;      /* ignora width:50px inline */
  height: 72px !important;     /* desktop */
  max-height: none !important; /* ignora max-height:48px */
  max-width: none !important;
}

@media (max-width: 768px) {
  .site-header .site-logo a .header-image.is-logo-image,
  .site-header .site-logo img.header-image {
    height: 70px !important;   /* mobile */
  }
}
@media (max-width: 768px) {
  .site-header .header-widget {
    margin-top: 1.3em;  }
}

.main-navigation a{
  font-size:1.25rem;
  line-height:3.35rem !important;
}
.main-navigation a:hover{
  color:var(--accent);
}

@media (max-width: 768px) {
  body.single-product #content,
  body.single-product .site-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}


/* =========================================================
   FORMS & BUTTONS (Woo + UX)
   ========================================================= */
button,
input[type="button"],
input[type="submit"],
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button{
  border-radius:999px;
  padding:.75em 1.15em;
  font-weight:600;
  letter-spacing:-0.01em;
}

/* Primary buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wp-block-button__link{
  background:var(--text);
  color:#fff;
  border:1px solid var(--text);
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.wp-block-button__link:hover{
  background:#0b1220;
  border-color:#0b1220;
}

/* Inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="password"],
textarea,
select,
.woocommerce input.input-text,
.woocommerce textarea{
  border-radius:12px;
  border:1px solid var(--border);
  padding:.5em .7em;
}

/* Focus accessibile */
:focus-visible{
  outline:3px solid rgba(15,118,110,.35);
  outline-offset:2px;
}

/* =========================================================
   PRODUCT CARDS (minimal, Amazon logic – premium look)
   ========================================================= */
.woocommerce ul.products li.product{
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:14px;
  background:#fff;
  transition:transform .15s ease, box-shadow .15s ease;
}
.woocommerce ul.products li.product:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-soft);
}

.woocommerce ul.products li.product h2{
  font-size:1rem;
  font-weight:600;
  margin:.6em 0;
}

.woocommerce ul.products li.product .price{
  font-size:1.05rem;
  font-weight:700;
  color:var(--text);
}

.woocommerce-breadcrumb {
    display: none !important;
}
.reset_variations {
    display: none !important;
}

/* Forza la label variatie su una riga (WC usa TH) */
.woocommerce div.product form.cart .variations th.label label {
  white-space: nowrap;
  display: inline-block;
  font-weight: 700;
}

/* Evita che il TH si restringa e mandi (cm) a capo */
.woocommerce div.product form.cart .variations th.label {
  width: 180px;
  white-space: nowrap;
  vertical-align: middle;
}

/* Rende il select variatie piu compatto */
.woocommerce div.product form.cart .variations select {
  width: 150px;
  padding: 7px 12px;
}
/* Allinea la label variatie a sinistra come il resto */
.woocommerce div.product form.cart .variations th.label {
  padding-left: 0;
  text-align: left;
}

/* Arata descrierea scurta in card shop */
.woocommerce ul.products li.product .woocommerce-product-details__short-description {
  display: block;
  font-size: 14px;
  color: #444;
  margin: 8px 0 12px;
  line-height: 1.35;
}

/* =========================================
   SINE-PRET Footer + Sub-footer (GP free)
========================================= */

/* 0) Remove GeneratePress credits (keep only your custom footer-bar content) */
footer.site-info .copyright-bar,
.site-info a[href*="generatepress.com"],
.site-info .site-info-text {
  display: none !important;
}

/* -----------------------------------------
   1) FOOTER (widgets area)
------------------------------------------ */
.site-footer,
.site-footer .inside-footer-widgets {
  background: #191A1C !important;
  margin-top:50px;
}

.site-footer {
  padding: 40px 0 !important; /* compact, no white space */
}

/* container width similar to Altex */
.site-footer .inside-footer-widgets {
  max-width: 1200px;
  margin: 0 auto !important;
  padding: 0 40px;
}

/* columns cleanup */
.footer-widgets .widget {
  margin-bottom: 0 !important;
}

/* titles */
.sp-footer-title,
.footer-widgets .widget-title {
  color: #61636A !important;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 14px 0;
}

/* yellow underline */
.sp-footer-line {
  display: block;
  width: 26px;
  height: 2px;
  background: #FBB03B;
  margin: 0 0 18px 0;
}

/* lists */
.sp-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sp-footer-col ul li {
  margin: 10px 0;
  line-height: 1.55;
  font-size: 14.5px;
  color: #ffffff;
}

/* links white + hover yellow */
.site-footer a,
.sp-footer-col a {
  color: #ffffff !important;
  text-decoration: none;
  opacity: .92;
}

.site-footer a:hover,
.sp-footer-col a:hover,
.sp-footer-contact a:hover {
  color: #FBB03B !important;
  opacity: 1;
  text-decoration: none;
}

/* contact icons (Font Awesome) */
.sp-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
}

.sp-footer-contact .sp-ico {
  color: #FBB03B !important;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 3px;
}

/* -----------------------------------------
   2) SUB-FOOTER (site-info bar)
   DOM: footer.site-info > .inside-site-info.grid-container > .footer-bar
------------------------------------------ */
footer.site-info {
  background: #333333 !important;
  padding: 13px 0 6px 0!important;
  margin-top: 0 !important;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* container */
footer.site-info .inside-site-info.grid-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* make footer-bar full width */
footer.site-info .footer-bar {
  width: 100%;
}

/* your custom HTML layout */
.sp-subfooter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.sp-subfooter__text {
  color: #61636A;
  font-size: 13.5px;
  line-height: 1.5;
}

.sp-subfooter__text strong {
  font-weight: 700;
  color: #ffffff;
}

.sp-subfooter__text a {
  color: #ffffff !important;
  opacity: .9;
}

.sp-subfooter__text a:hover {
  color: #FBB03B !important;
  opacity: 1;
}

/* ANPC area */
.sp-subfooter__anpc {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.sp-subfooter__anpc img {
  height: 44px;   /* adjust 34–50 if you want */
  width: auto;
  display: block;
}

/* -----------------------------------------
   3) Responsive
------------------------------------------ */
@media (max-width: 900px) {
  .site-footer .inside-footer-widgets,
  footer.site-info .inside-site-info.grid-container {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .site-footer { padding: 32px 0 !important; }

  .sp-subfooter {
    flex-direction: column;
    align-items: flex-start;
  }

  .sp-subfooter__anpc {
    justify-content: flex-start;
  }

  .sp-subfooter__anpc img {
    height: 40px;
  }
}
/* ===== FIX GENERATEPRESS (SEMPRE IN FONDO) ===== */
.site-footer,
#footer-widgets,
.footer-widgets-container,
.inside-footer-widgets {
  background-color: #191A1C !important;
}

#footer-widgets,
.footer-widgets-container,
.inside-footer-widgets {
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 20px !important;
}
.woocommerce-product-attributes-item--dimensions {
  display: none;
}

/* =========================================
   WooCommerce – Informatii suplimentare (tuning)
   ========================================= */

/* tabella */
.woocommerce table.woocommerce-product-attributes{
  width: 100%;
  border-collapse: collapse;
}

/* celle: allineamento e spazi */
.woocommerce table.woocommerce-product-attributes th,
.woocommerce table.woocommerce-product-attributes td{
  text-align: left;
  padding: 10px 18px;
  vertical-align: middle;      /* centro verticale */
  border: 0;                  
}
.woocommerce table.woocommerce-product-attributes td{
  box-shadow: inset 4px 0 0 #fff;
}

/* colonna label */
.woocommerce table.woocommerce-product-attributes th{
  font-weight: 600;
  padding-right: 21px;      
}

/* colonna valori */
.woocommerce table.woocommerce-product-attributes td{
  padding-left: 18px;          /* invariato */
}

/* compatta un filo su desktop */
@media (min-width: 769px){
  .woocommerce table.woocommerce-product-attributes th,
  .woocommerce table.woocommerce-product-attributes td{
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

/* =========================
   SINGLE PRODUCT – fine tuning
   ========================= */

/* Titolo prodotto */
.single-product .product_title{
  font-size: 30px;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 10px;
}

/* Piu spazio verticale tra prezzo (/buc) e area Add to cart */
.single-product .summary .price{
  margin-top: 6px;
  margin-bottom: 22px;
  line-height: 1.2;
}

/* Meno spazio sopra/sotto "Inaltime buzunar" */
.single-product .variations{
  margin-top: 8px;
  margin-bottom: 8px;
}
.single-product .variations tr{
  margin-bottom: 6px;
}

/* Ulteriore aria tra prezzo e CTA (cantitate + buton) */
.single-product .single_variation_wrap{
  margin-top: 22px;
}

/* Selettore quantita: leggermente piu largo + padding destro 15px */
.single-product .quantity input.qty{
  width: 95px;
  padding-right: 15px;
	margin-top:5px
}

/* Un filo di spazio tra quantita e bottone */
.single-product .quantity{
  margin-right: 10px;
}

/* =========================
   Bottone "Adauga in cos"
   ========================= */
.single-product .single_add_to_cart_button,
.single-product button.single_add_to_cart_button{
  display: inline-flex;            /* allineamento icona + testo */
  align-items: center;
  gap: 15px;                       /* spazio tra icona e testo */

  background: #F7931E !important;
  border: 3px solid #FBB03B !important;
  color: #fff !important;
  font-weight: 700;

  padding: 14px 23px;
  margin-left: 12px;

  box-shadow: none;
  outline: none;
}

/* =========================
   Icona carrello nuova (FA 6)
   ========================= */
.single-product .single_add_to_cart_button::before{
  content: "";
  width: 24px;
  height: 24px;

  background-color: #fff;

  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath d='M24-16C10.7-16 0-5.3 0 8S10.7 32 24 32l45.3 0c3.9 0 7.2 2.8 7.9 6.6l52.1 286.3c6.2 34.2 36 59.1 70.8 59.1L456 384c13.3 0 24-10.7 24-24s-10.7-24-24-24l-255.9 0c-11.6 0-21.5-8.3-23.6-19.7l-5.1-28.3 303.6 0c30.8 0 57.2-21.9 62.9-52.2L568.9 69.9C572.6 50.2 557.5 32 537.4 32l-412.7 0-.4-2c-4.8-26.6-28-46-55.1-46L24-16zM208 512a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm224 0a48 48 0 1 0 0-96 48 48 0 1 0 0 96z'/%3E%3C/svg%3E") no-repeat center / contain;

  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath d='M24-16C10.7-16 0-5.3 0 8S10.7 32 24 32l45.3 0c3.9 0 7.2 2.8 7.9 6.6l52.1 286.3c6.2 34.2 36 59.1 70.8 59.1L456 384c13.3 0 24-10.7 24-24s-10.7-24-24-24l-255.9 0c-11.6 0-21.5-8.3-23.6-19.7l-5.1-28.3 303.6 0c30.8 0 57.2-21.9 62.9-52.2L568.9 69.9C572.6 50.2 557.5 32 537.4 32l-412.7 0-.4-2c-4.8-26.6-28-46-55.1-46L24-16zM208 512a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm224 0a48 48 0 1 0 0-96 48 48 0 1 0 0 96z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* =========================
   WooCommerce – Prezzi globali
   ========================= */

/* Prezzi standard */
.woocommerce .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price,
.woocommerce-page .price{
  color: #F7931E !important;
}

/* Prezzo variabile (range) */
.woocommerce div.product .price del,
.woocommerce div.product .price ins{
  color: #F7931E !important;
}

/* Prezzi in carrello e checkout */
.woocommerce-cart .cart_item .amount,
.woocommerce-checkout .amount{
  color: #F7931E !important;
}

/* Prezzi mini-cart */
.woocommerce-mini-cart .amount{
  color: #F7931E !important;
}


.single-product .single_add_to_cart_button:hover,
.single-product button.single_add_to_cart_button:hover{
  filter: brightness(0.95);
}

/* SKU su una riga, Categoria sotto */
.single-product .product_meta{
  margin-top: 18px;
  line-height: 1.25;
}
.single-product .product_meta .sku_wrapper{
  display: block;
  margin-left: 8px;
}
.single-product .product_meta .posted_in{
  display: block;
}

/* ================================
   MENU: testo bold + SVG solid icons (uniform)
   ================================ */

/* Link menu: bold + allineamento perfetto */
.main-navigation .menu > li > a{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

/* Icona base (mai mare) */
.main-navigation .menu > li > a:before{
  content: "";
  width: 30px;
  height: 30px;
  display: inline-block;
  background-color: currentColor;
  transform: translateY(-1px); /* micro-centrare vizuala */
}

.menu-acasa > a:before{
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M277.8 8.6c-12.3-11.4-31.3-11.4-43.5 0l-224 208c-9.6 9-12.8 22.9-8 35.1S18.8 272 32 272l16 0 0 176c0 35.3 28.7 64 64 64l288 0c35.3 0 64-28.7 64-64l0-176 16 0c13.2 0 25-8.1 29.8-20.3s1.6-26.2-8-35.1l-224-208zM240 320l32 0c26.5 0 48 21.5 48 48l0 96-128 0 0-96c0-26.5 21.5-48 48-48z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M277.8 8.6c-12.3-11.4-31.3-11.4-43.5 0l-224 208c-9.6 9-12.8 22.9-8 35.1S18.8 272 32 272l16 0 0 176c0 35.3 28.7 64 64 64l288 0c35.3 0 64-28.7 64-64l0-176 16 0c13.2 0 25-8.1 29.8-20.3s1.6-26.2-8-35.1l-224-208zM240 320l32 0c26.5 0 48 21.5 48 48l0 96-128 0 0-96c0-26.5 21.5-48 48-48z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.menu-produse > a:before{
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M401.2 39.1L549.4 189.4c27.7 28.1 27.7 73.1 0 101.2L393 448.9c-9.3 9.4-24.5 9.5-33.9 .2s-9.5-24.5-.2-33.9L515.3 256.8c9.2-9.3 9.2-24.4 0-33.7L367 72.9c-9.3-9.4-9.2-24.6 .2-33.9s24.6-9.2 33.9 .2zM32.1 229.5L32.1 96c0-35.3 28.7-64 64-64l133.5 0c17 0 33.3 6.7 45.3 18.7l144 144c25 25 25 65.5 0 90.5L285.4 418.7c-25 25-65.5 25-90.5 0l-144-144c-12-12-18.7-28.3-18.7-45.3zm144-85.5a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M401.2 39.1L549.4 189.4c27.7 28.1 27.7 73.1 0 101.2L393 448.9c-9.3 9.4-24.5 9.5-33.9 .2s-9.5-24.5-.2-33.9L515.3 256.8c9.2-9.3 9.2-24.4 0-33.7L367 72.9c-9.3-9.4-9.2-24.6 .2-33.9s24.6-9.2 33.9 .2zM32.1 229.5L32.1 96c0-35.3 28.7-64 64-64l133.5 0c17 0 33.3 6.7 45.3 18.7l144 144c25 25 25 65.5 0 90.5L285.4 418.7c-25 25-65.5 25-90.5 0l-144-144c-12-12-18.7-28.3-18.7-45.3zm144-85.5a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.menu-cos > a:before{
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath d='M24-16C10.7-16 0-5.3 0 8S10.7 32 24 32l45.3 0c3.9 0 7.2 2.8 7.9 6.6l52.1 286.3c6.2 34.2 36 59.1 70.8 59.1L456 384c13.3 0 24-10.7 24-24s-10.7-24-24-24l-255.9 0c-11.6 0-21.5-8.3-23.6-19.7l-5.1-28.3 303.6 0c30.8 0 57.2-21.9 62.9-52.2L568.9 69.9C572.6 50.2 557.5 32 537.4 32l-412.7 0-.4-2c-4.8-26.6-28-46-55.1-46L24-16zM208 512a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm224 0a48 48 0 1 0 0-96 48 48 0 1 0 0 96z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath d='M24-16C10.7-16 0-5.3 0 8S10.7 32 24 32l45.3 0c3.9 0 7.2 2.8 7.9 6.6l52.1 286.3c6.2 34.2 36 59.1 70.8 59.1L456 384c13.3 0 24-10.7 24-24s-10.7-24-24-24l-255.9 0c-11.6 0-21.5-8.3-23.6-19.7l-5.1-28.3 303.6 0c30.8 0 57.2-21.9 62.9-52.2L568.9 69.9C572.6 50.2 557.5 32 537.4 32l-412.7 0-.4-2c-4.8-26.6-28-46-55.1-46L24-16zM208 512a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm224 0a48 48 0 1 0 0-96 48 48 0 1 0 0 96z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* HOME: riduci solo l'icona */
.main-navigation .menu > li.menu-acasa > a:before{
  width: 24px !important;
  height: 24px !important;
}

/* ================================
   Contact bar sotto header
   ================================ */

.sp-contactbar{
  background:#191A1C;
  border-bottom:3px solid #FBB03B;
}

.sp-contactbar__inner{
  max-width:1200px;
  margin:0 auto;
  padding:15px 20px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:65px;
}

/* link generici: testo bianco, tutto bold */
.sp-contactbar__item{
  color:#fff;                 /* TESTO BIANCO */
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:15px;
  font-weight:700;            /* TUTTO BOLD */
  line-height:1;
}

/* icone gialle */
.sp-contactbar__item i{
  color:#FBB03B;              /* ICONE GIALLE */
  font-size:24px;             /* ICONE PIU GRANDI */
}

/* hover: testo giallo */
.sp-contactbar__item:hover{
  color:#FBB03B;
}

/* hover: icone bianche */
.sp-contactbar__item:hover i{
  color:#fff;
}
/* ==================================================
   CONTACT BAR (sotto header) – testo SEMPRE visibile
   focus / active / visited SOLO dentro .sp-contactbar
   ================================================== */
.sp-contactbar .sp-contactbar__item span{
  color:#fff !important;
  opacity:1 !important;
}

.sp-contactbar .sp-contactbar__item:hover span{
  color:#FBB03B !important;
}

.sp-contactbar .sp-contactbar__item:focus span,
.sp-contactbar .sp-contactbar__item:active span,
.sp-contactbar .sp-contactbar__item:visited span{
  color:#fff !important;
  opacity:1 !important;
}

.sp-contactbar .sp-contactbar__item:focus,
.sp-contactbar .sp-contactbar__item:active,
.sp-contactbar .sp-contactbar__item:visited{
  outline:none !important;
  box-shadow:none !important;
  text-decoration:none !important;
}



/* ================================
   MOBILE: una riga, SOLO telefono con testo
   email + whatsapp = solo icona (blindato)
   ================================ */
@media (max-width:768px){

  .sp-contactbar__inner{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:44px;
    padding:14px 12px;
    flex-wrap:nowrap;
    white-space:nowrap;
    overflow:hidden;
  }

  /* tutti gli item compatti */
  .sp-contactbar__item{
    flex:0 0 auto;
  }

  /* ...ma ripristina dimensione per icone */
  .sp-contactbar__item i{
    font-size:27px;
  }

  /* TELEFONO: mantiene testo visibile */
  .sp-contactbar__phone{
    font-size:21px;            /* ripristina testo */
  }

  .sp-contactbar__phone i{
    font-size:26px;
  }
}

/* Nasconde H2 duplicato "Descriere" */
.woocommerce-Tabs-panel--description > h2 {
    display: none;
}
.woocommerce-Tabs-panel--additional_information > h2 {
    display: none;
}
.related.products {
  margin-top:50px;
}

.single-product .product_meta span.posted_in {
    display: none !important;
}
.single-product .woocommerce-variation-price:not(:empty) {
    margin-bottom: 14px;
}

/* 4px di spazio tra le thumbnail */
.single-product .flex-control-thumbs{
  display: flex;
  flex-wrap: wrap;
  gap: 5px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.single-product .flex-control-thumbs {
    margin-top: 5px !important;
}

/* ======================================
   WooCommerce notice button "Vezi cosul"
   Selettore reale: .woocommerce-message a.button.wc-forward
   Desktop: non centrato (margine-left)
   Mobile: centrato + piu in basso
   Con icona carrello
   ====================================== */

/* ===== DESKTOP (default) ===== */
.woocommerce-message a.button.wc-forward {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #8fae1b !important;
  color: #fff !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 999px !important;
  margin-left: 10px; /* desktop: come prima */
  box-shadow: none !important;
  outline: none !important;
  text-decoration: none !important;
}

/* ===== ICONA CARRELLO A SINISTRA ===== */
.woocommerce-message a.button.wc-forward::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background-color: #fff;

  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h2l2.4 10.2A2 2 0 0 0 9.4 15H18a2 2 0 0 0 1.9-1.4L22 6H6.1L5.6 4H3zm6 18a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm8 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h2l2.4 10.2A2 2 0 0 0 9.4 15H18a2 2 0 0 0 1.9-1.4L22 6H6.1L5.6 4H3zm6 18a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm8 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ===== MOBILE: centrato + piu in basso ===== */
@media (max-width: 768px) {
  .woocommerce-message {
    text-align: left;
  }

  .woocommerce-message a.button.wc-forward {
    margin-left: 0 !important;   /* annulla desktop */
    margin-top: 20px !important; /* piu in basso */
  }
}

}
/* =========================
   Woo message: icona check piu grande
   ========================= */
.woocommerce-message::before{
  font-size: 22px !important;   /* dimensione icona */
  width: 22px;
  height: 22px;
  line-height: 22px; margin-right:15px;
}
.woocommerce-message::before{
  left: 18px;        /* default ~12px */
}

.ro-flag{
  font-weight: 600;
  background: linear-gradient(
    90deg,
    #002B7F 0%,
    #002B7F 33%,
    #FCD116 33%,
    #FCD116 66%,
    #CE1126 66%,
    #CE1126 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========================================================
   COMENZI PERSONALIZATE – BLOCCO COMPLETO
   ========================================================= */

/* CONTENITORE */
.sp-custom-orders{
  margin-top: 32px;
  padding: 22px 24px;
  background: #f6f5f8;
  border-left: 6px solid #8fae1b;
  border-radius: 15px;
}

/* =========================================================
   TITOLO
   ========================================================= */

.sp-custom-orders__title{
  display:flex;
  align-items:center;
  gap:17px;
  font-size:1.35rem;
  font-weight:700;
  margin:0 0 12px;
  color:#8fae1b;
  line-height:1.2;
}


/* =========================================================
   FORBICE + PUNTINI
   ========================================================= */

.sp-cut-icon{
  display:flex;
  align-items:center;
  gap:4px;
}

/* forbice */
.sp-cut-icon i{
  color:#8fae1b;
  font-size:1.28em;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}

/* puntini */
.sp-cut-dots{
  position:relative;
  width:6px;
  height:6px;
  background:#8fae1b;
  border-radius:50%;
  margin-left:10px;
}

/* altri 2 puntini */
.sp-cut-dots::before,
.sp-cut-dots::after{
  content:"";
  position:absolute;
  top:0;
  width:6px;
  height:6px;
  background:#8fae1b;
  border-radius:50%;
}

.sp-cut-dots::before{
  left:-11px;
}

.sp-cut-dots::after{
  left:11px;
}


/* =========================================================
   TESTO
   ========================================================= */

.sp-custom-orders__text{
  font-weight:700;
  margin:0 0 18px;
}
/* =========================================================
   CONTATTI
   ========================================================= */

.sp-custom-orders__contacts{
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
}

/* link base */
.sp-custom-orders__contacts a{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #8fae1b !important;
  font-weight: 700;
  text-decoration: none !important;
  opacity: 1 !important;
 font-size: 1.05rem;
}

/* icone */
.sp-custom-orders__contacts i{
  font-size: 1.4em;
  color: #8fae1b !important;
}

/* WhatsApp un po piu grande desktop */
.sp-custom-orders__contacts a.sp-contactbar__whatsapp i{
  font-size: 1.3em;
}

/* hover neutro */
.sp-custom-orders__contacts a:hover{
  color: #8fae1b !important;
}

/* =========================================================
   MOBILE – FIX DEFINITIVO
   ========================================================= */

@media (max-width: 768px){

  .sp-custom-orders{
    padding: 17px;
  }

  .sp-custom-orders__title{
    font-size: 1.2rem;
  }

  .sp-custom-orders__contacts{
    gap: 17px;
  }

  /* ICONE PIU GRANDI SU MOBILE */
  .sp-custom-orders__contacts a.sp-contactbar__email i,
  .sp-custom-orders__contacts a.sp-contactbar__whatsapp i{
    font-size: 1.4em;
    display: inline-block !important;
  }
}
/* ================================
   MOBILE – contact bar + box
   Nasconde SOLO testo email + WhatsApp
   ================================ */
@media (max-width:768px){

  /* --- CONTACT BAR (in alto) --- */

  /* telefono: icona + testo */
  .sp-contactbar__phone span{
    display:inline !important;
  }

  /* email + whatsapp: nasconde SOLO testo */
  .sp-contactbar a[href^="mailto:"] span,
  .sp-contactbar a[href*="wa.me"] span,
  .sp-contactbar a[href*="whatsapp"] span{
    display:none !important;
  }

  /* icone email + whatsapp piu grandi */
  .sp-contactbar a[href^="mailto:"] i,
  .sp-contactbar a[href*="wa.me"] i,
  .sp-contactbar a[href*="whatsapp"] i{
    font-size:32px !important;
  }


  /* --- COMENZI PERSONALIZATE BOX --- */

  /* telefono: resta completo */
  .sp-custom-orders .sp-contactbar__phone span{
    display:inline !important;
  }

  /* email + whatsapp: solo icone */
  .sp-custom-orders a[href^="mailto:"] span,
  .sp-custom-orders a[href*="wa.me"] span{
    display:none !important;
  }

  /* icone piu grandi nel box */
  .sp-custom-orders a[href^="mailto:"] i,
  .sp-custom-orders a[href*="wa.me"] i{
    font-size:30px !important;
    line-height:1 !important;
  }
}
/* ==================================================
   COMENZI PERSONALIZATE – contatti VERDI (isolati)
   ================================================== */
.sp-custom-orders .sp-contactbar__item,
.sp-custom-orders .sp-contactbar__item span,
.sp-custom-orders .sp-contactbar__item i{
  color:#8fae1b !important;
  opacity:1 !important;
}

/* hover neutro nel box (resta verde) */
.sp-custom-orders .sp-contactbar__item:hover span,
.sp-custom-orders .sp-contactbar__item:hover i{
  color:#8fae1b !important;
}
/* WhatsApp – piu grande + piu “peso” visivo */
.fa-whatsapp{
  font-size: 1.45em;              /* piu grande */
  transform: scale(1.05);         /* micro boost */
  text-shadow:
    0 0 0 currentColor,
    0.4px 0 currentColor,
   -0.4px 0 currentColor;          /* finto stroke */
}

/* ==================================================
   MOBILE padding SOLO su pagine Woo (Cart/Checkout/My account)
   ================================================== */
@media (max-width: 768px){

  body.woocommerce-cart .site-content .inside-article,
  body.woocommerce-cart .site-content .inside-page,
  body.woocommerce-checkout .site-content .inside-article,
  body.woocommerce-checkout .site-content .inside-page,
  body.woocommerce-account .site-content .inside-article,
  body.woocommerce-account .site-content .inside-page{
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* =========================================================
   GP MOBILE – DEFINITIVO (markup reale: gp-icon con 2 svg)
   Logo center + toggle right + show/hide corretto hamburger/X
   ========================================================= */
@media (max-width: 768px){

  /* ---- header layout ---- */
  .inside-header{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    padding:10px 22px 0px 22px !important
  }

  /* ---- logo center ---- */
  .site-logo{
    flex:1 1 auto;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    margin:0 !important;
  }
   .site-logo img,
  .site-logo .header-image,
  .site-logo a img{
    height: 60px !important;     /* aumenta qui */
    width: auto !important;
    max-height: none !important;
  }

  /* ---- toggle wrapper (a destra) ---- */
  #mobile-menu-control-wrapper{
    flex:0 0 auto;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
  }

  /* bottone: niente cerchio/grigio */
  #mobile-menu-control-wrapper .menu-toggle{
    width:46px;
    height:46px;
    padding:0 !important;
    margin:0 !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
  }

  /* nasconde eventuale testo (screen reader ok) */
  #mobile-menu-control-wrapper .menu-toggle .menu-text,
  #mobile-menu-control-wrapper .menu-toggle .menu-toggle-text,
  #mobile-menu-control-wrapper .menu-toggle .mobile-menu-label{
    display:none !important;
  }

  /* icone GP: 2 SVG dentro span.gp-icon.icon-menu-bars */
  #mobile-menu-control-wrapper .gp-icon.icon-menu-bars svg{
    width:40px !important;
    height:40px !important;
    display:block !important;
  }

  /* stato CHIUSO (aria-expanded=false): mostra solo hamburger (1° svg) */
  #mobile-menu-control-wrapper .menu-toggle[aria-expanded="false"]
  .gp-icon.icon-menu-bars svg:first-child{
    display:block !important;
  }
  #mobile-menu-control-wrapper .menu-toggle[aria-expanded="false"]
  .gp-icon.icon-menu-bars svg:nth-child(2){
    display:none !important;
  }

  /* stato APERTO (aria-expanded=true): mostra solo X (2° svg) */
  #mobile-menu-control-wrapper .menu-toggle[aria-expanded="true"]
  .gp-icon.icon-menu-bars svg:first-child{
    display:none !important;
  }
  #mobile-menu-control-wrapper .menu-toggle[aria-expanded="true"]
  .gp-icon.icon-menu-bars svg:nth-child(2){
    display:block !important;
  }
}
/* ==================================================
   WOOCOMMERCE CART – font leggermente piu grandi
   (solo pagina carrello)
   ================================================== */

.woocommerce-cart,
.woocommerce-cart-page{

  /* titolo pagina */
  h1, h2{
    font-size: 1.85rem;
  }

  /* nome prodotto */
  .product-name a,
  .wc-block-components-product-name{
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
	  letter-spacing:-0.03em; padding-right:5px;
  }

  /* prezzi singoli */
  .product-price,
  .product-subtotal,
  .wc-block-components-product-price{
    font-size: 1.05rem;
    font-weight: 600;
  }

  /* meta / variatii (ex: Inaltime buzunar) */
  .variation,
  .wc-block-components-product-metadata{
    font-size: 0.95rem;
	  letter-spacing:-0.03em;
  }

  /* quantita (+ -) */
  .quantity input.qty,
  .wc-block-components-quantity-selector{
    font-size: 1rem;
  }

  /* colonna totaluri */
  .cart_totals,
  .wc-block-components-totals-item__label,
  .wc-block-components-totals-item__value{
    font-size: 1.05rem;
  }

  /* TOTAL ESTIMAT */
  .order-total,
  .wc-block-components-totals-footer-item__label,
  .wc-block-components-totals-footer-item__value{
    font-size: 1.2rem;
    font-weight: 700;
  }

  /* bottone continua / checkout */
  .checkout-button,
  .wc-block-components-checkout-button{
    font-size: 1.1rem;
    font-weight: 700;
  }
}
.cmplz-cookiebanner {
  background: rgba(40, 40, 40, 0.92) !important;
}
/* 1) Font sito */
#cmplz-cookiebanner-container .cmplz-cookiebanner,
#cmplz-cookiebanner-container .cmplz-cookiebanner *{
  font-family: inherit !important;
}


/* Link piu vicini al testo */
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-documents,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-links{
  margin-top: 0px !important;
  padding-top: 0 !important;
}

.title-step{
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-circle{
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FBB03B;
  color: #000;
  font-weight: 700;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.inline-link{
  color: #F7931E;
  font-weight: 700;
  text-decoration: none;
}

.inline-link:hover{
  text-decoration: underline;
}
/* Beneficii livrare – layout final */
.sp-benefits{
  margin: 8px 0 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(0,0,0,.08);
}

.sp-benefit{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.65;
  color: #222;
}

/* Icona a SINISTRA */
.sp-benefit__icon{
  font-size: 15px;
  flex-shrink: 0;
  order: 0;
}

/* Testo a DESTRA */
.sp-benefit__text{
  order: 1;
}

/* In stoc - verde */
.sp-benefit--stock{
  color: #8fae1b;
}
.sp-benefit--stock .sp-benefit__icon{
  color: #8fae1b;
  margin-left:8px;
}

/* Livrare gratuita - verde brand */
.sp-benefit--free{
  color: #8fae1b;
}
.sp-benefit--free .sp-benefit__icon{
  color: #8fae1b;
}
/* Nasconde definitiv butonul Complianz "Administreaza consimtamitele" */
.cmplz-manage-consent,
.cmplz-manage-consent-button,
.cmplz-revoke,
.cmplz-revoke-consent {
  display: none !important;
}

/* =========================================================
   CHECKOUT (Classic) – SOLO FORM (NO body, NO container, NO #payment/Netopia)
   Modern / clean UI
   ========================================================= */

body.woocommerce-checkout form.checkout,
body.woocommerce-checkout .woocommerce-checkout {
  /* non tocchiamo layout pagina o container */
}

/* --- Card look per i blocchi principali (billing/shipping/review) --- */
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-checkout-review-order {
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-shipping-fields h3,
body.woocommerce-checkout #order_review_heading {
  margin: 0 0 16px !important;
  padding: 0 !important;
}

body.woocommerce-checkout form.checkout .form-row label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
  margin: 0 0 3px;
  display: block;
}

/* --- Inputs --- */
body.woocommerce-checkout form.checkout input.input-text,
body.woocommerce-checkout form.checkout textarea,
body.woocommerce-checkout form.checkout select {
  width: 100%;
  font-size: 16px;
  line-height: 1.25;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.18);
  background: #fff;
  outline: none;
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
  transition: border-color .18s ease, box-shadow .18s ease, transform .05s ease;
}

body.woocommerce-checkout form.checkout textarea {
  min-height: 110px;
  resize: vertical;
}

body.woocommerce-checkout form.checkout input.input-text:focus,
body.woocommerce-checkout form.checkout textarea:focus,
body.woocommerce-checkout form.checkout select:focus {
  border-color: rgba(251,176,59,.95);
  box-shadow: 0 0 0 4px rgba(251,176,59,.22);
}

/* Placeholder */
body.woocommerce-checkout form.checkout ::placeholder {
  color: rgba(0,0,0,.40);
}

/* Error state */
body.woocommerce-checkout form.checkout .woocommerce-invalid input.input-text,
body.woocommerce-checkout form.checkout .woocommerce-invalid textarea,
body.woocommerce-checkout form.checkout .woocommerce-invalid select {
  border-color: rgba(220,50,50,.9);
  box-shadow: 0 0 0 4px rgba(220,50,50,.12);
}

/* --- Checkbox standard (note: NON tocchiamo #payment) --- */
body.woocommerce-checkout form.checkout input[type="checkbox"] {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  accent-color: #FBB03B;
}

/* =========================================================
   TIP CLIENT (Radio PF/PJ) – come richiesto:
   - "Tip client" su riga, radio sotto
   - piu spazio tra radio e testo
   - font leggermente piu grande
   - radio cerchio piu grande
   ========================================================= */

body.woocommerce-checkout #customer_type_field label.required_field,
body.woocommerce-checkout #customer_type_field > label {
  display: block !important;   /* mette "Tip client:" sopra */
  margin-bottom: 10px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

/* wrapper radio */
body.woocommerce-checkout #customer_type_field .woocommerce-input-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;              /* spazio tra opzioni */
  align-items: center;
}

/* ogni opzione radio */
body.woocommerce-checkout #customer_type_field .woocommerce-input-wrapper label {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;                   /* spazio cerchio/testo */
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer;
}


/* =========================================================
   "Livrezi la o alta adresa?" – stessa logica:
   - titolo/label + checkbox piu leggibile
   ========================================================= */

body.woocommerce-checkout .woocommerce-shipping-fields #ship-to-different-address {
  margin: 0 0 14px !important;
}

body.woocommerce-checkout .woocommerce-shipping-fields #ship-to-different-address label {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  font-size: 16px !important;
  font-weight: 800 !important;
  cursor: pointer;
}

body.woocommerce-checkout .woocommerce-shipping-fields #ship-to-different-address input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #FBB03B;
}

/* =========================================================
   Buttons (Place order + coupon/apply ecc) – NO #payment styles
   ========================================================= */

body.woocommerce-checkout form.checkout button,
body.woocommerce-checkout form.checkout .button,
body.woocommerce-checkout form.checkout input.button {
  border-radius: 12px !important;
  padding: 12px 18px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  box-shadow: 0 10px 18px rgba(0,0,0,.08) !important;
  transition: transform .08s ease, box-shadow .18s ease, filter .18s ease;
}

body.woocommerce-checkout form.checkout button:hover,
body.woocommerce-checkout form.checkout .button:hover,
body.woocommerce-checkout form.checkout input.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(0,0,0,.10) !important;
}

body.woocommerce-checkout form.checkout button:active,
body.woocommerce-checkout form.checkout .button:active,
body.woocommerce-checkout form.checkout input.button:active {
  transform: translateY(0);
}

/* Bottone principale (Place order) */
body.woocommerce-checkout #place_order {
  background: #FBB03B !important;
  color: #111 !important;
  border-color: rgba(0,0,0,.12) !important;
}

/* =========================================================
   Tables ordine (solo ordine, NON pagamento)
   ========================================================= */

body.woocommerce-checkout .woocommerce-checkout-review-order table.shop_table {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.10);
}

body.woocommerce-checkout .woocommerce-checkout-review-order table.shop_table th,
body.woocommerce-checkout .woocommerce-checkout-review-order table.shop_table td {
  padding: 12px;
  border-color: rgba(0,0,0,.08);
}

body.woocommerce-checkout .woocommerce-checkout-review-order table.shop_table td .amount,
body.woocommerce-checkout .woocommerce-checkout-review-order table.shop_table th .amount {
  color: #FBB03B;
  font-weight: 800;
}

@media (max-width: 768px) {

  body.woocommerce-checkout .woocommerce-billing-fields,
  body.woocommerce-checkout .woocommerce-shipping-fields,
  body.woocommerce-checkout .woocommerce-checkout-review-order {
    padding: 18px;
    border-radius: 14px;
  }

  body.woocommerce-checkout #customer_type_field .woocommerce-input-wrapper { gap: 8px; }
  body.woocommerce-checkout #customer_type_field .woocommerce-input-wrapper label { font-size: 14px !important; }
  body.woocommerce-checkout #customer_type_field input[type="radio"] { width: 18px; height: 18px; }

  /* Checkout – mobile only: rimuove padding laterale */
  body.woocommerce-checkout .site-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.woocommerce-checkout #primary .inside-article,
  body.woocommerce-checkout #primary .inside-article > .entry-content {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* 1) Ascunde "(optional)" DOAR la campurile PJ */
#billing_company_name_field .optional,
#billing_company_cui_field .optional,
#billing_company_rc_field .optional {
  display: none !important;
}

/* 2) Arata * doar cand e selectat PJ (body class din JS) */
body.sp-customer-pj #billing_company_name_field label::after,
body.sp-customer-pj #billing_company_cui_field label::after,
body.sp-customer-pj #billing_company_rc_field label::after {
  content: " *";
  color: #d00;
  font-weight: 700;
}

	
/* Allarga SOLO il footer, non tutto il sito */
.site-footer .grid-container,
.site-footer .footer-widgets-container.grid-container,
footer.site-info .grid-container{
  max-width: 100% !important;
}

/* SUBFOOTER layout desktop */
.sp-subfooter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 24px;
}

/* testo copyright */
.sp-subfooter__text {
  font-size: 14px;
  color: #b5b5b5;
  white-space: nowrap;
}

/* NETOPIA badge */
.sp-netopia-badge iframe {
  display: block;
  width: 260px;
  height: 44px;
  opacity: 0.9;
}

/* ANPC */
.sp-subfooter__anpc {
  display: flex;
  gap: 16px;
}

.sp-subfooter__anpc img {
  height: 44px;
  width: auto;
}

/* -------- MOBILE -------- */
@media (max-width: 768px) {
  .sp-subfooter {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .sp-subfooter__text {
    white-space: normal;
  }
}
/* MOBILE – SEMPRE 1 SINGOLO PRODOTTO PER RIGA */
@media (max-width: 767px){

  /* shop, categorie, related, upsells */
  body.woocommerce ul.products{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  body.woocommerce ul.products li.product{
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  /* blocchi WooCommerce (se presenti) */
  .wc-block-grid__products{
    grid-template-columns: 1fr !important;
  }
}

/* ===============================
   WC BLOCKS – Bottone cart + checkout
   Stesso stile add to cart, senza icona
   =============================== */
/* Centrare il bottone nel carrello (container) */
.wc-block-cart__submit-container {
  display: flex;
  justify-content: center;
}
/* CART – Continua cu finalizarea comenzii */
.wc-block-cart__submit-button,
.wc-block-components-button.wc-block-cart__submit-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #F7931E !important;
  border: 3px solid #FBB03B !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  padding: 12px 22px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  box-shadow: none !important;
	width: auto !important;
  max-width: 420px;
  margin: 17px auto 0 auto !important;
  align-self: center !important;
}

/* nessuna icona */
.wc-block-cart__submit-button::before,
.wc-block-cart__submit-button::after {
  content: none !important;
}
/* Tutti i bottoni Woo principali */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
body.woocommerce-checkout #place_order {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #F7931E !important;
  border: 3px solid #FBB03B !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  letter-spacing:.4px;
  padding: 12px 22px !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}
.woocommerce-message{padding: 1em 1em 1em 3.2em;line-height: 1.35rem;font-size:0.95rem;}
/* Checkout – testo privacy: piu compatto */
.woocommerce-privacy-policy-text {
  font-size: 14px !important;
  line-height: 1.4 !important;
  margin-top: 10px !important;
  margin-bottom: 22px !important;
  color: #444 !important;
}

/* ===============================
   SHOP LOOP – Bottone "Selecteaza optiunile"
   stesso stile add to cart / checkout
   =============================== */

.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product a.add_to_cart_button,
.woocommerce ul.products li.product a.product_type_variable {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #F7931E !important;
  border: 3px solid #FBB03B !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  letter-spacing:.4px;
  padding: 12px 22px !important;
  border-radius: 999px !important;

  text-decoration: none !important;
  box-shadow: none !important;
}

/* hover coerente */
.woocommerce ul.products li.product a.button:hover,
.woocommerce ul.products li.product a.add_to_cart_button:hover,
.woocommerce ul.products li.product a.product_type_variable:hover {
  background: #FBB03B !important;
  border-color: #F7931E !important;
  color: #fff !important;
}
/* TITLO PRODOTTO – nero */
.woocommerce ul.products li.product h2.woocommerce-loop-product__title,
.woocommerce ul.products li.product h3.woocommerce-loop-product__title {
  color: #000 !important;
}

/* ANPC + Solutionarea alternativa – centra SOLO SU MOBILE */
@media (max-width: 768px) {

  .sp-subfooter__anpc {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
  }

  .sp-subfooter__anpc a {
    display: inline-flex;
    justify-content: center;
  }

  .sp-subfooter__anpc img {
    display: block;
    margin: 0 auto;
  }
}
/* Colore testo errori checkout WooCommerce */
.woocommerce-error li {
  color: #b81c23 !important;
	font-size: 14px;
    font-weight: 600;
}

/* opzionale: anche messaggi info / notice */
.woocommerce-error,
.woocommerce-error li strong {
  color: #b81c23 !important;
	font-size: 14px;
    font-weight: 600;
}
.woocommerce .woocommerce-result-count {
  display: none !important;
}
/* Nome prodotto SOLO nella pagina carrello */
.wc-block-cart .wc-block-components-product-name {
  font-size: 1.04rem !important;
  line-height: 1.4;
}

/* Riga prezzo: testo normale */
.woocommerce .price,
.woocommerce div.product p.price{
  letter-spacing:-0.03em;	
}

/* numero intero */
.price-int{
  font-size:1.2em;
  font-weight:700;
  display:inline-block;
  vertical-align:baseline; /* 🔥 riferimento */
  line-height:1;
  letter-spacing:0;	
}

/* decimali: piu piccoli, ALLINEATI IN ALTO AL NUMERO, non superscript */
.price-dec{
  font-size:0.7em;
  font-weight:700;
  display:inline-block;
  letter-spacing:0em;
  vertical-align:top;
  margin-left: 1px;
}

/* valuta e testo */
.woocommerce-Price-currencySymbol{
  font-size:1em;
  vertical-align:baseline;
  margin-left:2px;
font-weight:700;
}

/* Nasconde lente / fullscreen */
.woocommerce div.product div.images .woocommerce-product-gallery__trigger{
  display:none !important;
}

/* Blocca ingrandimento hover */
.woocommerce div.product div.images img,
.woocommerce div.product div.images .woocommerce-product-gallery__image img{
  transform: none !important;
  transition: none !important;
}

/* HERO CONTAINER */
.sp-home-hero{
  position:relative;
  width:100%;
  height:calc(80vh - 80px);        /* hero piu basso di 80px */
  min-height:calc(600px - 80px);   /* coerente col min-height */
  overflow:hidden;
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  padding:30px;
  box-sizing:border-box;
}

/* IMMAGINE */
.sp-home-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center bottom;   /* <-- TAGLIA SOPRA, NON SOTTO */
  z-index:1;
}

/* OVERLAY */
.sp-home-overlay{
  position:absolute;
  inset:0;
  z-index:2;
  background:linear-gradient(
    to bottom,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.45) 25%,
    rgba(0,0,0,0.20) 55%,
    rgba(0,0,0,0.05) 80%,
    rgba(0,0,0,0) 100%
  );
}

/* CONTENUTO */
.sp-home-content{
  position:relative;
  z-index:3;
  width:100%;
}

/* H1 DESKTOP */
.sp-home-content h1{
  color:#ffffff;
  margin:0 auto;
  font-weight:700;
  font-size:44px;
  line-height:1.1;
  max-width:1100px;
  text-shadow:
    0 3px 8px rgba(0,0,0,0.7),
    0 6px 18px rgba(0,0,0,0.4);
}

/* TABLET */
@media (max-width:1024px){
  .sp-home-hero{
    height:70vh;
  }
	  .sp-home-content h1{
    font-size:44px;
    line-height:1.2;
  }
}

/* MOBILE */
@media (max-width:768px){

  .sp-home-hero{
    height:520px;
    min-height:520px;
    align-items:flex-start;
  }

  .sp-home-content h1{
    font-size:42px;
    line-height:1.2;
  }	
	.sp-home-bg{
    object-position: 60% center;
  }

}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
body.woocommerce-checkout #place_order:hover {
    background: #e67e00 !important;
    border-color: #f7931e !important;
}

/* Card prodotto in colonna */
.woocommerce ul.products li.product {
  display: flex;
  flex-direction: column;
  align-items: center; /* centra tutto orizzontalmente */
  text-align: center;  /* centra testo */
}

/* Link principale prodotto */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  display: block;
  width: 100%;
  text-align: center;
}

/* Titolo */
.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
  text-align: center !important;
}

/* Prezzo */
.woocommerce ul.products li.product .price {
  text-align: center !important;
}

/* Bottone */
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .button {
  align-self: center !important;
  margin: 15px auto 0 !important;
}

.woocommerce ul.products li.product h2.woocommerce-loop-product__title .model-line {
  display: block;
}
.sp-ico{
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em; /* come FA */
}

/* ==================================================
   PATCH SVG: replica 1:1 lo stile che avevi con <i>
   ================================================== */

/* base svg: come Font Awesome inline */
.sp-contactbar__item .sp-ico,
.sp-footer-contact .sp-ico,
.sp-custom-orders__contacts .sp-ico{
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;  /* come FA */
  flex-shrink: 0;
  fill: currentColor;
}

/* CONTACT BAR: icone gialle + grandi (prima era su i) */
.sp-contactbar__item .sp-ico{
  color:#FBB03B;
  font-size:27px;          /* identico a prima */
}

/* hover: testo giallo (gia ce) + icone bianche */
.sp-contactbar__item:hover .sp-ico{
  color:#fff;
}

/* MOBILE: dimensioni icone come prima */
@media (max-width:768px){
  .sp-contactbar__item .sp-ico{ font-size:27px; }  /* prima: i 27px */
  .sp-contactbar__phone .sp-ico{ font-size:26px; } /* prima: phone i 26px */
}

/* Nasconde SOLO testo email + whatsapp (ok) e rende icone piu grandi (prima su i) */
@media (max-width:768px){
  .sp-contactbar a[href^="mailto:"] .sp-ico,
  .sp-contactbar a[href*="wa.me"] .sp-ico,
  .sp-contactbar a[href*="whatsapp"] .sp-ico{
    font-size:32px !important; /* identico a prima */
    line-height:1 !important;
  }
}

/* FOOTER: se vuoi icone come prima (se prima erano ereditate, qui non rompe) */
.sp-footer-contact .sp-ico{
  color: currentColor;
  font-size: 1.1em;
  margin-right: 10px;
}

/* COMENZI PERSONALIZATE: replica regole su i */
.sp-custom-orders__contacts .sp-ico{
  font-size: 1.4em;
  color:#8fae1b !important;
}

/* WhatsApp “piu grande + piu peso visivo” (prima era .fa-whatsapp) */
.sp-ico--wa{
  font-size: 1.45em;
  transform: scale(1.05);
  filter: drop-shadow(0 0 0 currentColor)
          drop-shadow(0.4px 0 0 currentColor)
          drop-shadow(-0.4px 0 0 currentColor);
}

/* nel box: hover resta verde */
.sp-custom-orders .sp-contactbar__item:hover .sp-ico{
  color:#8fae1b !important;
}

.sp-hero-btn{
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px;
  background: #F7931E !important;
  border: 3px solid #FBB03B !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  letter-spacing:.4px;
  padding: 12px 22px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.sp-hero-btn:hover{
  background: #FBB03B !important;
  border-color: #F7931E !important;
  color: #fff !important;
}

.sp-hero-btn__icon{
  width: 20px;
  height: 20px;
  background-color: #fff;
  display: inline-block;

  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M401.2 39.1L549.4 189.4c27.7 28.1 27.7 73.1 0 101.2L393 448.9c-9.3 9.4-24.5 9.5-33.9 .2s-9.5-24.5-.2-33.9L515.3 256.8c9.2-9.3 9.2-24.4 0-33.7L367 72.9c-9.3-9.4-9.2-24.6 .2-33.9s24.6-9.2 33.9 .2zM32.1 229.5L32.1 96c0-35.3 28.7-64 64-64l133.5 0c17 0 33.3 6.7 45.3 18.7l144 144c25 25 25 65.5 0 90.5L285.4 418.7c-25 25-65.5 25-90.5 0l-144-144c-12-12-18.7-28.3-18.7-45.3zm144-85.5a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z'/%3E%3C/svg%3E") no-repeat center / contain;

  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M401.2 39.1L549.4 189.4c27.7 28.1 27.7 73.1 0 101.2L393 448.9c-9.3 9.4-24.5 9.5-33.9 .2s-9.5-24.5-.2-33.9L515.3 256.8c9.2-9.3 9.2-24.4 0-33.7L367 72.9c-9.3-9.4-9.2-24.6 .2-33.9s24.6-9.2 33.9 .2zM32.1 229.5L32.1 96c0-35.3 28.7-64 64-64l133.5 0c17 0 33.3 6.7 45.3 18.7l144 144c25 25 25 65.5 0 90.5L285.4 418.7c-25 25-65.5 25-90.5 0l-144-144c-12-12-18.7-28.3-18.7-45.3zm144-85.5a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z'/%3E%3C/svg%3E") no-repeat center / contain;
}

@media (max-width: 768px){

  .sp-hero-btn{
    width: 85%;              /* bottone largo */
    max-width: 380px;        /* non enorme su tablet */
    padding: 14px 20px !important;
    font-size: 20px !important;
	letter-spacing:.4px;
    border-width: 3px !important;
    left: 50%;
    transform: translateX(-50%);
  }

  .sp-hero-btn__icon{
    width: 22px;
    height: 22px;
  }

}

.woocommerce div.product div.images .flex-control-thumbs li:first-child {
    display: none !important;
}

.single-product .flex-control-thumbs li img {
    opacity: 1 !important;
    box-shadow: none !important;
    border: none !important;
}
.woocommerce-shipping-destination{
display:none;
}
#billing_country_field,
#shipping_country_field{
display:none !important;
}

.woocommerce .quantity .qty {
  width: 6em;
  text-align: center;
}

.woocommerce table.shop_table td:last-child,
.woocommerce table.shop_table th:last-child {
  text-align: right;
  padding-right: 14px;
}

.woocommerce .order-total td strong {
  display: block;
  text-align: right;
}

.woocommerce .order-total td small.includes_tax {
  display: block;
  text-align: right;
  margin-top: 4px;
  font-size: 0.75em;
  opacity: 0.8;
}

/* TITOLI PRODOTTI */
.woocommerce-loop-product__title,
.single-product .product_title {
  text-align: left;
  line-height: 1.2;
}

/* seconda riga (model) */
.sp-model {
  display: block;
  font-size: 0.9em;
  margin-top: 2px;
}