.elementor-4272 .elementor-element.elementor-element-8925e53 > .elementor-container > .elementor-row{align-items:stretch;}.elementor-4272 .elementor-element.elementor-element-8925e53 > .elementor-container{min-height:40px;}.elementor-4272 .elementor-element.elementor-element-8925e53{border-style:solid;border-width:0px 0px 0px 0px;border-color:#EEEEEE;}.elementor-4272 .elementor-element.elementor-element-81657c1 > .elementor-container > .elementor-row{align-items:stretch;}.elementor-4272 .elementor-element.elementor-element-81657c1:not(.elementor-motion-effects-element-type-background), .elementor-4272 .elementor-element.elementor-element-81657c1 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://psicologiaintribunale.it/wp-content/uploads/2025/09/header-bg.jpg");}.elementor-4272 .elementor-element.elementor-element-81657c1 > .elementor-background-overlay{background-color:#0D5B82;opacity:0.5;transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-4272 .elementor-element.elementor-element-81657c1 > .elementor-container{min-height:350px;}.elementor-4272 .elementor-element.elementor-element-81657c1{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;}.elementor-4272 .elementor-element.elementor-element-11fca2f .elementor-cta .elementor-cta__bg, .elementor-4272 .elementor-element.elementor-element-11fca2f .elementor-cta .elementor-cta__bg-overlay{transition-duration:1500ms;}.elementor-4272 .elementor-element.elementor-element-11fca2f .elementor-cta__content{text-align:center;background-color:#02010100;}.elementor-4272 .elementor-element.elementor-element-11fca2f .elementor-cta__title{font-family:"Playfair Display", Sans-serif;font-size:32px;font-weight:300;color:#FFFFFF;}.elementor-4272 .elementor-element.elementor-element-11fca2f .elementor-cta__button{font-family:"Playfair Display", Sans-serif;font-size:20px;color:#1B788C;background-color:#B4DBDC;border-color:#02010100;}.elementor-4272 .elementor-element.elementor-element-11fca2f .elementor-cta__button:hover{background-color:#EEEEEE;}.elementor-4272 .elementor-element.elementor-element-11fca2f .elementor-cta:hover .elementor-cta__bg{filter:brightness( 100% ) contrast( 100% ) saturate( 100% ) blur( 0px ) hue-rotate( 0deg );}.elementor-4272 .elementor-element.elementor-element-20bf8d0 .elementor-cta .elementor-cta__bg, .elementor-4272 .elementor-element.elementor-element-20bf8d0 .elementor-cta .elementor-cta__bg-overlay{transition-duration:1500ms;}.elementor-4272 .elementor-element.elementor-element-20bf8d0 .elementor-cta__content{text-align:center;background-color:#02010100;}.elementor-4272 .elementor-element.elementor-element-20bf8d0 .elementor-cta__title{font-family:"Playfair Display", Sans-serif;font-size:32px;font-weight:300;color:#FFFFFF;}.elementor-4272 .elementor-element.elementor-element-20bf8d0 .elementor-cta__button{font-family:"Playfair Display", Sans-serif;font-size:20px;color:#1B7895;background-color:#B4DBDC;border-color:#02010100;}.elementor-4272 .elementor-element.elementor-element-20bf8d0 .elementor-cta__button:hover{background-color:#EEEEEE;}.elementor-4272 .elementor-element.elementor-element-ec01d0 > .elementor-container > .elementor-row{align-items:stretch;}.elementor-4272 .elementor-element.elementor-element-ec01d0{margin-top:40px;margin-bottom:0px;}.elementor-4272 .elementor-element.elementor-element-babdcbd{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 60px) 0px;padding:0px 0px 0px 0px;}/* Start custom CSS for section, class: .elementor-element-81657c1 */.hero-bg {
 
  background-size: 120% auto; /* più grande per permettere il movimento */
  background-repeat: no-repeat;
  background-position: right center;
  animation: bgMove 60s linear infinite;
}



@keyframes bgMove {
  0%   { background-position: right center; }
  100% { background-position: left center; }
}/* End custom CSS */
/* Start custom CSS for text-editor, class: .elementor-element-75b966ec *//* --- CART PAGE - CARD ORIZZONTALE E COMPATTA --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

/* --- Contenitore principale --- */
body.woocommerce-cart .woocommerce {
  max-width: 1100px !important;        /* card larga e orizzontale */
  margin: 60px auto !important;
  padding: 35px 40px !important;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  font-family: 'Playfair Display', serif;
  color: #686360;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 40vh;                   /* più piatta e bilanciata */
}

