/*
Theme Name: FlashMac.it
Description: Tema per ecommerece FlashMac
Author: Alessandro Pivaro
Template: flatsome
Version: 4.8
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


/*arancione scuro : #ff6600, arancione chiaro #FFA800, giallo menubar: #ffc700*/
/*colori 2023: rosa EB3F93 arancio F5956F*/


body.woocommerce-cart #main,
body.woocommerce-checkout #main,
body.woocommerce-order-received #main {
  background-color: #F5F5F7 !important;
}

body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-order-received {
  background-color: #F5F5F7;
}


/* Hover sui link */
a:hover,
a:focus {
  text-decoration-color: #F5956F;
}

/*MEGAmenu viola*/
h2.gradient-title {
  font-size: 2rem; /* Regolabile */
  font-weight: bold;
  background: linear-gradient(90deg, #8e2de2, #EB3F93);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

/* Font ovunque nel menu secondario */
.sub-menu .icon-box-text h4 {
  font-family: 'Space Grotesk', sans-serif !important;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1px;
}

/* Hover violet effect on menu icons and text */
.sub-menu {
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.sub-menu .icon-box:hover h4 {
  color: #6B4EFF;
  transition: color 0.2s ease;
}

.sub-menu .icon-box:hover svg path {
  fill: #6B4EFF !important;
  transition: fill 0.2s ease;
}

.sub-menu .icon-box svg path {
  fill: #444; /* invece di #333 */
  transition: fill 0.2s ease;
}

.sub-menu .icon-box h4 {
  color: #5A5A5A;
}

.sub-menu .row > .col > .col-inner {
  padding: 32px 12px !important;
}
.sub-menu .icon-box {
  gap: 8px;
  transition: transform 0.2s ease;
}
.sub-menu .icon-box:hover {
  transform: translateY(-4px);
}

.submenu-vantaggi {
  border-top: 1px solid #e1def7;
}
.submenu-vantaggi p {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #4A3BCB; /* più morbido di #000 */
  letter-spacing: 0.2px;
  margin-bottom: 0;
  padding: 10px 0;
}

.blocco-vantaggi h5 {color: #f5956f;}

.sub-menu .fm-menu-icn-offerte svg path {
  fill: #6B4EFF;
  color: #6B4EFF;
}



label, legend{font-size: 13px !important;}
h3.widget-title {letter-spacing:normal!important; color: black;}

.widget-title {letter-spacing: normal!important; color: #EB3F93;}

.footer-widgets .widget-title {color: #505050;}
.footer-widgets {color: #a4a4a4;}
.footer-widgets a {color: #808080; font-weight: 200;}
.leadthin {font-weight: 100!important;}
.product-sidebar-small .widget-title {text-align: left!important;}

.product-sidebar-small .is-divider {margin-left: 0;}
/*#product-sidebar {padding-top: 30px;}*/

.widget {margin-bottom: 2.5em;}

/*.dark .breadcrumbs a {color: white!important;}*/

.product-info h1 {font-weight: 500;}
.category-page-row .product-title {font-size: 117%;}
.products .product-title {font-size: 117%;}

/* sfumatura header secondario - breadcrumbps
.shop-page-title.featured-title .title-overlay {
background-color: #ff4e00;
background-image: linear-gradient(315deg, #ff4e00 0%, #ec9f05 74%);
background-color: #f7b42c;
background-image: linear-gradient(315deg, #f7b42c 0%, #fc575e 74%);
background-color: #f5d020;
background-image: linear-gradient(315deg, #f5d020 0%, #f53803 74%);
background-color: #ee9617;
background-image: linear-gradient(315deg, #ee9617 0%, #fe5858 74%);
}

*/

.blackboxx {background-color: #2d3436;
background-image: linear-gradient(315deg, #2d3436 0%, #000000 74%);}

.gradientOrange {background-color: #ee9617;
background-image: linear-gradient(315deg, #ee9617 0%, #fe5858 74%);}

.greyboxx {background-color: #d9d9d9;
background-image: linear-gradient(315deg, #d9d9d9 0%, #f6f2f2 74%);
background-color: #ee9617;
background-image: linear-gradient(315deg, #ee9617 0%, #fe5858 74%);
}



.footer ol, .footer ul, #menu-secondary {padding-left: 0em;}


.col {padding: 0 15px 0px;}
.columns{padding: 0 15px 0px;}

.testoprv {font-size: 80%;}

.box-prodotti .add-to-cart-button {display: none;}


.footer-text {font-size: 75%;}
/*.dark .breadcrumbs a {color:#000000; text-shadow: none;}
.dark .breadcrumbs {color:#353534;}
*/

.footer-1 {
background: linear-gradient(135deg, #fde6ef, #fff2ea);
	border-top: 1px solid #f8cfe2;
}

.footer-button{
	background: #353534;
	color: #FFFFFF;
}

@media screen and (max-width: 768px) {
  .footer .chat-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    background: transparent !important;
  }

  .footer .chat-box .button {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    color: #222;
    font-weight: 500;
    border-radius: 8px;
    padding: 12px 18px;
    width: 90%;
  }

  .footer .telegram,
  .footer .whatsapp {
    background: none;
    border: none;
    color: #666;
    font-size: 0.95rem;
    text-decoration: underline;
  }
}


/*popup*/
.form-flat input {border-radius: 2px!important;}
.wph-modal.wph-modal--simple .wph-modal--content .wph-modal--clear a:not(.wph-modal--cta) {color: #f18700;}
.wph-modal .wph-modal--close a {color: #f18700!important;}


/* wooCommerce*/
.product-main {padding-top: 10px;}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
}

/* wooCommerce - single product | ale 12.2109 */
.product-short-description p{font-size: 85%;}
.product-short-description p br{display: none;}

.product-footer {margin-top: 30px;}
.stock .available-on-backorder {color: #ffc700;}
.product-short-description {display:none;}

/* nascondere link smart
#tab-description a {display: none;}
#tab-description img {display: none;}

*/

/*widget prodotti*/
.product_list_widget li a {font-size: 80%;}

/* Fix titolo categoria */
p.name.product-title {min-height: 60px;}

.alert-color{
	color:#fff !important;	
}
.woocommerce-error{
	background: red !important;
}
.checkout ul li{
	padding:2% !important;
	font-size: 12px !important;
}
.menu-windows a {color: #0096d6!important;}
.menu-samsung a {color: #ce0466!important;}

.grecaptcha-badge {
	display: none !important;
}
.add-request-quote-button {font-weight: bold;}
form .cart {margin-bottom: none;}

p.name.product-title, .widget>ul>li>a {font-weight: 700;}

.product-info span.amount {
	color: orangered;
}
.button {border-radius: 4px!important;}


/*Buttoni custom*/

.msi-button {background: #df232e!important;}

.telegram-button {
    background-color: #A5D8FF;
    color: #4DABF5!important;
    text-decoration: none;
    font-weight: bold;
}
.whatsapp-button {
    background-color: #D3F9D8;
    color: #4CB97B!important;
    text-decoration: none;
    font-weight: bold;
}

.telegram-button:hover {
    background-color: #006699;
}

.whatsapp-button:hover {
    background-color: #1DA851;
}

/* Bottone giallo personalizzato per "Vendi Usato" */
.header-button a[href*="valutazione.flashmac.com"] {
  background-color: #F9B233;
  color: #000 !important;
  border: 1px solid #F9B233;
  font-weight: 600;
  font-family: "Urbanist", sans-serif;
}

.header-button a[href*="valutazione.flashmac.com"]:hover {
  background-color: #e5a321;
  color: #000 !important;
}


/*pulsante rosso out of stock*/
.out-of-stock {
    color: #cc4b4b; /* Sostituisci con il colore che preferisci */
    font-weight: bold; /* Opzionale: rende la scritta più evidente */
}


.paypal-installments {
    font-size: 13px;
}

.product-page-price {
	margin-bottom: 1em;
}




/*bottone personalizza questo pc */


.tm-collapse {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* Rimuove il bordo grigio esterno */
.tc-section-inner-wrap {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* === BLOCCO PERSONALIZZA PC — GLOW HOVER + ANGOLI MORBIDI === */

/* Toggle sempre visibile */
.tm-section-label.tm-toggle {
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(90deg, #EB3F93, #F5956F);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 0 6px rgba(235, 63, 147, 0.1); /* glow soft di base */
  transition: all 0.25s ease;
  border-color: transparent !important;
  position: relative;
  z-index: 3;
}

/* Glow più intenso SOLO su hover da chiuso */
.tm-section-label.tm-toggle:hover:not([aria-expanded="true"]) {
  box-shadow: 0 0 14px rgba(235, 63, 147, 0.4);
}

/* Stato aperto */
.tm-section-label.tm-toggle[aria-expanded="true"] {
  border-radius: 10px 10px 0 0 !important;
  box-shadow: 0 4px 12px rgba(235, 63, 147, 0.15); /* glow sobrio */
}

/* Menu espanso */
.tm-collapse-wrap {
  border: 1px solid transparent;
  border-top: none;
  border-radius: 0 0 10px 10px;
  margin-top: -1px;
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(90deg, #EB3F93, #F5956F);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 8px 14px rgba(235, 63, 147, 0.1);
  position: relative;
  z-index: 2;
  padding: 20px;
}

/* Fix glitch su focus interni */
.tm-section-label.tm-toggle:focus-within,
.tm-section-label.tm-toggle:focus,
.tm-section-label.tm-toggle:active {
  border-color: transparent !important;
}

/* === BARRA DI RICERCA — STILE SFUMATO STATICO === */

.header-search-form-wrapper .ux-search-box .search-field {
  border: 1px solid transparent;
  border-radius: 10px!important;
  padding: 10px 14px;
  background-image:
    linear-gradient(white, white),
    linear-gradient(90deg, #EB3F93, #F5956F);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 0 10px rgba(235, 63, 147, 0.15);
  transition: all 0.25s ease;
  font-size: 14px;
  line-height: 1.4;
}

/* === Bottone whatsapp inserito in functions- NO SPOKI === */

.whatsapp-inline-link {
  margin-top: 16px!important;
}

.whatsapp-inline-link a {
  background-color: #e9f8f0;
  color: #25D366 !important;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: none;
  max-width: 100%;
  transition: box-shadow 0.3s ease;
}

.whatsapp-inline-link a:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}



@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 rgba(37, 211, 102, 0.0);
  }
  50% {
    box-shadow: 0 0 12px rgba(37, 211, 102, 0.4);
  }
  100% {
    box-shadow: 0 0 0 rgba(37, 211, 102, 0.0);
  }
}
.badge {
  font-size: 80%;
}
.badge-circle .badge-inner, .badge-circle-inside .badge-inner {
  border-radius: 6px;
}
.badge-inner {
  padding: 12px;
  background-color: #7e49f2;
}
/* Pagina checkout */

/* ===============================
   🛒 FLASHMAC - Stile Carrello Moderno
   Ispirato a NZXT / Apple
   =============================== */

/* 1. Colonne layout */
.woocommerce-cart .cart-collaterals {
  margin-top: 0;
  padding-left: 48px;
  border-left: none!important;
}

/* 2. Box Totale Carrello */
.cart-collaterals .cart_totals {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	margin-bottom: 6%;
}

/* 2c Box SX Carrello */
.cart-collaterals .ux-cart-coupon, .cart-auto-refresh {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}


.cart_totals h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* 3. Opzioni spedizione */
.woocommerce-shipping-methods li {
  padding: 10px 14px;
  background: #F5F5F7;
  margin-bottom: 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-size: 15px;
}

.woocommerce-shipping-methods input[type="radio"] {
  margin-right: 8px;
}

.woocommerce-shipping-methods input[type="radio"]:checked + label {
  font-weight: 600;
}

/* 4. Bottone checkout */
.woocommerce .checkout-button {
  display: block;
  width: 100%;
  font-weight: 600;
  padding: 16px;
  font-size: 16px;
  background-color: #EB3F93;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.woocommerce .checkout-button:hover {
  background-color: #d83483;
}

/* container prodotto */


.woocommerce .coupon label {
  font-weight: 500;
  font-size: 14px;
}

/* 6. Item carrello */
.woocommerce-cart .cart_item {
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  margin-bottom: 12px;
}

.woocommerce-cart .product-name a {
  font-weight: 600;
  font-size: 16px;
  color: #333;
}

.woocommerce-cart-form{
	padding-top: 4%;
}

/* 7. Fascia trust */
.flashmac-cart-trust-bar {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
  background: #F5F5F7;
  padding: 16px 24px;
  margin-bottom: 24px;
  border-radius: 6px;
  color: #333;
  text-align: center;
}

.flashmac-cart-trust-bar span::before {
  content: '✅';
  margin-right: 6px;
  color: #7E49F2;
}

/* Sticky Add to Cart — Full Width Modern Style */
@media (min-width: 768px) {
  .sticky-add-to-cart-wrapper {
    display: none !important;
  }
}

@media (max-width: 767px) {

  .sticky-add-to-cart .whatsapp-inline-link {
    display: none !important;
  }
}

.woocommerce-checkout #customer_details {
  background: #fefefe;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}



/*forms*/

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  background: #f8f8f8;
  border: 1px solid #ddd;
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 16px;
  transition: all 0.2s ease;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: #6B4EFF;
  box-shadow: 0 0 0 3px rgba(107, 78, 255, 0.15);
  background: #fff;
}

.woocommerce form .form-row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.woocommerce input[type="checkbox"],
.woocommerce input[type="radio"] {
  accent-color: #6B4EFF;
  width: 18px;
  height: 18px;
}

.woocommerce-checkout .woocommerce-shipping-method input:checked + label, .cart-sidebar .woocommerce-shipping-method input:checked + label {
  background: rgba(107, 78, 255, 0.05);
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #6B4EFF;
  display: inline-block;
  width: 100%;
}


/* Checkout adjustments */
.woocommerce-checkout-review-order-table th {
  font-weight: 700;
  color: #1a1a1a;
  font-size: 15px;
  text-transform: uppercase;
  padding-top: 20px;
}

.woocommerce-checkout-review-order-table td {
  padding-top: 10px;
  padding-bottom: 10px;
}


.woocommerce-checkout .woocommerce-checkout-review-order .shipping td label {
  color: #1a1a1a !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order .shipping input[type="radio"]:checked + label {
  color: #1a1a1a !important;
}

.woocommerce-checkout-review-order-table tfoot th, 
.woocommerce-checkout-review-order-table tfoot td {
  font-size: 16px;
  font-weight: 700;
  padding-top: 16px;
}

.woocommerce-checkout .woocommerce-checkout-review-order .shipping td {
  padding-top: 12px;
  padding-bottom: 12px;
}

.is-well {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
	padding: 20px;
}

/*carretto mobile*/
@media (max-width: 767px) {
  .woocommerce-cart .woocommerce {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .woocommerce-cart .cart-collaterals {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .woocommerce-cart .cart_totals {
    padding: 16px !important;
  }
}

/* Migliora spaziatura e allineamento pagina prodotto */

/* ✅ Prezzo e sconti */
.product-price-container .price {
  font-size: 22px;
  font-weight: 600;
  color: #EB3F93;
  margin-top: 8px;
}

.product-price-container .woocommerce-Price-amount {
  font-size: 24px;
  line-height: 1.2;
}

/* ✅ Disponibilità "1 disponibili" */
.add-to-cart-container .stock {
  margin-bottom: 4px;
  color: #4CAF50;
  font-weight: 500;
  font-size: 14px;
}

/* ✅ Box "Spedizione immediata" — se usi una classe o elemento dedicato */
.tempi-consegna {
  display: inline-block;
  background: #fff4ef;
  color: #EB3F93;
  font-size: 14px;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* ✅ Spaziatura sopra Feedaty */
.feedaty_widget {
  margin-top: 24px;
}

/* ✅ Pulsante "Aggiungi al carrello" */
.single_add_to_cart_button.button {
  padding: 8px 24px;
  font-size: 16px;
  border-radius: 8px;
  font-weight: 600;
}

/* Rende il selettore quantità allineato al bottone */
.add-to-cart-container .quantity {
  height: 56px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  padding: 0 10px;
  font-size: 16px;
  margin-right: 12px;
}

/* Sistemo i pulsanti - e + */
.add-to-cart-container .quantity input[type="button"] {
  font-size: 20px;
  font-weight: 400;
  background: none;
  border: none;
  padding: 0 10px;
  color: #333;
}

/* Input centrale */
.add-to-cart-container .quantity input.qty {
  width: 40px;
  text-align: center;
  border: none;
  font-size: 18px;
  font-weight: 600;
}

/* Allineamento contenitore */
.add-to-cart-container form.cart {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dettagli-prodotto {
  font-size: 16px;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  margin-top: 10px;
}

.dettagli-prodotto i {
  font-size: 14px;
  color: #6B4EFF; /* viola secondario */
}


.trust-bar-top {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 12px 24px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Urbanist', sans-serif;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  z-index: 9999;
}

.trust-bar-top ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-bar-top li {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.page-checkout-simple {padding: 1% 0;}

/* box prodotti correlati*/
.product-small .box {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}



/* Se vuoi arrotondare anche solo l'immagine sopra */
.product-small .box-image img {
  border-radius: 14px 14px 0 0;
}

@media (max-width: 767px) {
  .product-small .col-inner {
    border: none;
    box-shadow: none;
  }
}


/* Stile generale per campi input e textarea */
/* Campi input e textarea */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px;
  font-size: 1rem;
  line-height: 1.4;
  color: #333;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 0.8em; /* meno spazio tra campi */
}

/* Focus & Hover: bordo viola scuro */
.wpcf7-form input:focus,
.wpcf7-form input:hover,
.wpcf7-form textarea:focus,
.wpcf7-form textarea:hover {
  border-color: #5e2ca5; /* viola scuro */
  box-shadow: 0 0 0 2px rgba(94, 44, 165, 0.15);
  outline: none;
}

/* Etichette */
.wpcf7-form label {
  display: block;
  margin-bottom: 0.4em;
  font-weight: 600;
  color: #333;
}

/* Pulsante invio */
.wpcf7-form input[type="submit"] {
  background-color: #EB3F93;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: #d0337e;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* box prodotti HP 2025 */
.fm-categoriehome .box {
	 border-radius: 12px;
  padding: 20px;
  background: #fff;
  transition: all 0.3s ease;
  overflow: hidden;
  box-shadow: 0 0 0 transparent; /* reset iniziale */
}

.fm-categoriehome .box:hover {
	box-shadow: 0 0 12px #eb3f93, 0 0 24px #7e49f2;
	transform: translateY(-4px);
}
.fm-categoriehome .box-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

/*homepage box prodotti  */

.banner-gaming-nuovi {
  border-radius: 12px !important;
  overflow: hidden;
}

/* Banner “PC Gaming Nuovi” – aggiunge shadow e angoli arrotondati */
.banner-gaming-nuovi {
  border-radius: 8px;
  /* Ombra base più sfocata */
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.15),
    0 8px 16px rgba(0, 0, 0, 0.10);
  transition: box-shadow 0.3s ease-in-out;
}

/* Effetto hover per rafforzare l’elevazione */
.banner-gaming-nuovi:hover {
  box-shadow: 
    0 8px 16px rgba(0, 0, 0, 0.20),
    0 16px 32px rgba(0, 0, 0, 0.15);
}

/* pagina prodotto su mobile */

@media (max-width: 768px) {
  .woocommerce-breadcrumb.breadcrumbs.uppercase {
    font-size: 12px !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
  }
	
	.breadcrumbs a {
    font-size: 12px !important;
	padding: 0 !important;
  }
	.page-title-inner {
    padding-top: 10px !important;
    padding-bottom: 2px !important;
  }
	
	  .page-title-inner .is-medium {
    margin-bottom: 0 !important;
  }
	
	.sticky-add-to-cart--visible {
    transform: translateY(0%) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

	
	@media (max-width: 768px) {
  .sticky-add-to-cart {
    display: none !important;
  }
}
	
	@media (max-width: 768px) {
  kepleroai-chat {
    bottom: 90px !important; /* sopra lo sticky bar */
    right: 16px !important;
  }
}

} /* chiude @media (max-width: 768px) aperta a riga 979 */

.flashmac-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  padding: 12px 16px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s ease-in-out;
}
	
.flashmac-sticky-bar .price {
	
}

.flashmac-sticky-bar .price {
  font-size: 18px;
  font-weight: bold;
  color: #e30d75; /* rosa Flashmac */
  line-height: 1;
  margin: 0;
	margin-top: -12px;
}

.flashmac-sticky-bar .price del {
  display: block;
  font-size: 14px;
  color: #999;
}

.flashmac-sticky-bar form {
  margin: 0;
}

.flashmac-sticky-bar .button.primary {
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  line-height: 1;
}

.flashmac-sticky-bar .button.primary:hover {
  background-color: #c90063;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 64px; /* evita che la sticky copra i contenuti */
  }
}
@media (max-width: 768px) {
  .trust-bar-top {
    display: none;
  }
}
	
	@media (max-width: 768px) {
  .woocommerce-cart .cart-auto-refresh {
    margin-bottom: 30px; /* Spazio sotto il blocco prodotti */
  }
}

@media (max-width: 768px) {
  .cart-header #logo {
    margin: 0 auto;
    text-align: center;
    display: block;
  }

  .cart-header #logo a {
    display: inline-block;
  }
}
	
/* Stile personalizzato box errori WooCommerce */
.woocommerce-error {
    background-color: #ff0000a1!important; /* Rosso meno acceso ma visibile */
    color: #ffffff !important; /* Testo bianco */
    border-radius: 10px !important; /* Bordi arrotondati */
    padding: 20px !important; /* Più spazio interno */
    font-size: 16px !important; /* Testo più grande */
    border: none !important;
    margin-bottom: 20px !important;
    list-style: none !important; /* Rimuove pallini lista se presenti */
}

/* Colore icone pseudo-elementi */
.woocommerce-error::before, .woocommerce-error::after {
    color: #ffffff !important;
}

/* Link interni (es. clicca qui per accedere) */
.woocommerce-error a {
    color: #ffffff !important;
    text-decoration: underline;
    font-weight: bold;
}

.woocommerce-error li {
    padding-left: 0 !important;
    margin-bottom: 5px;
	font-size: 18px !important; /* Testo più grande */
}
/* ---- Rate widget ---- */
.fmc2-rate-intro {
    font-size: 12px;
    color: #999;
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

body .fmc2-rate-widget {
    width: 100% !important;
    margin: 8px 0 10px !important;
}

body .fmc2-rate-cards {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
    align-items: stretch !important;
}

body .fmc2-rate-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 10px 8px !important;
    border: 1.5px solid #e8e8e8 !important;
    border-radius: 10px !important;
    background: white !important;
    cursor: pointer !important;
    text-align: center !important;
    gap: 4px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 90px !important;
}

body .fmc2-rate-card[style*="display:none"] { display: none !important; }

body .fmc2-rate-card__amount {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #EB3F93 !important;
    line-height: 1.2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 32px !important;
}

body .fmc2-rate-card__label {
    font-size: 10px !important;
    color: #555 !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    display: block !important;
    min-height: 16px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

body .fmc2-rate-card__logos {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    min-height: 16px !important;
    flex-wrap: nowrap !important;
}

body .fmc2-rate-card__logos img {
    height: 12px !important;
    width: auto !important;
    display: inline-block !important;
    opacity: 0.85 !important;
}

body .fmc2-rate-card__note {
    font-size: 9px !important;
    color: #aaa !important;
    line-height: 1.2 !important;
    display: block !important;
    min-height: 12px !important;
    font-weight: 400 !important;
    text-transform: none !important;
}

body .fmc2-rate-card__link {
    font-size: 9px !important;
    color: #185FA5 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    display: block !important;
    min-height: 12px !important;
}

body .fmc2-rate-card__link:hover {
    text-decoration: underline !important;
}

body .fmc2-rate-card.active {
    border-color: transparent !important;
    background: linear-gradient(135deg, rgba(245,149,111,0.08), rgba(235,63,147,0.08), rgba(126,73,242,0.08)) !important;
    box-shadow: 0 0 0 1.5px #EB3F93 !important;
}

body .fmc2-rate-card.active .fmc2-rate-card__amount {
    background: linear-gradient(135deg, #f5956f, #EB3F93) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

body .fmc2-rate-card:hover {
    border-color: #EB3F93 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(235,63,147,0.15) !important;
}

body .fmc2-rate-card[data-provider="klarna"] .fmc2-rate-card__amount {
    font-size: 18px !important;
}

body .fmc2-rate-card[data-provider="klarna"] .fmc2-rate-card__logos img[alt="PayPal"] {
    height: 12px !important;
}

body .fmc2-rate-card[data-provider="paypal"] .fmc2-rate-card__logos img {
    height: 16px !important;
}

body .fmc2-rate-card[data-provider="findomestic"] .fmc2-rate-card__logos img {
    height: 16px !important;
}

#findomestic_simulator {
    display: none !important;
}

#fmc2-configurator {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Uniforma larghezza icone di pagamento Findomestic e Scalapay */
.payment-icons .payment-icon svg {
    max-width: 65px !important;
}

/* Bordi arrotondati per section Flatsome */
.fm-section-radius {
    border-radius: 6px !important;
    overflow: hidden !important;
}


@media (max-width: 480px) {
    body .fmc2-rate-cards {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 4px !important;
    }

    body .fmc2-rate-card {
        padding: 8px 4px !important;
        min-height: 85px !important;
    }

    body .fmc2-rate-card__amount {
        font-size: 11px !important;
        min-height: 28px !important;
    }

    body .fmc2-rate-card[data-provider="klarna"] .fmc2-rate-card__amount {
        font-size: 13px !important;
    }

    body .fmc2-rate-card__label {
        font-size: 8px !important;
    }

    body .fmc2-rate-card__logos img {
        height: 10px !important;
    }

    body .fmc2-rate-card[data-provider="paypal"] .fmc2-rate-card__logos img {
        height: 14px !important;
    }

    body .fmc2-rate-card[data-provider="findomestic"] .fmc2-rate-card__logos img {
        height: 12px !important;
    }

    body .fmc2-rate-card__note,
    body .fmc2-rate-card__link {
        font-size: 8px !important;
    }

    body .fmc2-rate-intro {
        font-size: 10px !important;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    .flashmac-sticky-bar {
        display: flex !important;
    }
}

/* Bottone carrello larghezza piena su mobile */
@media (max-width: 767px) {
    .woocommerce div.product form.cart {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    .woocommerce div.product form.cart .quantity {
        flex: 0 0 auto !important;
    }

    .woocommerce div.product form.cart .single_add_to_cart_button {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 200px !important;
    }
}

/* Loghi prima card non escono dal bordo */
@media (max-width: 480px) {
    body .fmc2-rate-card[data-provider="klarna"] .fmc2-rate-card__logos {
        flex-wrap: wrap !important;
        gap: 3px !important;
    }

    body .fmc2-rate-card__logos img {
        height: 9px !important;
    }
}