/* --- Titoli --- */
body.woocommerce-cart h1,
body.woocommerce-cart h2 {
  font-family: 'Playfair Display', serif;
  color: #0d5b82;
  font-weight: 600;
  text-align: center;
  margin-bottom: 18px;
  font-size: 22px;
}

/* --- Messaggio carrello vuoto --- */
.empty-cart-messages {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 15px 10px;
}

.empty-cart-icon {
  font-size: 55px;
  color: #5798b7;
  margin-bottom: 15px;
}

.empty-cart-heading {
  font-size: 22px;
  font-weight: 600;
  color: #0d5b82;
  margin-bottom: 8px;
}

.empty-cart-text {
  font-size: 15px;
  color: #686360;
  max-width: 550px;
  margin: 0 auto 15px;
  line-height: 1.5;
}

/* --- Bottone “Torna al negozio” centrato --- */
.return-to-shop {
  text-align: center;
  margin-top: 5px !important;
  margin-bottom: 0 !important;
}

.return-to-shop br {
  display: none !important;
}

.return-to-shop a.button.wc-backward {
  display: inline-flex !important;
  align-items: center;       /* centratura verticale */
  justify-content: center;   /* centratura orizzontale */
  background-color: #5798b7 !important;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  height: 46px;
  padding: 0 30px;
  font-family: 'Playfair Display', serif !important;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
  letter-spacing: 0.3px;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.return-to-shop a.button.wc-backward:hover {
  background-color: #417d99 !important;
  transform: translateY(-2px);
}

/* --- Tabella del carrello (quando ci sono prodotti) --- */
.woocommerce-cart table.shop_table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  background: #fafafa;
  margin-top: 20px;
}

.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #e6e6e6;
  font-size: 14px;
}

.woocommerce-cart table.shop_table th {
  background: #f4f7fa;
  font-weight: 600;
  color: #0d5b82;
}

/* --- Bottoni generali WooCommerce --- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #5798b7 !important;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  height: 44px;
  padding: 0 26px;
  font-family: 'Playfair Display', serif !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  line-height: 1;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background-color: #417d99 !important;
  transform: translateY(-1px);
}

/* --- Pulsante "Cassa" --- */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background-color: #5798b7 !important;
  color: #fff !important;
  font-family: 'Playfair Display', serif !important;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  body.woocommerce-cart .woocommerce {
    max-width: 95% !important;
    padding: 25px 15px !important;
    min-height: 50vh;
  }
  .empty-cart-heading {
    font-size: 20px;
  }
  .empty-cart-text {
    font-size: 14px;
  }
  .return-to-shop a.button.wc-backward {
    height: 42px;
    font-size: 15px;
    padding: 0 25px;
  }
}
/* --- Allinea la larghezza del box Totale carrello alla tabella prodotti --- */

/* Contenitore principale */
.woocommerce-cart .cart-collaterals {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
}

/* Box Totale carrello */
.woocommerce-cart .cart_totals {
  width: 100%;
  max-width: 900px; /* stessa larghezza visiva del box prodotti */
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 25px 30px;
  font-family: 'Playfair Display', serif;
  color: #686360;
  margin: 0 auto; /* centra orizzontalmente */
}

/* Titolo */
.woocommerce-cart .cart_totals h2 {
  font-size: 20px;
  font-weight: 600;
  color: #0d5b82;
  text-align: center;
  margin-bottom: 20px;
}

/* Tabella Totali */
.woocommerce-cart .cart_totals table.shop_table {
  width: 100%;
  border: none;
  margin: 0;
  background: none;
}

.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td {
  border: none;
  padding: 6px 0;
  font-size: 15px;
  color: #0d5b82;
  background: none;
}

.woocommerce-cart .cart_totals .order-total td {
  font-weight: 600;
  font-size: 16px;
  color: #0d5b82;
}

/* Bottone "Cassa" */
.woocommerce-cart .wc-proceed-to-checkout {
  text-align: center;
  margin-top: 15px;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #5798b7 !important;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  height: 44px;
  padding: 0 30px;
  font-family: 'Playfair Display', serif !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background-color: #417d99 !important;
  transform: translateY(-2px);
}

/* --- Messaggio di successo (prodotto aggiunto al carrello) --- */
.woocommerce-message {
  background-color: #e8f3f8 !important;
  border-top: 3px solid #5798b7 !important;
  color: #0d5b82 !important;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  padding: 15px 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Responsive */
@media (max-width: 768px) {
  .woocommerce-cart .cart_totals {
    max-width: 95%;
  }
}
/* --- Allinea la larghezza del box Totale carrello alla tabella prodotti --- */

/* Contenitore principale */
.woocommerce-cart .cart-collaterals {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
}

/* Box Totale carrello */
.woocommerce-cart .cart_totals {
  width: 100%;
  max-width: 900px; /* stessa larghezza visiva del box prodotti */
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 25px 30px;
  font-family: 'Playfair Display', serif;
  color: #686360;
  margin: 0 auto; /* centra orizzontalmente */
}

/* Titolo */
.woocommerce-cart .cart_totals h2 {
  font-size: 20px;
  font-weight: 600;
  color: #0d5b82;
  text-align: center;
  margin-bottom: 20px;
}

/* Tabella Totali */
.woocommerce-cart .cart_totals table.shop_table {
  width: 100%;
  border: none;
  margin: 0;
  background: none;
}

.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td {
  border: none;
  padding: 6px 0;
  font-size: 15px;
  color: #0d5b82;
  background: none;
}

.woocommerce-cart .cart_totals .order-total td {
  font-weight: 600;
  font-size: 16px;
  color: #0d5b82;
}

/* Bottone "Cassa" */
.woocommerce-cart .wc-proceed-to-checkout {
  text-align: center;
  margin-top: 15px;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #5798b7 !important;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  height: 44px;
  padding: 0 30px;
  font-family: 'Playfair Display', serif !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background-color: #417d99 !important;
  transform: translateY(-2px);
}

/* --- Messaggio di successo (prodotto aggiunto al carrello) --- */
.woocommerce-message {
  background-color: #e8f3f8 !important;
  border-top: 3px solid #5798b7 !important;
  color: #0d5b82 !important;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  padding: 15px 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Responsive */
@media (max-width: 768px) {
  .woocommerce-cart .cart_totals {
    max-width: 95%;
  }
}

/* --- Stile elegante tasto Rimuovi per theme TM --- */
.woocommerce-cart td.product-remove a.tm-button.style-bottom-line {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #e6eef1 !important;
    color: #0d5b82 !important;

    border-radius: 6px !important;
    padding: 6px 12px !important;         /* SPAZIATURA RICHIESTA */
    margin-right: 10px !important;        /* DISTANZA DAL BORO DESTRO */
    margin-left: 6px !important;

    font-weight: 600 !important;
    font-size: 14px !important;

    border: none !important;
    box-shadow: none !important;

    transition: all 0.25s ease;
}

/* Hover */
.woocommerce-cart td.product-remove a.tm-button.style-bottom-line:hover {
    background: #5798b7 !important;
    color: #fff !important;
    transform: translateX(-2px);
}

/* Testo interno */
.woocommerce-cart td.product-remove a.tm-button.style-bottom-line .button-text {
    color: inherit !important;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-102a10b *//* POPUP OVERLAY */
.popup-newsletter {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background-color: rgba(0,0,0,0.4);
  justify-content: center;
  align-items: center;
}

/* CONTENUTO DELLA POPUP */
.popup-newsletter .popup-content {
  background: #fff;
  border-radius: 12px;
  padding: 30px 40px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  font-family: 'Playfair Display', serif;
  color: #0d5b82;
  position: relative;
  animation: popupFade 0.3s ease-out;
}

@keyframes popupFade {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* CHIUDI (X) */
.popup-newsletter .close-popup {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 22px;
  color: #5798b7;
  cursor: pointer;
}

/* TITOLI & TESTI */
.popup-newsletter h3 {
  font-size: 20px; margin-bottom: 8px;
}
.popup-newsletter p {
  font-size: 15px; margin-bottom: 20px; color: #686360;
}

/* STILI DEL FORM MC4WP */
.popup-newsletter .mc4wp-form-fields p {
  margin-bottom: 12px;
}
.popup-newsletter label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 5px;
}
.popup-newsletter input[type="email"],
.popup-newsletter input[type="text"],
.popup-newsletter select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  transition: border-color 0.3s ease;
}
.popup-newsletter input:focus,
.popup-newsletter select:focus {
  border-color: #5798b7;
  outline: none;
  box-shadow: 0 0 0 2px rgba(87,152,183,0.2);
}
.popup-newsletter .privacy-consent a {
  color: #5798b7;
  font-size: 13px;
  text-decoration: none;
}
.popup-newsletter .privacy-consent a:hover {
  text-decoration: underline;
}
.popup-newsletter input[type="submit"] {
  display: block;
  width: 100%;
  padding: 12px 0;
  background-color: #5798b7;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.popup-newsletter input[type="submit"]:hover {
  background-color: #417d99;
}/* End custom CSS */