/* Theme Name: Tripgo Child Theme
Theme URI: https://themeforest.net/user/ovatheme/portfolio
Description: This is child theme of tripgo
Author: Ovatheme
Author URI: https://themeforest.net/user/ovatheme
Template: tripgo
Version: 1.0.0
Tags: two-columns, three-columns, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, flexible-header, full-width-template, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain:  tripgo-child
*/
:root {
  /* BLU: in sostituzione del verde */
  --extra-dark-blue: #122244;
  /* molto profondo, quasi navy-verde */
  --dark-blue: #1A2E55;
  /* profondo e moderno */
  --medium-blue: #3E4E77;
  /* tenue, usabile come bg alternato */
  --light-blue: #C8D1E6;
  /* sfondo per card/pillow */

  /* ROSA / CORALLO: accenti eleganti */
  --extra-dark-pink: #f68ab4;
  --dark-pink: #f39fc0;
  --medium-pink: #ffcbe0;
  --light-pink: #ffe4ef;

  /* ESTATE (toni sabbia, calore accessorio) */
  --bg-light: #F2F5FA;
  --bg-light2: #E6EAF2;
  --bg-medium: #CFD8EB;
  --bg-dark1: #B7C4E0;
  --bg-dark2: #A2B4D9;

  /* Box */
  --bg-box: #fbfcfd;
  --border-box-light: #E6EAF2;

  /* FEEDBACK */
  --confirmed: #a5d6cb;
  /* puoi mantenerlo oppure usare un blu-verde:  */
  --grey: #888;
  --pale: #E6EAF2;

  /* ACCENTI PRINCIPALI */
  --coral: #faa5b0;
  --coral-darker: #ffa2ae;

  /* BASE */
  --text-color: #122244;
  --text-on-img: #ffd497;
  /* Testi su img */

  --background-color: #F2F5FA;
  --backgrund-color-dark: #E6EAF2;
  --border-color: #c8c8c8;
  --border-color-light: rgb(227 227 225 / 50%);
  --border-color-medium: rgb(227 227 225 / 100%);


  /* BORDER RADIUS */
  --border-radius-standard: 10px;

  /* Shadow */
  --box-shadow: 0 2px 20px rgba(0, 0, 0, 0.01);
}

#scrollUp {
  display: none;
}

/* Override Tripgo */
.ova-blog .item {
  background: transparent !important;
  box-shadow: none !important;
}

body.blog,
body.archive,
body.category-blog,
body.tag-blog,
body.author-blog,
body.single-post {
  background: #fff !important;
  padding-top: 120px !important;
}

body.blog .sidebar .widget.widget_search,
body.archive .sidebar .widget.widget_search,
body.category-blog .sidebar .widget.widget_search,
body.tag-blog .sidebar .widget.widget_search,
body.author-blog .sidebar .widget.widget_search,
body.single-post .sidebar .widget.widget_search {
  padding: 25px 20px !important;
}

body.blog .sidebar .widget.widget_search .wp-block-search,
body.archive .sidebar .widget.widget_search .wp-block-search,
body.category-blog .sidebar .widget.widget_search .wp-block-search,
body.tag-blog .sidebar .widget.widget_search .wp-block-search,
body.author-blog .sidebar .widget.widget_search,
body.single-post .sidebar .widget.widget_search .wp-block-search {
  margin-bottom: 0;
}

body.blog .sidebar .widget.widget_search form input[type=search],
body.archive .sidebar .widget.widget_search form input[type=search],
body.category-blog .sidebar .widget.widget_search form input[type=search],
body.tag-blog .sidebar .widget.widget_search form input[type=search],
body.author-blog .sidebar .widget.widget_search form input[type=search],
body.single-post .sidebar .widget.widget_search form input[type=search] {
  border: 1px solid;
}

.menu-canvas .container-menu {
  z-index: 9999 !important;
}

/** ---------------------------
 * Badge Alert
 * --------------------------- */
/* Wrapper generale */
.ui-alert-wrapper {
  margin-bottom: 32px;
}

/* Box alert generico */
.ui-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-left: 4px solid;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 2px 6px rgba(18, 34, 68, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 8px;
}

/* Icona */
.ui-alert__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Contenuto */
.ui-alert__content p {
  margin: 0;
}

/* Varianti di stato */
.ui-alert--info {
  border-color: var(--text-color);
  background-color: var(--bg-light);
  color: var(--text-color);
}

.ui-alert--warning {
  border-color: #f4b400;
  background-color: #fff9e5;
  color: #7a5a00;
}

.ui-alert--error {
  border-color: #b00020;
  background-color: #fff4f4;
  color: #861622;
}

.ui-alert--success {
  border-color: #28a745;
  background-color: #ebf8f0;
  color: #1e6c3b;
}

/* Ultimo senza margine */
.ui-alert:last-child {
  margin-bottom: 0;
}

li.ova-megamenu ul.ova-mega-menu li.menu-item {
  padding: 10px 32px;
}

/* Contact form */
.wpcf7-not-valid-tip {
  color: #dc3232;
  font-size: 14px;
  font-weight: normal;
  display: block;
  position: absolute;
  background: #fff;
  border: 1px solid #dc3232;
  padding: 8px;
  border-radius: 10px;
  margin-top: 4px;
  z-index: 99;
  width: 100%;
  font-weight: 600;
}

/** ---------------------------
 * Burger menu
 * --------------------------- */
.menu-canvas.toggled .container-menu {
  width: 100%;
}

.container-menu {
  background-color: var(--background-color);
  color: var(--text-color);
  z-index: 999 !important;
  padding: 20px !important;
}

.menu-canvas .menu-toggle:before,
.menu-canvas .menu-toggle:after,
.menu-canvas .menu-toggle span:before {
  width: 44px;
  left: 0px;
  background-color: var(--primary);
}

.menu-canvas .menu-toggle {
  display: block;
  z-index: 992;
  padding: 0px;
  width: 44px;
  height: 44px;
  border: none;
  background-color: transparent;
}

button.menu-toggle:before,
button.menu-toggle:after,
button.menu-toggle span:before {
  content: "";
  display: block;
  height: 2px;
  width: 14px;
  position: absolute;
  top: 50%;
  left: 1em;
  margin-top: -1px;
  transition: all, ease, 0.2s;
  border-radius: 0px;
  background-color: transparent;
}

.close-menu {
  transform-style: preserve-3d;
  background-color: var(--text-color);
  border-radius: 150px;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  text-decoration: none;
  transition: all .2s;
  display: flex;
  position: relative;
  z-index: 9999 !important;
  text-align: left !important;
  font-size: 14px !important;
  line-height: 14px;
  font-weight: 900;
}
@media(max-width: 768px){
    .primary-navigation {
    padding-top: 40px;
}
}
.menu-canvas ul li a {
    color: #fff;
    padding: 20px 0px;
    display: block;
    border-bottom: 1px solid var(--backgrund-color-dark);
}
.menu-canvas .dropdown-toggle {
    padding: 18px 0 10px 20px;
    color: var(--text);
    font-size: 24px;
    line-height: 24px;
}
.btn-mobile-navbar.first-mobile-btn {
    background: var(--light-blue);
    text-align: center;
    font-weight: 500;
    border: none;
    border-radius: 12px;
}
.btn-mobile-navbar.first-mobile-btn a {
    padding: 20px 16px;
    border: none;
    margin-top: 16px;
}
.btn-mobile-navbar.second-mobile-btn {
    background: var(--text-color);
    text-align: center;
    font-weight: 500;
    border: none;
    border-radius: 12px;
}
body.home .header_sticky.active_sticky ul.menu>.btn-mobile-navbar.second-mobile-btn>a{
    color:#fff!important;
}
.btn-mobile-navbar.second-mobile-btn a {
    padding: 24px 16px;
    border: none;
    margin-top: 16px;
    color: #fff!important;
}
@media (min-width: 1024px) {
  .main-navigation ul ul.sub-menu {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    padding: 0 !important;
    border: 1px solid #eee;
    overflow: hidden;
  }

  .main-navigation ul.menu ul.sub-menu li.menu-item a {
    padding: 10px 14px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.63em;
  }
}

.main-navigation ul ul.sub-menu {
  border-radius: 10px;
}

/** ---------------------------
 * Global Styles
 * --------------------------- */
body {
  background-color: var(--background-color);
}

body:not(.single-product-not-rental) {
  min-height: 100% !important;
}

/** ---------------------------
 * My Account Page Layout
 * --------------------------- */
.woocommerce #customer_login .woocommerce-form button[type=submit] {
  width: 100%;
  height: 80px;
  background: var(--dark-blue);
  color: #fff;
  font-size: 18px;
  padding: 1rem;
  border-radius: 10px;
}

.woocommerce ul.ova-login-register-woo li.active a:after {
  background: var(--coral-darker);
}

.user-logo-wrapper a {
  display: block;
  height: 50px;
}

img.account-mobile-logo {
  height: 50px;
}

body.woocommerce-dashboard .container_site,
.woocommerce-account .container_site {
  padding: 0;
}

.woocommerce-account .woocommerce-notices-wrapper {
  margin-bottom: 16px;
}

.page-id-15 .woocommerce #customer_login .woocommerce-form {
  background: var(--bg-light);
  border: 1px solid #E6EAF2;
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.01);
}

@media(min-width: 992px) {
  .page-id-15 .woocommerce #customer_login .woocommerce-form {
    padding: 3rem;
  }
}

.woocommerce #customer_login .woocommerce-form.woocommerce-form-register {
  max-width: 100%;
}

.page-id-15 .woocommerce #customer_login .woocommerce-form .woocommerce-form-row input {
  border-color: var(--border-color-light);
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
  border-color: var(--border-color-light);
  min-height: 50px;
  padding: 16px;
  color: var(--text-color);
}

body.page-id-15 {
  background-color: #fff !important;
  margin-top: 120px;
}

@media (max-width: 1023px) {

  body.woocommerce-dashboard .row_site,
  body .elementor-section.elementor-section-boxed>.elementor-container,
  body.woocommerce-account .row_site,
  body .elementor-section.elementor-section-boxed>.elementor-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  float: left;
  width: 25%;
}

.woocommerce-account .woocommerce-MyAccount-content {
  float: right;
  width: 75%;
  padding: 0px 75px 36px 72px;
}

.navigation-list-content {
  background: var(--bg-box);
  border: 1px solid var(--border-box-light);
  border-radius: var(--border-radius-standard);
  padding: 16px;
  box-shadow: var(--box-shadow);
}

/** Responsive adjustments for My Account Layout */
@media (max-width: 1550px) {
  .woocommerce-account .woocommerce-MyAccount-navigation {
    width: 28%;
  }

  .woocommerce-account .woocommerce-MyAccount-content {
    width: 72%;
    padding: 0px 0px 36px 36px;
  }
}

@media (max-width: 1200px) {
  .woocommerce-account .woocommerce-MyAccount-content {
    padding: 0px 0px 36px 16px;
  }
}

@media (max-width: 992px) {
  .woocommerce-account .woocommerce-MyAccount-navigation {
    display: none;
    visibility: hidden;
    opacity: 0;
  }

  .woocommerce-account .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
    padding: 0px;
  }
}

/* Desktop: mostra solo navigation */
@media (min-width: 992px) {
  .woocommerce-area-personale.mobile-navigation {
    display: none;
  }

  .navigation-title-content .user-greeting h3 {
    color: var(--text-color);
  }

  .navigation-title-content .user-greeting .user-email {
    color: var(--text-color);
  }
}

.woocommerce-account a#scrollUp {
  display: none;
  visibility: hidden;
  opacity: 0;
}

/* Mobile: mostra solo dashboard mobile */
@media (max-width: 991.98px) {
  .woocommerce-area-personale.mobile-navigation {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--bg-light);
    z-index: 980;
    border-top: 1px solid var(--border-color-light);
    padding: 10px 0 10px 0;
    /* spazio verticale minimo */
  }

  .dashboard-grid-mobile {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    /* previene clic accidentali */
    padding: 0 4px;
  }

  .dashboard-panel-mobile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    padding: 6px 0;
    min-height: 56px;
    background-color: transparent;
    border-radius: var(--border-radius-standard);
    transition: background-color 0.2s ease-in-out;
  }

  .dashboard-panel-mobile:hover {
    background-color: var(--bg-medium);
  }

  .dashboard-panel-header-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .dashboard-icon-mobile {
    font-size: 16px;
    margin-bottom: 2px;
    line-height: 1;
  }

  .dashboard-panel-content-mobile h3 {
    font-size: 11px;
    margin: 0;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    color: var(--dark-blue);
  }

  .dashboard-panel-mobile.is-current .dashboard-panel-content-mobile h3 {
    color: var(--text-color);
  }

  .dashboard-mobile-count {
    position: absolute;
    top: 8px;
    right: 18px;
    height: 8px;
    width: 8px;
    background-color: var(--coral);
    border-radius: 50%;
    display: block;
    box-shadow: var(--box-shadow);
    content: "";
  }

  .icon-svg {
    width: 24px;
    height: 24px;
    color: var(--dark-blue);
  }

  .dashboard-panel-mobile.is-current .icon-svg {
    stroke: var(--background-color);
    fill: var(--text-color)
  }
}

/** ---------------------------
 * Navigazione Account
 * --------------------------- */
.woocommerce-MyAccount-navigation ul li a {
  display: block;
  color: var(--text-color);
  font-weight: 600;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: 0.1px;
  border-radius: 4px;
  padding: 12px 16px 12px 16px;
  margin-bottom: 8px;
  background-color: transparent;
  transition: 0.12s cubic-bezier(0.2, 0, 0.4, 0.8);
  transition-property: background-color;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li:hover a {
  background-color: var(--bg-medium);
  color: var(--text-color);
}

@media (max-width: 992px) {
  nav.woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
  }

  nav.woocommerce-MyAccount-navigation ul li {
    width: 100%;
    box-sizing: border-box;
  }

  .woocommerce-MyAccount-navigation ul li a {
    padding: 12px 16px 12px 16px;
    margin-bottom: 8px;
  }
}

i.navigation-icon-i {
  color: var(--text-color);
}

.navigation-arrow svg {
  fill: var(--text-color);
}

.account-section-support-links-dashboard {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.account-section-support-links-dashboard a {
  display: inline-block;
  border: 1px solid var(--light-blue);
  background: #fff;
  border-radius: 12px;
  padding: 16px 24px;
  margin: 0 8px 8px 0;
  font-size: 14px;
  font-weight: 600;
  width: 100%;
  box-shadow: var(--box-shadow);
  text-decoration: none;
  color: var(--text-color);
  text-align: center;
}

/** ---------------------------
 * Viaggi - Elenco
 * --------------------------- */
.prossimi-viaggi h3,
.viaggi-wrapper-singolo h2 {
  font-family: "Playfair Display";
  font-size: 52px;
  line-height: 1;
  color: var(--text-color);
  margin: 0px 0px 52px 0px;
  font-weight: 100;
}

@media (max-width: 992px) {

  .prossimi-viaggi h3,
  .viaggi-wrapper-singolo h2 {
    font-size: 32px;
  }
}

.woocommerce-nozze-listato-header h2,
.account-section h3 {
  font-family: "Playfair Display";
  font-size: 52px;
  line-height: 1;
  color: var(--text-color);
  margin: 0px 0px 16px 0px;
  font-weight: 100;
}

.woocommerce-nozze-listato-header,
.account-section {
  margin: 0px 0px 32px 0px;
}

.dashboard-panel-header {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 992px) {

  .woocommerce-nozze-listato-header h2,
  .account-section h3 {
    font-size: 28px;
  }
}

/* Listato viaggi new*/

.woocommerce-viaggi-listato-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 1200px) {
  .woocommerce-viaggi-listato-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

/* Mobile: 1 colonna */
@media (max-width: 992px) {
  .woocommerce-viaggi-listato-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 8px;
  }
}

.woocommerce-viaggi-listato-pillow {
  background: var(--bg-box);
  border: 1px solid var(--border-box-light);
  border-radius: var(--border-radius-standard);
  padding: 16px;
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
}

@media (max-width: 992px) {
  .woocommerce-viaggi-listato-pillow {
    background: var(--bg-box);
    border: 1px solid var(--border-box-light);
    border-radius: var(--border-radius-standard);
    box-shadow: var(--box-shadow);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
  }
}

.woocommerce-viaggi-listato-texts h4 {
  font-size: 16px;
  margin-bottom: 0px;
  margin-top: 0px;
  font-weight: 600;
  line-height: 14px;
}

@media (max-width: 12000px) {
  .woocommerce-viaggi-listato-texts h4 {
    font-size: 16px;
    margin-bottom: 0px;
    margin-top: 0px;
    font-weight: 600;
    line-height: 16px;
  }
}

.woocommerce-viaggi-listato-texts {
  margin-left: 16px;
}

.woocommerce-viaggi-listato-date {
  font-size: 12px;
  line-height: 18px;
  color: #444;
  margin-bottom: 0;
}

.woocommerce-viaggi-listato-time-content {
  display: inline-block;
  font-size: 12px;
  line-height: 12px;
  color: #444;
  margin-bottom: 0;
  margin-top: 4px;
}

.woocommerce-viaggi-listato-status {
  margin-top: 8px;
}

span.woocommerce-viaggi-listato-date {
  display: inline-block;
  font-size: 12px;
  line-height: 12px;
  color: #444;
}

img.img-listato-pillow {
  object-fit: cover;
  object-position: center;
  height: 100%;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 4px;
}

a.woocommerce-button-pillow {
  display: inline-block;
  height: 100%;
  width: 100%;
}

.woocommerce-viaggi-listato-img {
  height: 130px;
  width: 130px;
  display: block;
  aspect-ratio: 1;
}

.woocommerce-viaggi-listato-time {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 8px;
}

/** ---------------------------
 * Viaggi - Singolo
 * --------------------------- */
.woocommerce-viaggio-singolo h2 {
  margin-top: 0px;
}

.woocommerce-viaggio-singolo-img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .woocommerce-viaggio-singolo-img {
    max-width: 100%;
    height: auto;
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    object-position: center;
  }
}

.woocommerce ul.order_details {
  margin-top: 16px;
  margin-bottom: 32px;
  list-style: none;
}

.travel-emergency-contact-title p {
  margin-bottom: 32px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-color);
}

.travel-emergency-contact-number a {
  margin-top: 16px;
  background-color: #eaf4ff;
  font-size: 14px;
  line-height: 1.6;
  color: #003d66;
}

.travel-emergency-contact-mail a {
  margin-top: 16px;
  background-color: #eaf4ff;
  font-size: 14px;
  line-height: 1.6;
  color: #003d66;
}

.travel-emergency-contact-what a {
  margin-top: 16px;
  background-color: #eaf4ff;
  font-size: 14px;
  line-height: 1.6;
  color: #003d66;
}

.travel-emergency-contact-text p {
  margin-top: 32px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-color);
}

@media (max-width: 513px) {
  .woocommerce ul.order_details li:last-of-type {
    border: none;
    margin-top: 24px;
  }
}

/** ---------------------------
 * Navigation Title Content
 * --------------------------- */

.navigation-title-content p {
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.navigation-title-content h3 span {
  font-weight: 600;
}

/** ---------------------------
 * Badge Stato Viaggio
 * --------------------------- */
/* Badge Stato Viaggio - base comune */
span.order-status {
  display: inline-block;
  padding: 6px 12px;
  font-size: 10px;
  line-height: 10px;
  font-weight: 600;
  border-radius: 150px;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Stato: In programma */
span.order-status.next {
  background-color: #e6f4ff;
  color: #007cba;
  border-color: #b3ddf8;
}

/* Stato: Completato */
span.order-status.past {
  background-color: #e9f5e9;
  color: #2e7d32;
  border-color: #bde4bd;
}

/* Stato: Annullato */
span.order-status.null {
  background-color: #fde7e7;
  color: #d32f2f;
  border-color: #f3bcbc;
}

/** ---------------------------
 * Documenti Viaggio
 * --------------------------- */
.travel-documents-box {
  background-color: var(--bg-box);
  border: 1px solid var(--border-box-light);
  border-radius: var(--border-radius-standard);
  padding: 16px;
  box-shadow: var(--box-shadow);
}

.travel-documents-box h3 {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}

.travel-documents-box h3 .dashicons {
  margin-right: 8px;
  font-size: 18px;
  color: #0073aa;
}

.travel-documents-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.travel-documents-list li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
}

.travel-documents-list li .dashicons {
  margin-right: 6px;
  color: #0073aa;
}

.travel-documents-list li a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
  margin-left: 4px;
  font-weight: 500;
}

.travel-documents-list li a:hover {
  color: #0073aa;
}

.travel-emergency-contact {
  margin-top: 40px;
  padding: 20px;
  background-color: var(--bg-box);
  border-radius: var(--border-radius-standard);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-color);
}

.travel-emergency-contact-title {
  text-align: center;
}

.travel-emergency-contact .small {
  font-size: 13px;
  margin-top: 10px;
  opacity: 0.8;
  text-align: center;
}

.travel-documents-box legend {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0px;
  display: flex;
  align-items: center;
  padding: 0;
}

.travel-documents-box legend .dashicons {
  margin-right: 8px;
  font-size: 18px;
  color: #0073aa;
}

.travel-documents-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.travel-documents-list li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
}

.travel-documents-list li .dashicons {
  margin-right: 6px;
  color: #0073aa;
}

.travel-documents-list li a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.travel-documents-list li a:hover {
  color: #0073aa;
}

.documenti-viaggio-singolo {
  background: var(--bg-box);
  border: 1px solid var(--border-box-light);
  border-radius: var(--border-radius-standard);
  margin-bottom: 16px;
  padding: 16px;
  box-shadow: var(--box-shadow);
}

@media (max-width: 992px) {
  .documenti-viaggio-singolo {
    background: var(--bg-box);
    border: 1px solid var(--border-box-light);
    border-radius: var(--border-radius-standard);
    box-shadow: var(--box-shadow);
    padding: 16px;
    margin-bottom: 16px;
  }
}

.documenti-viaggio-singolo-header h3 {
  margin: 0 0 15px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
}

.documenti-viaggio-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.documenti-viaggio-list li {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-bottom: 10px;
}

.documenti-viaggio-list a {
  color: #0073aa;
  text-decoration: none;
  font-weight: 600;
  margin-left: 4px;
}

.documenti-viaggio-list a:hover {
  text-decoration: underline;
}

.woocommerce table.my_account_orders .button {
  white-space: nowrap;
  margin-left: 8px;
}

.woocommerce table.shop_table {
  background: var(--bg-box);
  border-color: var(--border-color-light);
  box-shadow: var(--box-shadow);
}

.woocommerce .woocommerce-customer-details address {
  background: #fff;
  border: 1px solid var(--border-color-light);
  border-radius: var(--border-radius-standard);
  box-shadow: var(--box-shadow);
  padding: 16px;
}

.u-column1.col-1.woocommerce-Address address {
  background: #fff;
  border: 1px solid var(--border-color-light);
  border-radius: var(--border-radius-standard);
  box-shadow: var(--box-shadow);
  padding: 16px;
}

.u-column2.col-2.woocommerce-Address address {
  background: #fff;
  border: 1px solid var(--border-color-light);
  border-radius: var(--border-radius-standard);
  box-shadow: var(--box-shadow);
  padding: 16px;
}

.woocommerce-account .addresses .title .edit {
  float: right;
  text-decoration: underline;
  font-weight: 600;
  margin: 12px;
}

@media only screen and (max-width: 768px) {

  .woocommerce table.shop_table_responsive tr,
  .woocommerce-page table.shop_table_responsive tr {
    display: block;
    background: var(--bg-box);
    border: 1px solid var(--border-box-light);
    border-radius: var(--border-radius-standard);
    box-shadow: var(--box-shadow);
    padding: 12px;
    margin-bottom: 16px;
  }

  .woocommerce-view-order .woocommerce table.shop_table,
  .woocommerce-area-personale .woocommerce table.shop_table {
    background: var(--bg-box);
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-standard);
    box-shadow: var(--box-shadow);
  }

  .woocommerce table.shop_table_responsive tbody th,
  .woocommerce-page table.shop_table_responsive tbody th {
    display: block;
    padding: 12px;
  }

  .woocommerce table.shop_table_responsive tbody th,
  .woocommerce-page table.shop_table_responsive tbody th a {
    font-weight: bold;
  }

  .woocommerce table.my_account_orders td,
  .woocommerce table.my_account_orders th {
    padding: 12px 16px;
    vertical-align: middle;
  }
}

/** ---------------------------
 * Dashboard Area Personale
 * --------------------------- */

/* === Layout griglia dashboard === */
.dashboard-grid.area-personale-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

@media (max-width: 1200px) {
  .dashboard-grid.area-personale-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

/** ---------------------------
 * Navigation Icons
 * --------------------------- */
.navigation-item {
  display: inline-block;
  height: 16px;
  width: 16px;
}

span.navigation-icon {
  height: 16px;
  width: 16px;
  display: inline-block;
}

span.navigation-icon svg {
  height: 16px;
  width: 16px;
  display: block;
}

/* ----------------------------------------------
 * → Navigazione My Account con icone
 * ---------------------------------------------- */

.navigation-icon-i {
  margin-right: 12px;
}

/* === NAVIGATION DESKTOP === */
.navigation-title-content {
  background: var(--bg-box);
  border: 1px solid var(--border-box-light);
  border-radius: var(--border-radius-standard);
  padding: 16px;
  box-shadow: var(--box-shadow);
  margin-bottom: 8px;
}

.dashboard-panel.is-current {
  display: none !important;
}

.travel-emergency-contact.mobile-emergency {
  display: none;
  margin-top: 32px;
}

.travel-emergency-contact.desktop-emergency {
  display: block;
  margin-top: 32px;
  background-color: var(--background-color);
  border: 1px solid var(--border-box-light);
  border-radius: var(--border-radius-standard);
  box-shadow: var(--box-shadow);
}

@media (max-width: 992px) {
  .travel-emergency-contact.mobile-emergency {
    display: block;
  }

  .travel-emergency-contact.desktop-emergency {
    display: none;
  }
}

/**************************
 Lista viaggio di nozze 
 **************************/
/* Badge Stato Ordine - base comune */
/* Stile base comune per tutti gli stati */
span.order-status-nozze {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 150px;
  border: 1px solid transparent;
  text-transform: capitalize;
}

/* Stato: Completato */
span.order-status-nozze.completed,
span.order-status-nozze.attiva,
span.order-status-nozze.wc-completed,
span.order-status-nozze.order-fid-status.gc-disponibile {
  background-color: #e9f5e9;
  color: #2e7d32;
  border-color: #bde4bd;
}

/* Stato: In elaborazione */
span.order-status-nozze.processing,
span.order-status-nozze.wc-pending,
span.order-status-nozze.wc-processing {
  background-color: #fff8e1;
  color: #f57c00;
  border-color: #ffe0b2;
}

/* Stato: In attesa */
span.order-status-nozze.on-hold,
span.order-status-nozze.pending,
span.order-status-nozze.wc-on-hold {
  background-color: #e6f4ff;
  color: #007cba;
  border-color: #b3ddf8;
}

/* Stato: Annullato */
span.order-status-nozze.cancelled,
span.order-status-nozze.esaurita,
span.order-status-nozze.wc-cancelled {
  background-color: #fde7e7;
  color: #d32f2f;
  border-color: #f3bcbc;
}

/* Stato: Fallito */
span.order-status-nozze.failed,
span.order-status-nozze.wc-failed,
span.order-status-nozze.order-fid-status.gc-esaurita {
  background-color: #fce4ec;
  color: #c2185b;
  border-color: #f8bbd0;
}

/* Stato: Rimborsato */
span.order-status-nozze.refunded,
span.order-status-nozze.wc-refunded {
  background-color: #e0f7fa;
  color: #00796b;
  border-color: #b2ebf2;
}

/* Stato: Bozza */
span.order-status-nozze.draft,
span.order-status-nozze.checkout-draft,
span.order-status-nozze.wc-draft {
  background-color: #f5f5f5;
  color: #616161;
  border-color: #d6d6d6;
}

/* Stato: Closed (custom) */
span.order-status-nozze.closed,
span.order-status-nozze.wc-closed {
  background-color: #ede7f6;
  color: #5e35b1;
  border-color: #d1c4e9;
}

/* Stato non previsto */
span.order-status-nozze.unknown,
span.order-status-nozze.custom,
span.order-status-nozze.wc-unknown,
span.order-status-nozze.order-fid-status.gc-scaduta {
  background-color: #eeeeee;
  color: #666666;
  border: 1px solid #cccccc;
}


span.gift-card-residue {
  font-size: 0.85rem;
  font-weight: 600;
}

.woocommerce-nozze-listato-header p {
  font-size: 14px;
  color: var(--text-color);
  margin-bottom: 0;
  max-width: 650px;
}

.woocommerce-nozze-listato-grid {
  display: flex;
  flex-direction: column;
}

.woocommerce-nozze-pillow {
  margin-bottom: 16px;
  display: inline-block;
  height: 100%;
  width: 100%;
}

@media (max-width: 1200px) {
  .woocommerce-nozze-pillow {
    margin-bottom: 8px;
  }
}

.woocommerce-nozze-listato-pillow {
  background: var(--bg-box);
  border: 1px solid var(--border-box-light);
  border-radius: var(--border-radius-standard);
  padding: 16px;
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
}

@media (max-width: 992px) {
  .woocommerce-nozze-listato-pillow {
    background: var(--bg-box);
    border: 1px solid var(--border-box-light);
    border-radius: var(--border-radius-standard);
    box-shadow: var(--box-shadow);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
  }
}

.woocommerce-nozze-listato-img {
  height: 130px;
  width: 130px;
  display: block;
}

img.img-nozze-pillow {
  object-fit: cover;
  object-position: center;
  height: 100%;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 4px;
}

.woocommerce-nozze-listato-texts h4 {
  font-size: 16px;
  margin-bottom: 0px;
  margin-top: 0px;
  font-weight: 600;
  line-height: 14px;
}

@media (max-width: 12000px) {
  .woocommerce-nozze-listato-texts h4 {
    font-size: 16px;
    margin-bottom: 0px;
    margin-top: 0px;
    font-weight: 600;
    line-height: 16px;
  }
}

.woocommerce-nozze-listato-texts {
  margin-left: 16px;
}

.woocommerce-nozze-listato-time {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 8px;
}

.woocommerce-nozze-listato-date {
  font-size: 12px;
  line-height: 18px;
  color: #444;
  margin-bottom: 0;
}

span.woocommerce-nozze-listato-date {
  display: inline-block;
  font-size: 12px;
  line-height: 12px;
  color: #444;
}

.woocommerce-nozze-listato-time-content {
  display: inline-block;
  font-size: 12px;
  line-height: 12px;
  color: #444;
  margin-bottom: 0;
  margin-top: 4px;
}

.woocommerce-nozze-listato-status {
  margin-top: 8px;
}

p.woocommerce-nozze-meta-line {
  font-size: 12px;
  line-height: 18px;
  color: var(--text-color);
  margin-bottom: 4px;
}

/* Icona regalo */
.alert-icon {
  font-size: 20px;
  margin-top: 2px;
}

/* Contenuto testuale */
.alert-content p {
  margin: 0;
}

.woocommerce-order-note-single {
  background: #fff;
  border: 1px solid var(--border-color-light);
  border-radius: var(--border-radius-standard);
  box-shadow: var(--box-shadow);
  padding: 16px;
}

.woocommerce-nozze-listato-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-left: 4px solid;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 2px 6px rgba(18, 34, 68, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 8px;
  border-color: var(--text-color);
  background-color: var(--bg-light);
  color: var(--text-color);
  font-weight: 600;
}

/** ---------------------------
 * Lista nozze multipla
 * --------------------------- */

@media only screen and (max-width: 768px) {
  .woocommerce-lista-nozze-multi .woocommerce table.shop_table {
    background: var(--bg-box);
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-standard);
    box-shadow: var(--box-shadow);
  }
}

.dashboard-grid-multi {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

@media (max-width: 1200px) {
  .dashboard-grid-multi {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

/* Mobile: 1 colonna */
@media (max-width: 992px) {
  .dashboard-grid-multi {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.dashboard-panel-multi {
  background: #fff;
  border: 1px solid var(--border-color-light);
  border-radius: var(--border-radius-standard);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

@media (max-width: 992px) {
  .dashboard-panel-multi {
    background: #fff;
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-standard);
    box-shadow: var(--box-shadow);
    padding: 12px;
  }
}

.dashboard-panel-content-multi {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dashboard-panel-header-multi {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.dashboard-icon-multi {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.dashboard-panel-content-multi h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-align: center;
}

.dashboard-panel-content-multi p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 0px;
  text-align: center;
}

@media (max-width: 1550px) {
  .dashboard-icon-multi {
    font-size: 16px;
    margin-bottom: 0px;
  }

  .dashboard-panel-content-multi h3 {
    font-size: 14px;
    margin-bottom: 6px;
    margin-top: 4px;
    font-weight: 600;
    text-align: center;
    line-height: 14px;
  }

  .dashboard-panel-content-multi p {
    font-size: 12px;
    line-height: 18px;
    color: #444;
    margin-bottom: 0px;
  }
}

.donation-progress-bar {
  width: 100%;
  height: 12px;
  background-color: #eee;
  border-radius: 20px;
  overflow: hidden;
  margin: 10px 0;
}

.donation-progress-bar__fill {
  height: 100%;
  background-color: var(--text-color);
  transition: width 0.6s ease;
}

.donation-progress-bar__percent {
  font-size: 14px;
  color: #444;
  margin-top: 4px;
}

.woocommerce-mia-part-mobile {
  display: none;
}

.woocommerce-mia-part-desktop {
  display: block;
}

@media (max-width: 992px) {
  .woocommerce-mia-part-mobile {
    display: block;
  }

  .woocommerce-mia-part-desktop {
    display: none;
  }

  .woocommerce-mia-part-mob {
    background: var(--bg-box);
    border: 1px solid var(--border-box-light);
    border-radius: var(--border-radius-standard);
    box-shadow: var(--box-shadow);
    padding: 12px;
  }
}

.woocommerce-mia-table {
  display: none;
}

@media (min-width: 992px) {
  .woocommerce-mia-table {
    background: var(--bg-box);
    border: 1px solid var(--border-box-light);
    border-radius: var(--border-radius-standard);
    box-shadow: var(--box-shadow);
    display: inline-table;
  }
}

img.woocommerce-mia-img {
  max-height: 600px;
  border-radius: 20px;
}

@media (max-width: 768px) {
  img.woocommerce-mia-img {
    width: 100%;
    object-fit: cover;
    height: auto;
    object-position: center;
  }
}

.woocommerce-mia-content {
  margin-top: 30px;
  max-width: 600px;
}

.woocommerce table.shop_table_responsive tbody tr:first-child td:first-child,
.woocommerce-page table.shop_table_responsive tbody tr:first-child td:first-child {
  border-top: inherit !important;
}

.donatori-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

@media (min-width: 992px) {
  .donatori-accordion-list {
    display: none;
  }
}

span.accordion-label {
  font-size: 14px;
}

.donatore-item {
  background: #fff;
  border-radius: var(--border-radius-standard);
  overflow: hidden;
}

.donatore-item summary {
  cursor: pointer;
  list-style: none;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px solid var(--border-color-light);
}

.donatore-item summary::-webkit-details-marker {
  display: none;
}

.accordion-icon {
  font-size: 20px;
  transition: transform 0.2s ease;
}

.donatore-item[open] .accordion-icon {
  transform: rotate(45deg);
  /* da + a × (visivamente simile a un – o X) */
}

.donatore-dettagli {
  padding: 12px 16px;
  font-size: 0.95rem;
  color: #333;
}

.donatore-dettagli p {
  margin: 6px 0;
}

/* Gestione messaggi lunghi */
.donatore-messaggio {
  max-height: 5.5em;
  /* circa 4 righe */
  overflow: auto;
  line-height: 1.4;
  position: relative;
  padding-right: 10px;
}

.donatore-messaggio::-webkit-scrollbar {
  width: 5px;
}

.donatore-messaggio::-webkit-scrollbar-thumb {
  background-color: #bbb;
  border-radius: 4px;
}

.woocommerce-mia-header-content h3 {
  margin-top: 0px;
}

.woocommerce-order h2 {
  margin-top: 0;
}

/* Pagina Nessuna lista Nozze */
.woocommerce-nozze-support-box {
  display: flex;
  align-items: flex-start;
  background-color: #f7faff;
  border-left: 4px solid #3b5ba5;
  padding: 16px;
  border-radius: 8px;
  margin-top: 32px;
  gap: 12px;
}

.support-icon .icon-info {
  width: 24px;
  height: 24px;
  color: #3b5ba5;
  flex-shrink: 0;
}

.support-content {
  font-size: 15px;
  line-height: 1.5;
}

/** ---------------------------
 * Lista non trovata
 * --------------------------- */

@media only screen and (max-width: 768px) {
  .woocommerce-lista-nozze-none .woocommerce table.shop_table {
    background: var(--bg-box);
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-standard);
    box-shadow: var(--box-shadow);
  }
}

.woocommerce-lista-nozze-none-support-links {
  display: flex;
  flex-direction: column;
}

.woocommerce-lista-nozze-none-support-links a {
  display: inline-block;
  border: 1px solid var(--light-blue);
  background: var(--bg-light);
  border-radius: 12px;
  padding: 16px 24px;
  margin: 0 8px 8px 0;
  font-size: 14px;
  font-weight: 600;
  width: fit-content;
  box-shadow: var(--box-shadow);
  text-decoration: none;
  color: var(--text-color);
}

.woocommerce-lista-nozze-none-support-links {
  display: flex;
  flex-direction: row;
}

@media (max-width: 992px) {
  .woocommerce-lista-nozze-none-support-links {
    display: flex;
    flex-direction: column;
  }

  .woocommerce-lista-nozze-none-support-links a {
    padding: 16px 24px;
    margin-right: 8px;
    width: 100%;
    text-align: center;
  }
}

.woocommerce-lista-nozze-none-support-links a span {
  margin-right: 8px;
}

.woocommerce-lista-nozze-none-text p {
  font-size: 14px;
  color: var(--text-color);
  margin-bottom: 0;
}

.woocommerce-lista-nozze-none-text {
  margin-bottom: 32px;
}

/*
 *
 *
 *
 *
 *
 *
 *
 *
 *
 * 
*/

/* ==========================================================================
   PAGINA ACCOUNT MOBILE
   Template: 
  account-mobile.php
   -------------------------------------------------------------------------- */
.user-info-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  flex-direction: row;
}

.user-greeting h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
}

.user-greeting .user-email {
  margin: 0;
  font-size: 0.9rem;
  color: #fff;
}

.user-avatar-circle {
  display: block;
  height: 44px;
  width: 44px;
  margin-right: 8px;
  background-color: var(--bg-dark1);
  border-radius: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 16px;
  font-weight: 800;
}

.account-mobile-header {
  display: block;
  margin-bottom: 32px;
  background-color: var(--extra-dark-blue);
  padding: 16px 16px;
  border-radius: var(--border-radius-standard);
}

.account-mobile-link-group h6 {
  margin-top: 2rem;
}

.account-mobile-link-group:first-of-type h6 {
  margin-top: 0;
}

/* Contenitore principale della sezione account mobile */
.account-mobile-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

/* Box contenitore dei link */
.account-mobile-link-wrapper {
  display: flex;
  flex-direction: column;
  border-radius: var(--border-radius-standard);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--box-shadow);
  border: 1px solid var(--bg-light2);
}

/* Singolo link */
.account-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 14px;
  font-weight: 600;
  font-family: 'HK Grotesk';
  color: var(--text-color);
  text-decoration: none;
  background: var(--background-color);
  border-bottom: 1px solid var(--bg-light2);
  transition: background 0.3s ease, color 0.3s ease;
}

.account-mobile-link:hover {
  background: var(--light-blue);
  color: var(--text-color-dark);
}

/* Icone SVG o span con icona */
.account-mobile-link svg,
.account-mobile-link span.account-mobile-icon {
  width: 18px;
  height: 18px;
  margin-right: 12px;
  display: inline-block;
  flex-shrink: 0;
}

/* Contenuto del link con icona e testo */
.account-mobile-link-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Rimuovi bordi doppi */
.account-mobile-link:first-child {
  border-top-left-radius: var(--border-radius-standard);
  border-top-right-radius: var(--border-radius-standard);
}

.account-mobile-link:last-child {
  border-bottom-left-radius: var(--border-radius-standard);
  border-bottom-right-radius: var(--border-radius-standard);
  border-bottom: none;
}

.account-mobile-text {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/** ---------------------------
 * LOg out button mobile
 * --------------------------- */
.account-mobile-logout-section {
  margin-top: 32px;
  text-align: center;
}

.custom-logout-button {
  display: inline-block;
  color: #ff3d3d;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background-color: var(--bg-light);
  border-radius: var(--border-radius-standard);
  transition: all 0.3s ease;
  align-items: center;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 800;
  font-family: 'HK Grotesk';
  text-decoration: none;
  border: 1px solid var(--bg-light2);
  transition: background 0.3s;
}

@media (max-width: 768px) {
  .custom-logout-button {
    width: 100%;
  }
}

.custom-logout-button:hover {
  background-color: #0e1a38;
  transform: translateY(-2px);
}

.custom-logout-button:active {
  transform: scale(0.98);
}

/* ==========================================================================
   TITOLO SEZIONE DASHBOARD
   Template: 
   nessun-viaggio-disponibile.php
   empty-dashboard-home.php
   dashboard-home.php
   viaggi-listato.php
   -------------------------------------------------------------------------- */
.account-section-header h2 {
  font-family: "Playfair Display";
  font-size: 52px;
  line-height: 1;
  color: var(--text-color);
  margin: 0 0 16px 0;
  font-weight: 100;
}

.account-section-header {
  margin: 0 0 32px 0;
}

@media (max-width: 992px) {
  .account-section-header h2 {
    font-size: 32px;
  }
}

/* ==========================================================================
   TESTO SOTTOTITOLO SEZIONE DASHBOARD
   Template: 
   dashboard-home.php
   viaggi-listato.php
   -------------------------------------------------------------------------- */
.account-section-header-text {
  font-size: 14px;
  color: var(--text-color);
  margin-bottom: 0;
  max-width: 674px;
}

@media (max-width: 992px) {
  .account-section-header-text {
    margin-bottom: 0;
    max-width: 80vw;
    line-height: 22px;
    font-weight: 500;
  }
}

/* ==========================================================================
   BOX DI MESSAGGIO NESSUN RISULTATO
   Template: 
   nessun-viaggio-disponibile.php
   empty-dashboard-home.php
   (alert con messaggio informativo)
   -------------------------------------------------------------------------- */
.account-section-alert {
  margin-bottom: 32px;
}

/* ==========================================================================
   TESTO DI SUPPORTO NESSUN RISULTATO
   Template: 
   nessun-viaggio-disponibile.php
   empty-dashboard-home.php
   (paragrafi introduttivi)
   -------------------------------------------------------------------------- */
.account-section-support-text {
  margin-bottom: 32px;
}

.account-section-support-text p {
  font-size: 14px;
  color: var(--text-color);
  margin-bottom: 0;
}

/* ==========================================================================
   LINK DI SUPPORTO NESSUN RISULTATO
   Template:
   nessun-viaggio-disponibile.php
   empty-dashboard-home.php
   (pulsanti: Scopri proposte, Prenota appuntamento, ecc.)
   -------------------------------------------------------------------------- */
.account-section-support-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.account-section-support-links a {
  display: inline-block;
  border: 1px solid var(--light-blue);
  background: var(--bg-light);
  border-radius: 12px;
  padding: 16px 24px;
  margin: 0 8px 8px 0;
  font-size: 14px;
  font-weight: 600;
  width: fit-content;
  box-shadow: var(--box-shadow);
  text-decoration: none;
  color: var(--text-color);
}

.account-section-support-links a span {
  margin-right: 8px;
}

@media (max-width: 992px) {
  .account-section-support-links {
    flex-direction: column;
  }

  .account-section-support-links a {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   PILLOW
   Template: 
   dashboard-home.php
   -------------------------------------------------------------------------- */
.dashboard-pillow {
  background: var(--bg-box);
  border: 1px solid var(--border-box-light);
  border-radius: var(--border-radius-standard);
  box-shadow: var(--box-shadow);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.dashboard-pillow:hover {
  border-color: var(--border-color-medium);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

@media (max-width: 992px) {
  .dashboard-pillow {
    background: var(--bg-box);
    border: 1px solid var(--border-box-light);
    border-radius: var(--border-radius-standard);
    box-shadow: var(--box-shadow);
    padding: 16px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .dashboard-pillow:hover {
    border-color: var(--bg-light2);
  }
}

.dashboard-pillow-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dashboard-pillow-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dashboard-pillow-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.dashboard-pillow-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-align: center;
}

.dashboard-pillow-content p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 0px;
  text-align: center;
}

@media (max-width: 1550px) {
  .dashboard-pillow-icon {
    font-size: 16px;
    margin-bottom: 0px;
  }

  .dashboard-pillow-content h3 {
    font-size: 14px;
    margin-bottom: 6px;
    margin-top: 4px;
    font-weight: 600;
    text-align: center;
    line-height: 14px;
  }

  .dashboard-pillow-content p {
    font-size: 12px;
    line-height: 16px;
    color: #444;
    margin-bottom: 0px;
  }
}

@media (max-width: 992px) {
  .dashboard-pillow-content h3 {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 14px;
  }
}

/* Animazione fadeInUp */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out both;
}

/* Delay per elementi multipli */
.animate-delay-1 {
  animation-delay: 0.2s;
}

.animate-delay-2 {
  animation-delay: 0.5s;
}

.menu-canvas .menu-toggle:before,
.menu-canvas .menu-toggle:after,
.menu-canvas .menu-toggle span:before {
  width: 36px;
  left: 0px;
}

.header_sticky.active_sticky .menu-canvas .menu-toggle:before,
.header_sticky.active_sticky .menu-canvas .menu-toggle:after,
.header_sticky.active_sticky .menu-canvas .menu-toggle span:before {
  width: 36px;
  left: 0px;
  background-color: var(--text-color) !important;
}

/* ==========================================================================
   STICKY HEADER – Pulsante Elementor (#nav-button a)
   ========================================================================== */

.header_sticky.active_sticky #nav-button a {
  background-color: var(--coral);
  color: #fff;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.header_sticky.active_sticky #nav-button a:hover {
  background-color: var(--coral-darker);
  color: #fff;
}

.header_sticky.active_sticky {
  background-color: #f2f5fa;
}


/* ==========================================================================
   ICONA ACCOUNT SHORTCODE – Base structure
   ========================================================================== */

#nav-account {
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  border-radius: 10px;
}

.account-nav-button {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border: none;
  background: transparent;
  font-weight: 500;
  cursor: pointer;
}

.account-nav-text {
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.account-icon-svg {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  stroke: currentColor;
  transition: stroke 0.3s ease;
}

.account-initial-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-size: 13px;
  background: var(--text-color);
  color: #fff;
  transition: background-color 0.3s ease;
}


/* ==========================================================================
   ACCOUNT – Stato iniziale in home: tutto bianco
   ========================================================================== */

body.home #nav-account,
body.home #nav-account .account-nav-button,
body.home #nav-account .account-nav-text,
body.home #nav-account .account-icon-svg {
  color: #fff;
  stroke: #fff;
}

body.home #nav-account .account-initial-circle {
  background-color: #fff;
  color: var(--text-color);
}

/*
body.home #nav-account:hover {
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}*/


/* ==========================================================================
   ACCOUNT – Sticky attivo in home: colore primario
   ========================================================================== */
/*
body.home .header_sticky.active_sticky #nav-account:hover {
  border-color: var(--text-color);
  background-color: rgba(18, 34, 68, 0.06);
}*/

header_sticky.active_sticky{
    z-index: 998!important;
}

body.home .header_sticky.active_sticky #nav-account:hover .account-nav-text {
  color: var(--coral-darker) !important;
}

body.home .header_sticky.active_sticky #nav-account:hover .account-initial-circle {
  background-color: var(--coral-darker) !important;
}

body.home .header_sticky.active_sticky ul.menu>li>a {
  color: var(--text-color) !important;
}

body.home .header_sticky.active_sticky #nav-account .account-nav-button,
body.home .header_sticky.active_sticky #nav-account .account-nav-text {
  color: var(--text-color);
}

body.home .header_sticky.active_sticky #nav-account .account-icon-svg {
  stroke: var(--text-color);
}

body.home .header_sticky.active_sticky #nav-account .account-initial-circle {
  background-color: var(--text-color);
  color: #fff;
}

/* body.home .header_sticky.active_sticky #nav-account:hover {
  border-color: var(--text-color);
} */

.main-navigation ul.menu {
  padding: 0;
}


/* ==========================================================================
   ACCOUNT – Altre pagine: colore primario diretto
   ========================================================================== */
/*
body:not(.home) #nav-account:hover {
  border-color: var(--text-color);
  background-color: transparent;
}
  body:not(.home) #nav-account:hover {
  border-color: var(--text-color);
  background-color: rgba(18, 34, 68, 0.06);
}*/

body:not(.home) #nav-account .account-nav-button,
body:not(.home) #nav-account .account-nav-text {
  color: var(--text-color);
}

body:not(.home) #nav-account .account-icon-svg {
  stroke: var(--text-color);
}

body:not(.home) #nav-account .account-initial-circle {
  background-color: var(--text-color);
  color: #fff;
}

/* ==========================================================================
   ACCOUNT – Stato loggato (iniziale + hover coerente)
   ========================================================================== */

body.logged-in #nav-account {
  color: var(--text-color);
}

/* LOGGATO – HOME iniziale (no sticky): cerchio bianco */
body.logged-in.home #nav-account .account-initial-circle {
  background-color: #fff;
  color: var(--text-color);
}

/* LOGGATO – HOME sticky attivo: colore primario */
body.logged-in.home .header_sticky.active_sticky #nav-account .account-initial-circle {
  background-color: var(--text-color);
  color: #fff;
}

/* LOGGATO – ALTRE PAGINE: colore primario */
body.logged-in:not(.home) #nav-account .account-initial-circle {
  background-color: var(--text-color);
  color: #fff;
}

body.logged-in:not(.home) .header_sticky.active_sticky #nav-account:hover .account-nav-text {
  color: var(--coral-darker) !important;
}

body.logged-in:not(.home) .header_sticky.active_sticky #nav-account:hover .account-initial-circle {
  background-color: var(--coral-darker) !important;
}

body:not(.home) .header_sticky #nav-account:hover .account-nav-text {
  color: var(--coral-darker) !important;
}

body:not(.home) .header_sticky #nav-account:hover .account-initial-circle {
  background-color: var(--coral-darker) !important;
}

/* ==========================================================================
   ACCOUNT – HOVER: cerchio cambia solo quando ha già sfondo primario
   ========================================================================== */

/* Hover su sticky in home */
body.logged-in.home .header_sticky.active_sticky #nav-account:hover .account-initial-circle {
  background-color: var(--text-color);
  color: #fff;
}

/* Hover su pagine interne */
body.logged-in:not(.home) #nav-account:hover .account-initial-circle {
  background-color: var(--text-color);
}

/* Evita override in home non sticky (cerchio resta bianco) */
body.logged-in.home:not(.header_sticky) #nav-account:hover .account-initial-circle {
  background-color: #ffffffcb;
  color: var(--text-color);
}

body.logged-in.home:not(.header_sticky) #nav-account:hover .account-nav-text {
  color: #ffffffcb;
}


/* ==========================================================================
   ACCOUNT – Dropdown menu loggato
   ========================================================================== */

.account-dropdown-wrapper {
  position: relative;
  z-index: 99;
}

/* Mostra il menu se il mouse è sopra l'intero wrapper */
.account-dropdown-wrapper:hover .account-dropdown-menu {
  display: block;
}

.account-dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  min-width: 160px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  z-index: 99;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.account-dropdown-menu li {
  list-style: none;
}

.account-dropdown-menu li a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--text-color);
  font-size: 14px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.account-dropdown-menu li a:hover {
  background: var(--coral);
  color: #fff;
}

/* ==========================================================================
   ACCOUNT – Responsive Mobile
   ========================================================================== */
body:not(.home) {
  padding-top: 70px;
}

body.woocommerce-account.woocommerce-page {
  padding: 0 !important;

}

body.woocommerce-account.woocommerce-page .inside-content {
  padding-bottom: 70px !important;
}

body.page-id-12391 {
  padding-top: 0;
}

body.page-id-12391 #header-registration {
  display: none;
}

body.page-id-12403 {
  padding-top: 0;
}

@media screen and (max-width: 768px) {
  .account-nav-text {
    display: none;
  }

  .account-nav-button {
    padding: 0;
    height: auto;
  }

  .account-icon-svg {
    margin: 0;
    width: 36px;
    height: 36px;
  }

  .account-initial-circle {
    margin: 0;
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  #nav-account {
    border: 2px solid transparent;
  }

  body.home #nav-account:hover {
    border-color: #fff;
  }

  /*
  body.home .header_sticky.active_sticky #nav-account:hover,
  body:not(.home) #nav-account:hover {
    border-color: var(--text-color);
  }*/
}

/* ==========================================================================
   HOMEPAge
   -------------------------------------------------------------------------- */
/* BOx tipologie di viaggio */
@media(max-width: 1024px) {
  .home-cat-box {
    aspect-ratio: 1;
  }
}

/* Search bar */
.select2-container--default .select2-results>.select2-results__options {
    max-height: 230px;
    overflow-y: auto;
}

#home-search-form .select2-container .select2-selection {
  background-color: transparent;

}

#home-search-form .select2-search--dropdown .select2-search__field {
  border: none !important;
  border-radius: 0;
  background: transparent;
}

#home-search-form span.select2-dropdown.select2-dropdown--below {
  position: absolute;
  bottom: 8px;
  box-shadow: unset;
}

#home-search-form .select2-results {
  padding: 16px !important;
  background-color: #FFFFFF !important;
  border: 1px solid #CACACA !important;
  box-sizing: border-box !important;
  box-shadow: 0px 25px 40px rgba(0, 0, 0, 0.05) !important;
  border-radius: 4px !important;
  margin-top: 3px;
  position: absolute;
  left: 0;
  right: 0;
}

#home-search-form .select2-search--dropdown {
  display: block;
  padding: 0 !important;
}

#home-search-form span.select2-search.select2-search--dropdown {
  padding: 0 !important;
  border-radius: 0;
}

#home-search-form .ovabrw-search .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: rgba(33, 33, 33, 1);
  font-size: 12px;
  list-style: 12px
}

#home-search-form .ovabrw-search .ovabrw-search-form .ovabrw-s-field .search-field .ovabrw-input {
  line-height: 12px;
}

#home-search-form .search-field {
  background: #fff;
  border-radius: 12px;
  padding: 12px !important;
}

#home-search-form .ovabrw-search .ovabrw-search-form .ovabrw-s-field {
  display: flex;
  flex-wrap: wrap;
  row-gap: 8px;
  gap: 8px;
  justify-content: flex-start;
  align-items: center;
  flex-grow: 1;
  width: 100%;
}

@media (max-width: 1023.98px) {
  #home-search-form .ovabrw-search .ovabrw-search-form .ovabrw-s-field .search-field {
    position: relative;
    flex: 0 0 100% !important;
    display: flex;
    flex-direction: row;
  }
}

#home-search-form .ovabrw-search .ovabrw-search-form .ovabrw-s-field .search-field .ovabrw-label {
  margin-bottom: 8px !important;
}

#home-search-form .ovabrw-search .ovabrw-search-form .ovabrw-s-field .search-field {
  padding: 8px 8px 8px 8px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

.ovabrw-search-ajax .ovabrw-tour-filter .right-filter .filter-sort .input_select_input {
  background: transparent !important;
  color: var(--text-color);
}

.ovabrw-search-ajax .ovabrw-tour-filter .right-filter .filter-sort ul.input_select_list {
  max-height: 184px;
  overflow: scroll;
  border-radius: 10px;
}

.ovabrw-search-ajax .ovabrw-search-advanced {
  margin-top: 32px;
}

@media (max-width: 1024px) {

  #home-search-form .ovabrw-search .ovabrw-search-form .ovabrw-s-field .search-field,
  #home-search-form .ovabrw-search .ovabrw-search-form .ovabrw-s-field .search-field:nth-child(1) {
    flex: 0 0 calc(50% - 3px);
  }
}

@media(min-width:1025px) {
  #home-search-form .ovabrw-search .ovabrw-search-form .ovabrw-s-field .search-field {
    position: relative;
    flex: 0 0 25%;
    min-width: 200px;
  }
}

@media (min-width: 1024px) {
  #home-search-form .ovabrw-search .ovabrw-search-form .ovabrw-s-field {
    min-width: 682px;
    max-width: 683px;
  }
}

#home-search-form .ovabrw-search-btn {
  margin-bottom: 0px !important;
  margin-top: 0px !important;
}

span.select2-dropdown.select2-dropdown--below {
  background: #fff;
}

span.select2-dropdown.select2-dropdown--below {
  box-shadow: none !important;
  border-bottom: 1px solid var(--border-color-light) !important;
  border-left: 1px solid var(--border-color-light) !important;
  border-right: 1px solid var(--border-color-light) !important;
  border-top: 1px solid var(--border-color-light) !important;
  padding: 8px;
  border-radius: 10px !important;
}


/* ==========================================================================
   SEARCH PAGE
   Widget elementor: Tour seach ajax
   -------------------------------------------------------------------------- */
/* Search bar */
.search-pages .select2-container .select2-selection {
  background-color: transparent;

}

.ovabrw-search-ajax .ovabrw-search-advanced {
  margin-top: 32px;
}

@media (max-width: 1023.98px) {
  .search-pages .ovabrw-search .ovabrw-search-form .ovabrw-s-field .search-field {
    position: relative;
    flex: 0 0 100% !important;
  }
}

@media (max-width: 1024px) {

  .search-pages .ovabrw-search .ovabrw-search-form .ovabrw-s-field .search-field,
  .search-pages .ovabrw-search .ovabrw-search-form .ovabrw-s-field .search-field:nth-child(1) {
    flex: 0 0 calc(50% - 3px);
  }
}

@media(min-width:1025px) {
  .search-pages .ovabrw-search .ovabrw-search-form .ovabrw-s-field .search-field {
    position: relative;
    flex: 0 0 auto;
    min-width: 200px;
  }
}

.search-pages .select2-search--dropdown .select2-search__field {
  border: none !important;
  border-radius: 0;
  background: transparent;
}

.search-pages span.select2-dropdown.select2-dropdown--below {
  position: absolute;
  bottom: 8px;
  box-shadow: unset;
}

.search-pages .ovabrw-guestspicker-content {
  box-shadow: none !important;
  border-bottom: 1px solid var(--border-color-light) !important;
  border-left: 1px solid var(--border-color-light) !important;
  border-right: 1px solid var(--border-color-light) !important;
  border-top: 1px solid var(--border-color-light) !important;
  padding: 8px;
  border-radius: 10px !important;
}

.search-pages .select2-results {
  padding: 16px !important;
  background-color: #FFFFFF !important;
  border: 1px solid #CACACA !important;
  box-sizing: border-box !important;
  box-shadow: 0px 25px 40px rgba(0, 0, 0, 0.05) !important;
  border-radius: 4px !important;
  margin-top: 3px;
  position: absolute;
  left: 0;
  right: 0;
}

.search-pages .select2-search--dropdown {
  display: block;
  padding: 0 !important;
}

.search-pages span.select2-search.select2-search--dropdown {
  padding: 0 !important;
  border-radius: 0;
}

.search-pages .ovabrw-search .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: rgba(33, 33, 33, 0.7215686274509804);
}

.search-pages .search-field {
  background: var(--bg-light) !important;
  border: 1px solid var(--bg-light2) !important;
  border-radius: 12px;
  padding: 8px 12px !important;
}

.search-pages .ovabrw-search .ovabrw-search-form .ovabrw-s-field {
  display: flex;
  flex-wrap: wrap;
  row-gap: 8px;
  gap: 8px;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  width: 100%;
}

.search-pages .ovabrw-search .ovabrw-search-form .ovabrw-s-field .search-field {
  padding: 8px 8px 8px 8px;
  background: #fff;
  border-radius: 12px;
}

.search-pages .ovabrw-search-ajax .ovabrw-tour-filter .right-filter .filter-sort .input_select_input {
  background: transparent !important;
  color: var(--text-color);
}

.search-pages .ovabrw-search-ajax .ovabrw-tour-filter .right-filter .filter-sort ul.input_select_list {
  max-height: 184px;
  overflow: scroll;
  border-radius: 10px;
}

.search-pages .ovabrw-search-ajax .ovabrw-search-advanced {
  margin-top: 32px;
}

.search-pages .ovabrw-search-btn {
  margin-bottom: 0px !important;
  margin-top: 0px !important;
}

.ovabrw-search-ajax .ovabrw-tour-filter {
  border-bottom: none;
}

/* Modalità lista */
.ovabrw-search-ajax .brw-search-ajax-result .ovabrw-products-result .ovabrw-single-product .product-img {
  position: relative;
  overflow: hidden;
  border-radius: 20px 0px 0px 20px;
}

/* Listato prodotti pagina di ricerca */

.search-pages .select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid var(--border-color-light) !important;
}

.search-pages .ova-product .ova_foot_product {
  background-color: transparent !important;
  padding: 10px 0px 0px 0px !important;
}

.search-pages .ova-product {
  box-shadow: none;
}

.search-pages .ova-product .ova_foot_product .ova-product-title a {
  margin: 0;
  line-height: 1;
  font-family: "Playfair Display", Sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-color);
}

.search-pages .ova-product .ova_foot_product .ova-product-title {
  padding-bottom: 8px;
}

.search-pages .ovabrw-search-ajax .brw-search-ajax-result .ovabrw-products-result .ovabrw-single-product {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  border: 1px solid var(--border-box-light);
  background: #fff;
}

/* Tipologie di viaggio */
.home-tipe-trave-box {
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  height: 100%;
  width: 100%;
}

/* ==========================================================================
   SLIDER PRODOTTI IN HOME
   Widget elementor: Product Slider
   -------------------------------------------------------------------------- */
/* Carosello viaggi */
.ova-is-featured {
  position: absolute;
  top: 16px !important;
  left: 16px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  font-weight: 100 !important;
  font-weight: 600 !important;
  padding: 8px !important;
}

.ova-tour-day {
  left: 16px !important;
  top: -46px !important;
  border-radius: 10px !important;
  margin-top: 0 !important;
  font-size: 12px !important;
  background-color: var(--bg-light) !important;
  border: none !important;
  font-weight: 600;
}

.ova-tour-day {
  color: var(--text-color) !important;
}

.home a.btn.product-btn-book-now {
  display: none !important;
}

.ovabrw-products-result-grid a.btn.product-btn-book-now {
  display: none !important;
}

.single-product a.btn.product-btn-book-now {
  display: none !important;
}

.ova-product .ova_head_product .ova-product-thumbnail {
  border-radius: 20px
}

.ova-product-location i {
  display: none;
}

.ova-product-location .location {
  font-size: 14px;
  font-weight: 600;
}

.ova-product-wrapper-price {
  padding-top: 16px;
}

.ovabrw-search-ajax .brw-search-ajax-result .ovabrw-products-result.ovabrw-products-result-grid {
  grid-row-gap: 62px;
}

.ova-product .ova_head_product .ova-product-thumbnail img {
  display: block;
  margin: 0 !important;
  width: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.9s ease-out;
  border-radius: 20px;
  overflow: hidden;
}

button.owl-prev {
  top: 33% !important;
  left: -16px !important;
  background: var(--background-color) !important;
  color: var(--text-color);
}

button.owl-prev.disabled {
  opacity: 0;
}

button.owl-next {
  top: 33% !important;
  right: -16px !important;
  background: var(--background-color) !important;
  color: var(--text-color);
}

button.owl-next.disabled {
  opacity: 0;
}

.ova-product-slider.owl-carousel .owl-nav button i {
  font-size: 32px;
  color: var(--text-color);
}

/* ==========================================================================
   SINGLE PRODUCT VIAGGIO
   ========================================================================== */
.ova-content-single-product {
  background: #fff;
}

.item.single-rental-img {
  border-radius: 20px;
  overflow: hidden;
}

.single-product-gallery .ova-gallery-slideshow.owl-carousel {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  position: relative;
}

.ova-content-single-product .single-product-header .ova-gallery-slideshow .owl-nav button.owl-next {
  margin-right: 32px;
}

.ova-content-single-product .single-product-header .ova-gallery-slideshow .owl-nav button.owl-prev {
  margin-left: 32px;
}

body .container_site {
  padding-left: 1rem;
  padding-right: 1rem;
}

body.woocommerce-checkout .container_site {
  padding-left: 0;
  padding-right: 0;
}

body .ovamegamenu_container_default {
  width: var(--container-width);
}

body .row_site,
body .elementor-section.elementor-section-boxed>.elementor-container {
  max-width: var(--container-width);
}

@media (max-width: 1023px) {

  body .row_site,
  body .elementor-section.elementor-section-boxed>.elementor-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .ova-features-product {
    padding: 32px 0;
  }
}

@media(max-width:992px) {
  .ova-features-product {
    gap: 8px;
    row-gap: 8px;
  }
}

@media (min-width: 1024px) and (max-width: 1980px) {

  body.single-product-not-rental .row_site {
    max-width: 1550px;
  }

  body .row_site,
  body .elementor-section.elementor-section-boxed>.elementor-container {
    max-width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.ova-content-single-product .container_site {
  padding: 0;
}

.ova-content-single-product .single-product-summary {
  margin: 64px 0 100px 0;
}

@media(max-width: 1024px) {
  .ova-content-single-product .single-product-summary .container_site {
    flex-direction: column;
  }

  .ova-single-product-summary-left,
  .ova-single-product-summary-right {
    width: 100%;
  }

  .ova-content-single-product .single-product-summary {
    margin: 32px 0 100px 0;
  }
}

.ova-content-single-product .single-product-header {
  background-color: var(--bg-light);
  padding-bottom:32px;
}

.ova-video-gallery .btn-video-gallery {
  background-color: #FFFFFF;
  border-radius: 10px;
  border: 1px solid var(--bg-medium) !important;
}

.ova-video-gallery .btn-video-gallery i {
  color: var(--coral);
}

.ova-forms-product .forms-wrapper {
  width: 100%;
  position: relative;
  margin-top: 0;
  z-index: 1;
  padding: 0px;
  box-shadow: none;
}

@media(max-width: 992px) {
  .ova-forms-product .forms-wrapper {
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: 20px;
    position: relative;
    z-index: 999;
  }
}

.ova-forms-product .forms-wrapper .price-product {
  margin-bottom: 1rem;
  border-radius: var(--border-radius-standard);
  background: #e0e7f2;
}

@media(max-width: 992px) {
  .ova-forms-product .forms-wrapper .price-product {
    background: #fff;
    border: 1px solid var(--border-box-light);
  }
}

.ova-forms-product .forms-wrapper .price-product .price {
  padding: 1rem;
}

.request-form-single-product {
  background: var(--bg-light);
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius-standard);
  border: 1px solid var(--bg-light2);
  padding: 2rem;
  width: 100%;
  position: relative;
  margin-top: 0;
  z-index: 1;
}

@media(max-width: 992px) {
  .request-form-single-product {
    background: #fff;
    border: 1px solid var(--bg-light2);
    padding: 1.5rem;
  }
}

.ova-forms-product .forms-wrapper .price-product .price .regular-price {
  font-weight: 600;
  font-size: 28px;
  line-height: 30px;
  letter-spacing: -1px;
  color: var(--text);
}

span.lsv-max-price {
  font-weight: 600;
  font-size: 28px;
  line-height: 30px;
  letter-spacing: -1px;
  color: var(--text);
}

.ovabrw-guest-info {
  display: none !important;
}

.request-form-single-form div#request-form {
  display: block !important;
}

.ova-features-product .feature {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: fit-content;
  border: 1px solid var(--border-box-light);
  background: white;
  border-radius: 10px;
  padding: 12px 24px;
}

.ova-features-product .feature .title-desc .title {
  margin: 0px 8px 0px 0px;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: var(--text);
}

.title-desc {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.ova-features-product .feature i {
  font-size: 20px;
  color: var(--primary);
  line-height: 1;
}

.content-product-item h2 {
  color: var(--text-color);
}

.tour-plan-content .item-tour-plan .tour-plan-title {
  position: relative;
  padding: 1rem;
  background: var(--bg-medium);
  border-radius: 10px;
  cursor: pointer;
}

.tour-plan-content .item-tour-plan .tour-plan-description {
  display: none;
  margin-top: 4px;
  padding: 2rem;
  background: var(--bg-box);
  border: 1px solid var(--border-box-light);
  border-radius: var(--border-radius-standard);
}

@media(max-width: 768px) {
  .tour-plan-content .item-tour-plan .tour-plan-description {
    padding: 1rem;
  }
}

.tour-plan-content .item-tour-plan {
  margin-bottom: 8px;
}

.tour-included-excluded-content {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-direction: column;
  align-items: flex-start;
}

#tour-included-excluded {
  display: flex;
  gap: 32px;
}

#tour-included-excluded {
  display: flex;
  gap: 32px;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--border-box-light);
}

@media(max-width: 768px) {
  #tour-included-excluded {
    display: flex;
    flex-direction: column;
  }
}

.content-product-item h2 {
  color: var(--text-color);
  margin-top: 0;
  font-size: 28px;
  line-height: 32px;
  margin-bottom: 10px;
  font-weight: 700;
}

#tour-plan {
  margin-bottom: 2rem;
  margin-top: 2rem;
}

@media(max-width: 992px) {
  #tour-plan {
    margin-bottom: 3rem;
    margin-top: 3rem;
  }
}

.content-product-item ul li {
  font-weight: 500;
  line-height: 1.5;
}

.ova-forms-product .forms-wrapper .price-product .label {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  font-weight: 600;
  line-height: 28px;
  margin-bottom: 10px;
  padding: 1rem;
  background: var(--dark-blue);
  color: #fff;
  font-size: 28px;
  border-top-right-radius: var(--border-radius-standard);
  border-top-left-radius: var(--border-radius-standard);
}

.ova-forms-product .forms-wrapper .price-product .label i {
  font-size: 28px;
  color: #fff;
  font-weight: 700;
}

.request-form-single-title h2 {
  margin-top: 0px;
  margin-bottom: 0px;
}



.form-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--light-blue);
  background: var(--bg-light);
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 600;
  width: 100%;
  box-shadow: var(--box-shadow);
  text-decoration: none;
  color: var(--text-color);
  min-height: 70px;
}

.form-wa:hover {
  background: var(--bg-light2);
  border-color: var(--bg-dark2);
}

@media(max-width: 992px) {

  .form-wa {
    background: #fff;
  }
}

svg.form-svg-wa {
  width: 24px;
  height: 24px;
  color: var(--dark-blue);
}

.form-wa span {
  margin-right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-phone {
  display: none;
}

@media(max-width: 992px) {
  .form-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--light-blue);
    background: #fff;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    box-shadow: var(--box-shadow);
    text-decoration: none;
    color: var(--text-color);
    min-height: 70px;
  }

  .form-phone:hover {
    background: var(--bg-light2);
    border-color: var(--bg-dark2);
  }


  .form-phone span {
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  svg.form-svg-phone {
    width: 24px;
    height: 24px;
    color: var(--dark-blue);
  }
}

.form-appointmens {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--light-blue);
  background: var(--bg-light);
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 600;
  width: 100%;
  box-shadow: var(--box-shadow);
  text-decoration: none;
  color: var(--text-color);
  min-height: 70px;
}

.form-appointmens:hover {
  background: var(--bg-light2);
  border-color: var(--bg-dark2);
}

@media(max-width: 992px) {

  .form-appointmens {
    background: #fff;
  }
}

svg.form-svg-appointmens {
  width: 24px;
  height: 24px;
  color: var(--dark-blue);
}

.form-appointmens span {
  margin-right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.forms-buttons {
  display: flex;
  flex-direction: row;
  margin-bottom: 1rem;
  gap: 8px;
}

@media(max-width: 992px) {
  .forms-buttons {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
  }
}

.form-or p {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 14px;
  color: var(--text);
}

.request-form-single-title h2 {
  margin-top: 0px;
  margin-bottom: 0px;
  text-align: center;
  font-size: 28px;
  line-height: 28px;
}

@media(max-width: 992px) {
  .ova-content-single-product .single-product-header .ova-location-review {
    margin-bottom: 1rem;
  }

  .ova-forms-product .forms-wrapper form.form .ovabrw-form-container {
    padding-top: 1rem;
  }
}

.ova-content-single-product .single-product-related .related-title {
  margin: 0;
  padding-bottom: 3rem;
  font-size: 28px;
  line-height: 28px;
  letter-spacing: -0.1px;
  text-transform: none;
  font-feature-settings: "pnum" on, "onum" on;
}

.ova-product {
  text-align: left !important;
  list-style-type: none;
  box-shadow: none;
  border-radius: 0;
  overflow: hidden;
  height: fit-content;
}

.ova-product .ova_foot_product {
  transition: all 0.3s ease;
  position: relative;
  background-color: transparent !important;
  padding: 8px 8px 0px 0px;
}

.ova-single-product-summary-left h2 {
  color: var(--text-color);
  margin-top: 0px;
  font-size: 28px;
  line-height: 32px;
  margin-bottom: 10px;
  font-weight: 700;
}

.ova-forms-product .forms-wrapper .ova-request-form form.request-form .request-form-submit {
  position: relative;
  width: 100%;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  padding: 16px 24px;
  margin: 0;
  color: #FFFFFF;
  height: 70px;
  border-radius: var(--border-radius-standard);
  box-sizing: border-box;
  transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  background: var(--coral);
  border-color: var(--coral-darker);
}

.ova-forms-product .forms-wrapper .ova-request-form form.request-form .request-form-submit:hover {
  color: #fff;
  background: var(--text-color);
  border-color: var(--text-color);
}

.ova-content-single-product .single-product-related {
  margin: 0;
  padding-bottom: 100px;
}

footer.footer {
  clear: both;
  padding-bottom: 45px;
  padding-top: 45px;
  background-color: var(--text);
  color: #fff;
  text-align: center;
  margin-top: 0px;
}

.ova-video-gallery .btn-share .ova-social li a i {
  color: var(--coral);
}

/* ==========================================================================
   PAGINA SINGOLA LISTA NOZZE/REGALO
   Template: content-single-donation.php
   ========================================================================== */
.product_cat-lista-nozze .product_meta,
.product_cat-lista-regalo .product_meta,
.single-product-not-rental .product_meta {
  display: none !important;
}

/* Form donazione */
.wcdp-progress-style-2 {
  margin-bottom: 2rem !important;
}

.wcdp-row {
  margin: 0 0 2rem !important;
}

.wcdp_options>li>label {
  text-align: center;
  display: block;
  background: var(--bg-light) !important;
  color: var(--dark-blue) !important;
  padding: 1rem !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  font-size: 18px !important;
  border: 1px solid var(--border-box-light) !important;
}

.wcdp_options>li>label:hover {
  background: var(--bg-medium) !important;
}

label.wcdp-button-label:hover {
  background: var(--bg-medium) !important;
}

.wcdp-progress-style-2 .wcdp-thermometer-bg {
  background-color: var(--coral) !important;
  margin: 0 !important;
  height: 2rem !important;
  border-radius: 10px !important;
}

.wcdp-progress {
  margin-top: 1rem !important;
}

ul.wcdp_options>li>input:checked+label {
  background: var(--bg-dark2) !important;
  color: var(--label-text-checked) !important;
}

.wcdp_options {
  margin-top: 1rem !important;
}

.wcdp-progress-style-2 {
  margin-bottom: 3rem !important;
  padding: 2rem !important;
  border: 1px solid var(--coral) !important;
  border-radius: 20px !important;
  background: #fef9f9;
}

.woocommerce div.product div.images img {
  border-radius: 20px;
}

button.button.wcdp-button {
  float: none;
  width: 100%;
  height: 80px;
  background: var(--dark-blue);
  color: #fff;
  font-size: 18px;
  padding: 1rem;
  border-radius: 10px;
}

body.single-product-not-rental {
  background-color: #fff;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button:hover {
  background-color: var(--bg-dark2);
  text-decoration: none;
  background-image: none;
  color: #fff;
}

.wp-block-woocommerce-checkout-order-summary-block {
  border: 1px solid var(--border-box-light);
  border-radius: 10px;
  box-sizing: border-box;
  background: var(--bg-box);
}

.wc-block-components-radio-control.wc-block-components-radio-control--highlight-checked.wc-block-components-radio-control--highlight-checked--first-selected {
  background: var(--bg-box);
}

@media(max-width: 699px) {
  .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title {
    padding: 20px 12px !important;
  }

  .wc-block-components-totals-wrapper {
    padding: 16px 12px !important;
  }
}

body.single-product-not-rental.woocommerce #woo_main {
  margin-top: 90px;
  margin-bottom: 90px;
  padding: 0;
}

.single-product-not-rental .container_site {
  padding: 0;
}

/* ==========================================================================
   PAGINA CHECKOUT
   Template: form-checkout.php
   ========================================================================== */
body.woocommerce-checkout {
  background-color: #F2F5FA;
}

.woocommerce-checkout #main-content {
  padding-top: 60px;
}

body.woocommerce-checkout .wcdp-body {
  padding: 2rem 2rem 0rem 2rem;
  border-radius: 20px;
  box-shadow: none;
  background: #fff;
  border: 1px solid var(--border-box-light);
  margin-bottom: 3rem;
}

@media(max-width: 1024px) {
  body.woocommerce-checkout .wcdp-body {
    padding: 1rem 1rem 0rem 1rem;
  }
}

body.woocommerce-checkout svg.wcdp-divider-arrow {
  display: none;
}

/* === Layout Checkout 2 colonne (flex) === */
.lsv-checkout-grid {
  display: flex;
  flex-wrap: wrap;
  /* stack su mobile */
  align-items: flex-start;
  /* allinea top */
  gap: 2rem;
  /* spazio tra colonne */
}

/* Colonna sinistra: dati + pagamento */
.lsv-checkout-main {
  box-sizing: border-box;
  width: 65%;
  padding-right: 2rem;
  min-width: 0;
}

/* Colonna destra: solo riepilogo ordine */
.lsv-checkout-summary {
  box-sizing: border-box;
  width: 35%;
  padding-left: 1rem;
  position: sticky;
  top: 100px;
  align-self: flex-start;
  max-width: 420px;
}

/* Responsive */
@media(max-width: 1344px) {

  .lsv-checkout-main {
    width: 100%;
    padding: 0;
  }

  .lsv-checkout-summary {
    width: 100%;
    padding: 0;
  }


  .lsv-checkout-summary {
    position: static;
    max-width: none;
    top: 0;
  }
}

.woocommerce-NoticeGroup.woocommerce-NoticeGroup-checkout {
  margin-bottom: 32px;
}


.lsv-checkout-extra-box {
  color: #fff;
  margin-bottom: 3rem;
  padding: 2rem;
  border: none;
  border-radius: 10px !important;
  background: var(--extra-dark-blue);
}

@media(max-width: 1024px) {
  .lsv-checkout-extra-box {
    padding: 1rem;
  }
}

textarea#lsv_greeting_message {
  border: none;
  height: 150px;
  padding: 1rem;
  border-radius: 10px;
}

.lsv-checkout-extra-box h3,
.lsv-checkout-extra-box label.required_field {
  color: #fff !important;
  padding-right: 1rem;
}

.woocommerce-checkout #customer_details input {
  border-color: var(--text);
  padding: 1rem;
  color: var(--text);
  border-radius: 10px;
}

.woocommerce-checkout #customer_details .select2-container .select2-selection--single .select2-selection__rendered {
  padding: 1rem;
  line-height: 28px;
}

.woocommerce-checkout #customer_details .select2-container .select2-selection--single {
  height: 58px;
  border: 1px solid;
  border-color: var(--text);
  border-radius: 10px;
}

/* LSV: controllo visibilità description Messaggio di auguri al focus */
.lsv-checkout-extra-box #lsv_greeting_message_field .description {
  display: none;
  margin-top: 8px;
  font-size: 1rem;
  color: #fff;
  font-weight: 500;
}

.lsv-checkout-extra-box #lsv_greeting_message_field:focus-within .description,
.lsv-checkout-extra-box #lsv_greeting_message:focus+.description {
  display: block;
}

.woocommerce-checkout #payment {
  border-radius: 0px;
  background: var(--bg-light);
}

.woocommerce-checkout #payment ul.wc_payment_methods {
  padding: 0;
  border-bottom: none;
  border-bottom-color: none;
}

#add_payment_method #payment ul.payment_methods li,
.woocommerce-cart #payment ul.payment_methods li,
.woocommerce-checkout #payment ul.payment_methods li {
  line-height: 2;
  text-align: left;
  margin: 0;
  font-weight: 400;
  padding: 1rem;
  border: 1px solid var(--text-color);
  border-radius: 10px;
  background: #fff;
  margin-bottom: 1rem;
}

.woocommerce-checkout #payment div.form-row {
  padding: 0;
}

.woocommerce-terms-and-conditions-wrapper {
  margin-left: 16px;
}

.woocommerce-privacy-policy-text p {
  margin-bottom: 1rem;
}

.woocommerce-checkout #payment .place-order #place_order {
  font-size: 1.2em;
  color: #fff;
  background-color: var(--primary);
  width: 100%;
  height: 80px;
  background: var(--dark-blue);
  color: #fff;
  font-size: 18px;
  padding: 1rem;
  border-radius: 10px;
}

.lsv-checkout-summary .woocommerce table.shop_table th {
  font-weight: 700;
  padding: 1rem;
  line-height: 1.5em;
}

/* ==========================================================================
   MESSAGGI WOOCOMMERCE - Stile ui-alert
   ========================================================================== */

/* Base comune per tutti i messaggi WooCommerce */
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  padding: 1em 2em 1em 3.5em !important;
  border-left: 4px solid !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  box-shadow: 0 2px 6px rgba(18, 34, 68, 0.05) !important;
  transition: all 0.3s ease !important;
  margin-bottom: 8px !important;
  list-style: none !important;
  background-color: #fff !important;
  border-top: none !important;
}

/* Icona per i messaggi */
.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before {
  content: "" !important;
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

/* Icona per errori */
.woocommerce-error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b00020'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E") !important;
}

/* Icona per info */
.woocommerce-info::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23122444'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E") !important;
}

/* Icona per messaggi di successo */
.woocommerce-message::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2328a745'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") !important;
}

/* Stili specifici per tipo di messaggio */

/* Messaggi di errore */
.woocommerce-error {
  border-color: #b00020 !important;
  background-color: #fff4f4 !important;
  color: #861622 !important;
}

/* Messaggi informativi */
.woocommerce-info {
  border-color: var(--text-color) !important;
  background-color: var(--bg-light) !important;
  color: var(--text-color) !important;
}

/* Messaggi di successo */
.woocommerce-message {
  border-color: #28a745 !important;
  background-color: #ebf8f0 !important;
  color: #1e6c3b !important;
}

/* Rimuovi margini dai paragrafi interni */
.woocommerce-error p,
.woocommerce-info p,
.woocommerce-message p {
  margin: 0 !important;
}

/* Ultimo messaggio senza margine */
.woocommerce-error:last-child,
.woocommerce-info:last-child,
.woocommerce-message:last-child {
  margin-bottom: 0 !important;
}

/* Override per checkout specifico */
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-message {
  background-color: #fff !important;
}

.woocommerce-checkout .woocommerce-error {
  border-radius: 8px !important;
  border: none !important;
  border-left: 4px solid #b00020 !important;
  box-shadow: 0 2px 6px rgba(18, 34, 68, 0.05) !important;
}

.woocommerce-order-received .woocommerce ul.order_details {
  padding: 1rem 1rem 0rem 1rem;
  border: 1px solid var(--text);
  border-radius: 10px;
}

.woocommerce-order-section.lsv-greeting-summary {
  box-shadow: var(--box-shadow);
  background: rgb(255, 255, 255);
  border: 1px solid var(--border-color-light);
  border-radius: var(--border-radius-standard);
  padding: 16px;
}

@media(max-width: 572px) {
  .wcdp_amount {
    grid-template-columns: 1fr 1fr !important;
  }
}

.wc-empty-cart-message {
  margin-bottom: 32px;
}

body.woocommerce-cart,
body.woocommerce-shop {
  background-color: #fff;
  padding-top: 120px;
}

body.woocommerce-cart .inside-content {
  min-height: calc(70vh - 200px);
}

a.button.wc-backward {
  font-family: "Figtree", Sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.63em;
  color: #1A2E55;
  background-color: #FAA5B0;
  border-radius: 10px 10px 10px 10px;
  padding: 10px 30px 10px 30px;
}

/* ==========================================================================
   PRODOTTO GIFT CARD
   ========================================================================== */

.lsv-gc-fields {
  margin: 16px 0;
  padding: 2rem;
  border: 1px solid #E6EAF2;
  background: var(--bg-light);
  border: 1px solid #E6EAF2;
  border-radius: 20px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.01);
}

/* ==========================================================================
   DASHBOARD GIFT CARD PILLOW
   ========================================================================== */

.dashboard-pillow .dashboard-pillow-content small {
  font-size: 11px;
  color: #666;
  line-height: 1.3;
  display: block;
  margin-top: 4px;
}

.dashboard-pillow .dashboard-pillow-content small strong {
  font-weight: 600;
  color: var(--text-color);
}

.lsv-gc-gift-block input {
  width: 100%;
  padding: 1rem;
  border: 1px solid #E6EAF2;
  border-radius: 10px;
  background: #fff;
}

.lsv-gc-gift-block textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #E6EAF2;
  border-radius: 10px;
  background: #fff;
}

/*
form.variations_form.cart {
  background: #fff;
  padding: 2rem;
  display: block;
  border: 1px solid #E6EAF2;
  border-radius: 20px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.01);
}*/

.woocommerce-variation-price {
  margin-top: 2rem !important;
  padding: 2rem !important;
  border: 1px solid var(--coral) !important;
  border-radius: 20px !important;
  background: #fef9f9;
  font-weight: 700;
}

/* ==========================================================================
   ORDER CONFIRMATION GIFT CARD SECTIONS
   ========================================================================== */

.lsv-giftcard-summary {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.lsv-giftcard-summary h2 {
  color: #495057;
  margin: 0 0 1rem 0;
  font-size: 1.25rem;
}

.lsv-giftcard-recipient,
.lsv-giftcard-message,
.lsv-giftcard-details {
  margin: 1rem 0;
  padding: 1rem;
  background: white;
  border-radius: 6px;
  border: 1px solid #e9ecef;
}

.lsv-giftcard-recipient h3,
.lsv-giftcard-message h3,
.lsv-giftcard-details h3 {
  color: #495057;
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  font-weight: 600;
}

.lsv-giftcard-recipient p,
.lsv-giftcard-message p {
  margin: 0;
  color: #6c757d;
}

.lsv-giftcard-details ul {
  margin: 0;
  padding-left: 1.5rem;
}

.lsv-giftcard-details li {
  margin: 0.25rem 0;
  color: #6c757d;
}

.lsv-giftcard-details strong {
  color: #495057;
}

#scrollUp {
    bottom: 16px;
    right: 16px;
    border-radius: 12px;
}
#scrollUp i {
    padding: 16px 16px 8px 16px;
}
.single-product #scrollUp {
   display:none!important;
}

button.single_add_to_cart_button.button.alt {
  width: 100%;
  height: 80px;
  background: var(--dark-blue);
  color: #fff;
  font-size: 18px;
  padding: 1rem;
  border-radius: 10px;
}

.woocommerce-form-login-toggle {
  margin-bottom: 32px;
}

.product-appointmens-btn {
  display: none;
  visibility: hidden;
  opacity: 0;
}

@media(max-width: 768px) {
  .product-appointmens-btn {
    position: fixed;
    bottom: 4px;
    left: 16px;
    right: 16px;
    display: block;
    visibility: visible;
    opacity: 1;
    border: 1px solid var(--bg-dark2);
    background: var(--bg-box);
    border-radius: 12px;
    padding: 16px 24px;
    margin: 0 8px 8px 0;
    font-size: 14px;
    font-weight: 600;
    width: calc(100% - 32px);
    box-shadow: var(--box-shadow);
    text-decoration: none;
    color: var(--text-color);
    text-align: center;
    z-index: 99;
  }

  a.btn-appointmens-fixed {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 16px;
  }
}

/* ==========================================================================
   FORM CONTATTO 
   WEB
   FIERA
   SEDE
   ========================================================================== */
.lsv-pillow-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lsv-pillow {
  border: 1px solid var(--border-color-light);
  border-radius: var(--border-radius-standard);
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
}

.lsv-pillow.active {
  border-color: var(--extra-dark-blue);
  background: var(--light-blue);
}

.lsv-counter {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lsv-counter button {
  border: 1px solid var(--border-color-light);
  background: #fff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
}

#lsv-bambini-eta-wrapper {
  display: none;
  margin-top: 10px;
}

/* ===========================================
   STILI FORM CONTATTO - LSV REGISTRATION STYLES
   =========================================== */

/* Container principale shortcode */
.lsv-register-form-container {
  max-width: 762px;
  margin: 0 auto;
  padding: 80px 0;
}

/* Woo error list within our container */
.lsv-register-form-container .woocommerce-error {
  list-style: none;
  margin: 0 0 1.5rem 0;
  border: 1px solid #f5c6cb;
  background: #f8d7da;
  color: #721c24;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.lsv-register-form-container .woocommerce-error li {
  margin-top: 12px;
  font-weight: 600;
  font-size: 16px;
  line-height: 16px;
}

.lsv-register-form-container .woocommerce-error:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(114, 28, 36, 0.15);
}

/* Titolo del form */
.lsv-form-title {
  text-align: center;
  color: #122244;
  margin-bottom: 2rem;
  font-size: 38px;
  font-family: 'Playfair Display';
  font-weight: 600;
}

/* Descrizione del form */
.lsv-form-description {
  background: #f8f9fa;
  border-left: 4px solid #0073aa;
  padding: 15px 20px;
  margin-bottom: 25px;
  border-radius: 4px;
}

.lsv-form-description p {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.5;
}

button.button-link.lsv-remove-participant {
  background: #ec3d3d;
  border: none;
  font-weight: 600;
}

/* Layout form con classi WooCommerce */
.lsv-register-form {
  background: #fff;
  border: 1px solid #E6EAF2;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.01);
}

@media(max-width: 761px) {
  .lsv-register-form {
    padding: 2rem;
  }
}

form.lsv-register-form p {
  margin-bottom: 0;
}

/* Label sopra gli input */
.lsv-register-form .form-row label,
.lsv-register-form .lsv-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.lsv-register-form .form-row input,
.lsv-register-form .form-row select,
.lsv-register-form .form-row textarea,
.lsv-register-form .lsv-field input,
.lsv-register-form .lsv-field select,
.lsv-register-form .lsv-field textarea {
  width: 100%;
  padding: 1.5rem;
  border: 1px solid #c8c8c8;
  border-radius: 10px;
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* ==============================
   Campo Password con icona toggle
   ============================== */

/* Wrapper */
.lsv-register-form-container .password-input {
  position: relative;
  display: block;
  margin-bottom: 2rem;
}

/* Input password: annulla margine bottom e aggiunge spazio a destra */
.lsv-register-form-container .password-input input[type="password"],
.lsv-register-form-container .password-input input[type="text"] {
  margin-bottom: 0;
  padding-right: 3rem;
}

/* Bottone toggle */
.lsv-register-form-container .show-password-input {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  width: 32px;
  height: 32px;
  padding: 0;
  line-height: 0;
  appearance: none;
  -webkit-appearance: none;
}

/* Stato default: occhio */
.lsv-register-form-container .show-password-input::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  margin: 5px auto;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-image: url("data:image/svg+xml,<svg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M17.3 3.3C16.9 2.9 16.2 2.9 15.7 3.3L13.3 5.7C12.2437 5.3079 11.1267 5.1048 10 5.1C6.2 5.2 2.8 7.2 1 10.5C1.2 10.9 1.5 11.3 1.8 11.7C2.6 12.8 3.6 13.7 4.7 14.4L3 16.1C2.6 16.5 2.5 17.2 3 17.7C3.4 18.1 4.1 18.2 4.6 17.7L17.3 4.9C17.7 4.4 17.7 3.7 17.3 3.3ZM6.7 12.3L5.4 13.6C4.2 12.9 3.1 11.9 2.3 10.7C3.5 9 5.1 7.8 7 7.2C5.7 8.6 5.6 10.8 6.7 12.3ZM10.1 9C9.6 8.5 9.7 7.7 10.2 7.2C10.7 6.8 11.4 6.8 11.9 7.2L10.1 9ZM18.3 9.5C17.8 8.8 17.2 8.1 16.5 7.6L15.5 8.6C16.3 9.2 17 9.9 17.6 10.8C15.9 13.4 13 15 9.9 15H9.1L8.1 16C8.8 15.9 9.4 16 10 16C13.3 16 16.4 14.4 18.3 11.7C18.6 11.3 18.8 10.9 19.1 10.5C18.8 10.2 18.6 9.8 18.3 9.5ZM14 10L10 14C12.2 14 14 12.2 14 10Z' fill='%23111111'/></svg>");
}

/* Stato attivo: occhio sbarrato (classe sul WRAPPER) */
.lsv-register-form-container .password-input.display-password .show-password-input::before {
  background-image: url("data:image/svg+xml,<svg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M18.3 9.49999C15 4.89999 8.50002 3.79999 3.90002 7.19999C2.70002 8.09999 1.70002 9.29999 0.900024 10.6C1.10002 11 1.40002 11.4 1.70002 11.8C5.00002 16.4 11.3 17.4 15.9 14.2C16.8 13.5 17.6 12.8 18.3 11.8C18.6 11.4 18.8 11 19.1 10.6C18.8 10.2 18.6 9.79999 18.3 9.49999ZM10.1 7.19999C10.6 6.69999 11.4 6.69999 11.9 7.19999C12.4 7.69999 12.4 8.49999 11.9 8.99999C11.4 9.49999 10.6 9.49999 10.1 8.99999C9.60003 8.49999 9.60003 7.69999 10.1 7.19999ZM10 14.9C6.90002 14.9 4.00002 13.3 2.30002 10.7C3.50002 8.99999 5.10002 7.79999 7.00002 7.19999C6.30002 7.99999 6.00002 8.89999 6.00002 9.89999C6.00002 12.1 7.70002 14 10 14C12.2 14 14.1 12.3 14.1 9.99999V9.89999C14.1 8.89999 13.7 7.89999 13 7.19999C14.9 7.79999 16.5 8.99999 17.7 10.7C16 13.3 13.1 14.9 10 14.9Z' fill='%23111111'/></svg>");
}

/* Accessibilità */
.lsv-register-form-container .show-password-input:focus-visible {
  outline: 2px solid var(--text-color, #003248);
  outline-offset: 2px;
}

/* Errori inline per campo */
.lsv-field.has-error input,
.lsv-field.has-error select,
.lsv-field.has-error textarea {
  border-color: #e74c3c;
}

.lsv-field .field-error {
  color: #e74c3c;
  font-size: 12px;
  margin-top: -10px;
  margin-bottom: 10px;
  display: block;
}

.lsv-register-form select:not([size]):not([multiple]) {
  border: 1px solid #c8c8c8;
  border-radius: 10px;
  padding: 1.5rem;
}

.lsv-register-form .form-row input:focus,
.lsv-register-form .form-row select:focus,
.lsv-register-form .form-row textarea:focus,
.lsv-register-form .lsv-field input:focus,
.lsv-register-form .lsv-field select:focus,
.lsv-register-form .lsv-field textarea:focus {
  border-color: #0073aa;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

@media(max-width: 767.99px) {
  select.lsv-dob-day {
    margin-bottom: 0 !important;
  }

  select.lsv-dob-month {
    margin-bottom: 0px !important;
  }
}

/* Data di nascita su una riga */
.lsv-dob-wrap {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  align-items: end;
}

.lsv-dob-field {
  flex: 1;
  min-width: 0;
}

.lsv-dob-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lsv-dob-field input {
  width: 100%;
  text-align: center;
}

/* Stili per campi extra */
.lsv-register-form .lsv-field label {
  margin-bottom: 8px;
}

/* Radio buttons */
.lsv-register-form .lsv-field input[type="radio"] {
  width: auto;
  margin-right: 8px;
  margin-bottom: 0;
}

.lsv-register-form .lsv-field label:has(input[type="radio"]) {
  display: inline-block;
  margin-right: 20px;
  margin-bottom: 8px;
  font-weight: normal;
}

.lsv-participants {
  margin: 12px 0 0;
}

.lsv-participants-description {
  margin: 10px 0 15px 0;
  padding: 12px 12px;
  background: #a5d6cb26;
  border-left: 3px solid #a5d6cb;
  border-radius: 10px;
}

.lsv-register-form .lsv-add-participant {
  width: 100%;
  padding: 1rem;
  font-size: 16px;
  font-weight: 600;
  background: #a5d6cb;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
  padding: 1.5rem;
}

.lsv-register-form .lsv-add-participant:hover {
  background: #6cd2bd;
}

.lsv-participants-description p {
  margin: 0;
  font-size: 15px;
  color: #00614a;
}

.lsv-participant-row {
  border: 1px solid #e5e5e5;
  padding: 1rem;
  border-radius: 10px;
  margin-top: 1rem;
  background: #fafafa;
  margin-bottom: 1rem;
}

.lsv-participant-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.lsv-participant-row label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.lsv-participant-row input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  margin-bottom: 15px;
}

.lsv-other {
  margin-top: 8px;
}

.lsv-static-box {
  padding: 1rem;
  background: #F2F5FA;
  border: 1px solid #E6EAF2;
  border-radius: 10px;
  margin: 2rem 0;
}

.lsv-static-box .lsv-static-content {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 8px;
  line-height: 1.5;
  color: #222;
  white-space: pre-line;
}

.form-row.form-row-wide.lsv-field.lsv-field-lsv_trip_type {
  margin-top: 2rem;
}

.form-row.form-row-wide.lsv-field.lsv-field-lsv_consent_2,
.form-row.form-row-wide.lsv-field.lsv-field-lsv_traveled_5y,
.form-row.form-row-wide.lsv-field.lsv-field-lsv_has_voucher,
.form-row.form-row-wide.lsv-field.lsv-field-lsv_consent_1 {
  margin-bottom: 2rem;
}

/* Pulsante submit */
.lsv-register-form .button-form-submit-reg {
  width: 100%;
  padding: 1rem;
  font-size: 16px;
  font-weight: 600;
  background: #122244;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 2rem;
  height: 80px;
}

.lsv-register-form .button-form-submit-reg:hover {
  background: #005a87;
}

/* ========================================
   CONTACT FORM 7 CONSULENZA VIAGGIO - STILI UNIVOCI
   ======================================== */

/* Container specifico per form consulenza */


.cf7-consulenza-form {
  background: #fff;
  border: 1px solid #E6EAF2;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.01);
}

@media (max-width: 768px) {
  .cf7-consulenza-form {
    background: var(--bg-box);
    border-color: var(--border-box-light);
  }
}

.cf7-consulenza-title {
  text-align: center;
  color: #122244;
  margin-top: 0;
  margin-bottom: 2rem;
  font-size: 38px;
  font-family: 'Playfair Display';
  font-weight: 600;
}

@media (max-width: 768px) {
  .cf7-consulenza-title {
    font-size: 28px;
  }
}

/* Field specifici per consulenza */
.cf7-consulenza-field {
  margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
  .cf7-consulenza-field {
    margin-bottom: 0.5rem;
  }
}

.cf7-consulenza-field h4 {
  display: inline-block;
}

@media (max-width: 768px) {
  .cf7-consulenza-field h4 {
    font-size: 16px;
  }
}

.cf7-consulenza-field label {
  display: block;
  margin-bottom: 0;
  font-weight: 600;
  color: #000;
  font-size: 16px;
}

.cf7-consulenza-field input,
.cf7-consulenza-field select,
.cf7-consulenza-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.2s ease;
  background: #fff;
}

@media (max-width: 768px) {

  .cf7-consulenza-field input,
  .cf7-consulenza-field select,
  .cf7-consulenza-field textarea {
    font-size: 14px;
  }
}

.cf7-consulenza-field input:focus,
.cf7-consulenza-field select:focus,
.cf7-consulenza-field textarea:focus {
  outline: none;
  border-color: #0073aa;
  box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

/* Grid Layout per consulenza */
.cf7-consulenza-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Data di nascita specifica */
.cf7-consulenza-dob-wrap {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  align-items: end;
}

.cf7-consulenza-dob-field {
  flex: 1;
  min-width: 0;
}

.cf7-consulenza-dob-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cf7-consulenza-dob-field input {
  width: 100%;
  text-align: center;
}

/* Input numerici specifici */
.cf7-consulenza-num-input {
  width: 100%;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  font-size: 16px;
  font-weight: 600;
  background: #fff;
  color: #333;
  transition: all 0.2s ease;
}

.cf7-consulenza-num-input:focus {
  outline: none;
  border-color: #0073aa;
  box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

/* Help text specifico */
.cf7-consulenza-help {
  display: block;
  font-size: 12px;
  color: #666;
  margin-top: 4px;
  font-style: italic;
}

/* Privacy section specifica */
.cf7-consulenza-privacy {
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.cf7-consulenza-privacy label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}

.cf7-consulenza-privacy input[type="checkbox"] {
  width: auto;
  margin: 0;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Checkbox e Radio specifici per consulenza */
.cf7-consulenza-form .wpcf7-checkbox,
.cf7-consulenza-form .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 8px;
}

.cf7-consulenza-form .wpcf7-list-item {
  margin: 0;
  display: inline-flex;
  align-items: center;
}

.cf7-consulenza-form .wpcf7-list-item label {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 12px 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  user-select: none;
}

.cf7-consulenza-form .wpcf7-list-item label:hover {
  border-color: #0073aa;
  background: #f8f9fa;
}

.cf7-consulenza-form .wpcf7-list-item input[type="checkbox"]:checked~.wpcf7-list-item-label,
.cf7-consulenza-form .wpcf7-list-item input[type="radio"]:checked~.wpcf7-list-item-label,
.cf7-consulenza-form .wpcf7-list-item:has(input[type="checkbox"]:checked) label,
.cf7-consulenza-form .wpcf7-list-item:has(input[type="radio"]:checked) label,
.cf7-consulenza-form .wpcf7-list-item label.active {
  border-color: #122244;
  background: #e6f3ff;
  color: #122244;
  font-weight: 600;
}

.cf7-consulenza-form .wpcf7-list-item input[type="checkbox"] {
  width: fit-content;
}

.cf7-consulenza-form .wpcf7-list-item input[type="checkbox"],
.cf7-consulenza-form .wpcf7-list-item input[type="radio"] {
  margin-right: 8px;
  transform: scale(1.2);
  margin-bottom: 0;
}

.cf7-consulenza-form .wpcf7-list-item-label {
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  text-align: left;
}

/* Submit button specifico */
.cf7-consulenza-submit {
  text-align: center;
  margin-top: 2rem;
}

/* Controllo wrapper Contact Form 7 */
.cf7-consulenza-form .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 0;
  padding: 0;
}

.cf7-consulenza-form .wpcf7-form-control-wrap input,
.cf7-consulenza-form .wpcf7-form-control-wrap select,
.cf7-consulenza-form .wpcf7-form-control-wrap textarea {
  margin-bottom: 0;
}

.cf7-consulenza-submit input[type="submit"] {
  width: 100%;
  padding: 1rem;
  font-size: 16px;
  font-weight: 600;
  background: #122244;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
  height: 60px;
}

.cf7-consulenza-submit input[type="submit"]:hover {
  background: #005a87;
}

/* Responsive specifico per consulenza */
@media (max-width: 768px) {
  .cf7-consulenza-form-container {
    padding: 2rem;
  }

  .cf7-consulenza-form {
    padding: 32px 20px;
  }

  .cf7-consulenza-grid-2 {
    grid-template-columns: 1fr;
    gap: 0rem;
  }

  .cf7-consulenza-dob-wrap {
    flex-direction: column;
    gap: 8px;
  }

  .cf7-consulenza-dob-field {
    width: 100%;
  }

  .cf7-consulenza-dob-field input {
    width: 100%;
  }

  .cf7-consulenza-num-input {
    font-size: 14px;
    padding: 10px;
  }

  .cf7-consulenza-form .wpcf7-checkbox,
  .cf7-consulenza-form .wpcf7-radio {
    gap: 8px;
  }

  .cf7-consulenza-form .wpcf7-list-item label {
    min-width: 100px;
    padding: 10px 16px;
    font-size: 13px;
  }

  .cf7-consulenza-form .wpcf7-list-item input[type="radio"] {
    width: fit-content;
  }
}

/* ========================================
   LSV FORM - STILI MANCANTI (LEGACY)
   ======================================== */

/* Grid Layout */
.lsv-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .lsv-grid-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Numeric Input Fields */
.lsv-num-input {
  width: 100%;
  text-align: center;
  border: 1px solid var(--border-color-light);
  border-radius: 8px;
  padding: 12px;
  font-size: 16px;
  font-weight: 600;
  background: #fff;
  color: var(--text-color);
  transition: all 0.2s ease;
}

.lsv-num-input:focus {
  outline: none;
  border-color: var(--medium-blue);
  box-shadow: 0 0 0 2px rgba(62, 78, 119, 0.1);
}

/* Mobile: apri tastierino numerico */
@media (max-width: 768px) {
  .lsv-num-input {
    -webkit-appearance: none;
    -moz-appearance: textfield;
  }

  .lsv-num-input::-webkit-outer-spin-button,
  .lsv-num-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
}

/* ========================================
   CONTACT FORM 7 NOZZE - STILI UNIVOCI
   ======================================== */

/* Container specifico per form nozze */
.cf7-nozze-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 0;
}

.cf7-nozze-form {
  background: #fff;
  border: 1px solid #E6EAF2;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.01);
}

.cf7-nozze-title {
  text-align: center;
  color: #122244;
  margin-top: 0;
  margin-bottom: 2rem;
  font-size: 38px;
  font-family: 'Playfair Display';
  font-weight: 600;
}

/* Box Partner */
.cf7-nozze-partner-box {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.cf7-nozze-partner-title {
  color: #122244;
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 1rem 0;
  text-align: center;
  border-bottom: 2px solid #122244;
  padding-bottom: 0.5rem;
}

/* Field specifici per nozze */
.cf7-nozze-field {
  margin-bottom: 1.25rem;
}

.cf7-nozze-field h4 {
  display: inline-block;
  color: #122244;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cf7-nozze-field label {
  display: block;
  margin-bottom: 0;
  font-weight: 600;
  color: #000;
  font-size: 16px;
}

.cf7-nozze-field input,
.cf7-nozze-field select,
.cf7-nozze-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.2s ease;
  background: #fff;
}

.wpcf7-radio .cf7-nozze-field input {
  width: fit-content;
}

.cf7-nozze-field input:focus,
.cf7-nozze-field select:focus,
.cf7-nozze-field textarea:focus {
  outline: none;
  border-color: #0073aa;
  box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

/* Grid Layout per nozze */
.cf7-nozze-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Data di nascita specifica per nozze */
.cf7-nozze-dob {
  margin-top: 1rem;
}

.cf7-nozze-dob-wrap {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  align-items: end;
}

.cf7-nozze-dob-field {
  flex: 1;
  min-width: 0;
}

.cf7-nozze-dob-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cf7-nozze-dob-field input {
  width: 100%;
  text-align: center;
}

/* Help text specifico per nozze */
.cf7-nozze-help {
  display: block;
  font-size: 12px;
  color: #666;
  margin-top: 4px;
  font-style: italic;
}

/* Privacy section specifica per nozze */
.cf7-nozze-privacy {
  margin: 1.5rem 0;
}

.cf7-nozze-privacy label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}

.cf7-nozze-privacy input[type="checkbox"] {
  width: auto;
  margin: 0;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Checkbox e Radio specifici per nozze */
.cf7-nozze-form .wpcf7-checkbox,
.cf7-nozze-form .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 8px;
}

.cf7-nozze-form .wpcf7-list-item {
  margin: 0;
  display: inline-flex;
  align-items: center;
}

.cf7-nozze-form .wpcf7-list-item label {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 12px 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  user-select: none;
}

.cf7-nozze-form .wpcf7-list-item label:hover {
  border-color: #0073aa;
  background: #f8f9fa;
}

.cf7-nozze-form .wpcf7-list-item input[type="checkbox"]:checked~.wpcf7-list-item-label,
.cf7-nozze-form .wpcf7-list-item input[type="radio"]:checked~.wpcf7-list-item-label,
.cf7-nozze-form .wpcf7-list-item:has(input[type="checkbox"]:checked) label,
.cf7-nozze-form .wpcf7-list-item:has(input[type="radio"]:checked) label,
.cf7-nozze-form .wpcf7-list-item label.active {
  border-color: #122244;
  background: #e6f3ff;
  color: #122244;
  font-weight: 600;
}

.cf7-nozze-form .wpcf7-list-item input[type="checkbox"] {
  width: fit-content;
}

.cf7-nozze-form .wpcf7-list-item input[type="checkbox"],
.cf7-nozze-form .wpcf7-list-item input[type="radio"] {
  margin-right: 8px;
  transform: scale(1.2);
  margin-bottom: 0;
}

.cf7-nozze-form .wpcf7-list-item-label {
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  text-align: left;
}

/* Submit button specifico per nozze */
.cf7-nozze-submit {
  text-align: center;
  margin-top: 2rem;
}

.cf7-nozze-submit-btn {
  width: 100%;
  padding: 1rem;
  font-size: 16px;
  font-weight: 600;
  background: #122244;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
  height: 60px;
}

.cf7-nozze-submit-btn:hover {
  background: #005a87;
}

/* Controllo wrapper Contact Form 7 per nozze */
.cf7-nozze-form .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 0;
  padding: 0;
}

.cf7-nozze-form .wpcf7-form-control-wrap input,
.cf7-nozze-form .wpcf7-form-control-wrap select,
.cf7-nozze-form .wpcf7-form-control-wrap textarea {
  margin-bottom: 0;
}

/* Responsive specifico per nozze */
@media (max-width: 768px) {
  .cf7-nozze-container {
    padding: 0.5rem;
  }

  .cf7-nozze-form {
    padding: 20px;
  }

  .cf7-nozze-grid-2 {
    grid-template-columns: 1fr;
    gap: 0rem;
  }

  .cf7-nozze-dob-wrap {
    flex-direction: column;
    gap: 8px;
  }

  .cf7-nozze-dob-field {
    width: 100%;
  }

  .cf7-nozze-dob-field input {
    width: 100%;
  }

  .cf7-nozze-form .wpcf7-checkbox,
  .cf7-nozze-form .wpcf7-radio {
    gap: 8px;
  }



  .cf7-nozze-form .wpcf7-radio label input[type="radio"] {
    display: inline-block;
    width: 20px;
  }

  .cf7-nozze-form .wpcf7-list-item label {
    min-width: 100px;
    padding: 10px 16px;
    font-size: 13px;
  }

  .cf7-nozze-form .wpcf7-radio .wpcf7-list-item label {
    min-width: fit-content;
  }

  .cf7-nozze-partner-box {
    padding: 1rem;
  }

  .cf7-nozze-partner-title {
    font-size: 20px;
  }

  .cf7-nozze-field h4 {
    font-size: 1rem
  }

  .cf7-nozze-title {
    font-size: 1.5rem;
  }
}

/* Help Text */
.lsv-help {
  display: block;
  font-size: 12px;
  color: #666;
  margin-top: 4px;
  font-style: italic;
}

/* Privacy Section */
.lsv-privacy {
  background: var(--bg-light);
  border: 1px solid var(--border-color-light);
  border-radius: var(--border-radius-standard);
  padding: 1rem;
  margin: 1.5rem 0;
}

.lsv-privacy label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}

.lsv-privacy input[type="checkbox"] {
  width: auto;
  margin: 0;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Checkbox and Radio Styling */
.lsv-register-form input[type="checkbox"],
.lsv-register-form input[type="radio"] {
  margin-right: 8px;
  transform: scale(1.2);
}

.lsv-register-form .wpcf7-list-item {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.lsv-register-form .wpcf7-list-item-label {
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
}

/* Contact Form 7 Specific Styling */
.lsv-register-form .wpcf7-checkbox,
.lsv-register-form .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.lsv-register-form .wpcf7-list-item {
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
}

.lsv-register-form .wpcf7-list-item label {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 12px 20px;
  border: 1px solid var(--border-color-light);
  border-radius: var(--border-radius-standard);
  background: #fff;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
  min-width: 120px;
  text-align: center;
  user-select: none;
}

.lsv-register-form .wpcf7-list-item label:hover {
  border-color: var(--medium-blue);
  background: var(--bg-light);
}

.lsv-register-form .wpcf7-list-item input[type="checkbox"]:checked~.wpcf7-list-item-label,
.lsv-register-form .wpcf7-list-item input[type="radio"]:checked~.wpcf7-list-item-label,
.lsv-register-form .wpcf7-list-item:has(input[type="checkbox"]:checked) label,
.lsv-register-form .wpcf7-list-item:has(input[type="radio"]:checked) label,
.lsv-register-form .wpcf7-list-item label.active {
  border-color: var(--extra-dark-blue);
  background: var(--light-blue);
  color: var(--extra-dark-blue);
  font-weight: 600;
}

.lsv-register-form .wpcf7-list-item input[type="checkbox"],
.lsv-register-form .wpcf7-list-item input[type="radio"] {
  margin-right: 8px;
  transform: scale(1.2);
  margin-bottom: 0;
}

.lsv-register-form .wpcf7-list-item-label {
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

/* Submit Button */
.lsv-submit {
  text-align: center;
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .lsv-register-form-container {
    padding: 2rem;
  }

  .lsv-register-form {
    padding: 20px;
  }

  .lsv-dob-wrap {
    flex-direction: column;
    gap: 8px;
  }

  .lsv-dob-field {
    width: 100%;
  }

  .lsv-dob-field input {
    width: 100%;
  }

  .lsv-num-input {
    font-size: 14px;
    padding: 10px;
  }

  .lsv-register-form .wpcf7-checkbox,
  .lsv-register-form .wpcf7-radio {
    gap: 8px;
  }

  .lsv-register-form .wpcf7-list-item label {
    min-width: 100px;
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* ========================================
   Pagina liste nozze / regalo
   ======================================== */

/* Loop prodotti */
.page-id-12776 .ova-product-price {
  display: none;
}


/* CARRELLO DINAMICO */
.cart-icon-dynamic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .cart-icon-dynamic {
    margin-right: 10px;
  }
}

.cart-icon-dynamic .cart-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 5px;
}

.cart-icon-dynamic .cart-count {
  position: absolute;
  top: 0;
  right: -6px;
  background: var(--coral);
  color: white;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  font-weight: bold;
  min-width: 12px;
  line-height: 1;
  z-index: 10;
  border: 0px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cart-icon-dynamic .cart-total {
  font-weight: bold;
  margin-left: 5px;
}

/* Hover effect */
.cart-icon-dynamic .cart-link:hover .cart-count {
  background: var(--coral-darker);
  transition: all 0.2s ease;
}

/* Animation for cart updates */
.cart-icon-dynamic .cart-count {
  transition: all 0.3s ease;
}

.cart-icon-dynamic .cart-count.updated {
  animation: cartBounce 0.6s ease;
}

@keyframes cartBounce {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

/* ========================================
   CART ICON COLORS - LOGIC IMPLEMENTATION
   ======================================== */

/* Home page: carrello bianco inizialmente */
body.home .cart-icon-dynamic .cart-icon-svg {
  stroke: white;
  transition: stroke 0.3s ease;
}

/* Home page: carrello blu quando header diventa sticky */
body.home .header_sticky.active_sticky .cart-icon-dynamic .cart-icon-svg {
  stroke: var(--text-color);
}

/* Tutte le altre pagine: carrello sempre blu */
body:not(.home) .cart-icon-dynamic .cart-icon-svg {
  stroke: var(--text-color);
}

/* Stili per l'icona SVG del carrello */
.cart-icon-dynamic .cart-icon-svg {
  width: 24px;
  height: 24px;
  transition: stroke 0.3s ease;
}

/* Hover effect per l'icona SVG */
.cart-icon-dynamic .cart-link:hover .cart-icon-svg {
  stroke: var(--coral, #ff6b6b);
}

/* ========================================
   CUSTOM SCROLLBAR - THIN & STYLISH
   ======================================== */

/* Nascondi scrollbar per Webkit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.4);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

/* Nascondi scrollbar per Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

/* Scrollbar personalizzata per Select2 dropdown */
.select2-dropdown .select2-results {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.select2-dropdown .select2-results::-webkit-scrollbar {
  width: 4px;
}

.select2-dropdown .select2-results::-webkit-scrollbar-track {
  background: transparent;
}

.select2-dropdown .select2-results::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 2px;
}

.select2-dropdown .select2-results::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

/* Scrollbar per tutti gli elementi con overflow */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

*::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.4);
}

/* ========================================
   SELECT2 SEARCH FIELD - VISIBILITY FIX
   ======================================== */

/* Aggiorna selettori esistenti per visibilità */
#home-search-form .select2-search--dropdown .select2-search__field,
.search-pages .select2-search--dropdown .select2-search__field,
.search-pages .select2-container--default .select2-search--dropdown .select2-search__field,
.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  padding: 8px 12px !important;
  font-size: 14px !important;
  color: var(--text-color) !important;
  background: #fff !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(18, 34, 68, 0.1) !important;
  transition: all 0.2s ease !important;
  caret-color: var(--text-color) !important;
}

/* Focus state per tutti i selettori */
#home-search-form .select2-search--dropdown .select2-search__field:focus,
.search-pages .select2-search--dropdown .select2-search__field:focus,
.search-pages .select2-container--default .select2-search--dropdown .select2-search__field:focus,
.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: var(--text-color) !important;
  box-shadow: 0 0 0 2px rgba(18, 34, 68, 0.2) !important;
  outline: none !important;
}

/* Hover state per tutti i selettori */
#home-search-form .select2-search--dropdown .select2-search__field:hover,
.search-pages .select2-search--dropdown .select2-search__field:hover,
.search-pages .select2-container--default .select2-search--dropdown .select2-search__field:hover,
.select2-container--default .select2-search--dropdown .select2-search__field:hover {
  border-color: var(--text-color) !important;
}

/* Placeholder styling per tutti i selettori */
#home-search-form .select2-search--dropdown .select2-search__field::placeholder,
.search-pages .select2-search--dropdown .select2-search__field::placeholder,
.search-pages .select2-container--default .select2-search--dropdown .select2-search__field::placeholder,
.select2-container--default .select2-search--dropdown .select2-search__field::placeholder {
  color: #999 !important;
  font-style: italic !important;
}

.select2-container--default #select2-brw-destinations-select-box-results .select2-results__option--highlighted.select2-results__option--selectable,
.select2-container--default .select2-results__options .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: var(--dark-blue);
  color: #fff;
}

.select2-results__option--selectable {
  font-size: 14px;
  border-radius: 4px;
  margin-bottom: 4px;
  background-color: #fafafa;
}
.select2-container.select2-container--open .select2-dropdown--above {
    padding: 8px;
    border-radius: 4px;
}
.select2-results__option--selectable:not(:first-child) {
  margin-top: 4px;
}

/* Pulsante regolamento gift card */
.gift-condition-box {
  margin-bottom: 32px;
}

a.gift-condition-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--coral);
  border-radius: 150px;
  padding: 12px 24px;
  font-size: 14px;
  line-height: 14px;
  font-weight: 600;
  width: fit-content;
  box-shadow: var(--box-shadow);
  text-decoration: none;
  color: #fff;
  gap: 8px;
  transition: all 0.2s;
}

a.gift-condition-btn:hover {
  background: var(--coral-darker);
}

/* Link Gift Card cliccabile */
.gift-card-link {
  color: var(--coral);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.gift-card-link:hover {
  color: var(--coral-darker);
  border-bottom-color: var(--coral-darker);
}

/* ========================================
   CUSTOM 404 PAGE STYLES
   ======================================== */
.ova_404_page {
  margin: 0;
}

.custom-404-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  background: #fff
}

.error-content-wrapper {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.error-icon {
  margin-bottom: 2rem;
}

.error-svg {
  width: 80px;
  height: 80px;
  color: var(--coral);
  margin: 0 auto;
}

.error-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.error-description {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.error-btn-primary,
.error-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #F2F5FA;
  font-family: "Figtree", Sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  letter-spacing: 0.5px;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: #C8D1E6;
  border-radius: 12px 12px 12px 12px;
  padding: 20px 42px 20px 42px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.error-btn-primary {
  background: var(--coral);
  color: white;
  border-color: var(--coral);
}

.error-btn-primary:hover {
  background: var(--coral-darker);
  border-color: var(--coral-darker);
}

.error-btn-secondary {
  background: #F2F5FA;
  color: var(--text-color);
  border-color: #C8D1E6;
}

.error-btn-secondary:hover {
  background: var(--text-color);
  color: white;
  border-color: var(--text-color);
}

.btn-icon {
  width: 20px;
  height: 20px;
}


/* Responsive 404 */
@media (max-width: 768px) {
  .custom-404-page {
    padding: 5rem 1rem;
  }

  .error-title {
    font-size: 2rem;
  }

  .error-description {
    font-size: 1rem;
  }

  .error-actions {
    flex-direction: column;
    align-items: center;
  }

  .error-btn-primary,
  .error-btn-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

}

/* ========================================
   CONTACT FORM 7 - FORM GENERICO
   ======================================== */

.cf7-generico-form {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid #e9ecef;
}

.cf7-generico-title {
  text-align: center;
  margin-bottom: 2rem;
}

.cf7-generico-title h2 {
  color: var(--text-color);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
  margin-top: 0;
}

.cf7-generico-title p {
  color: #666;
  font-size: 1.1rem;
  margin: 0;
}

.cf7-generico-field h4 {
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.cf7-generico-field label {
  color: var(--text-color);
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

.cf7-generico-field input,
.cf7-generico-field textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 1rem;
  color: var(--text-color);
  background: #fff;
  transition: all 0.3s ease;
  font-family: inherit;
}

.cf7-generico-field input:focus,
.cf7-generico-field textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.cf7-generico-field textarea {
  max-height: 160px;
  resize: vertical;
}

.cf7-generico-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cf7-generico-full-width {
  margin-bottom: 1rem;
}

.cf7-generico-privacy {
  margin: 1.5rem 0;
}

.cf7-generico-privacy label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
  cursor: pointer;
}

.cf7-generico-privacy input[type="checkbox"] {
  width: auto;
  margin: 0;
  margin-top: 0.2rem;
}

.privacy-link {
  color: var(--coral);
  text-decoration: none;
  font-weight: 600;
}

.privacy-link:hover {
  color: var(--coral-darker);
  text-decoration: underline;
}

.cf7-generico-submit {
  text-align: center;
  margin-top: 2rem;
}

.cf7-generico-submit input[type="submit"] {
  background: var(--coral);
  color: white;
  border: none;
  padding: 1rem 3rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  width: 100%;
}

.cf7-generico-submit input[type="submit"]:hover {
  background: var(--coral-darker);
}

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

  .cf7-generico-form {
    padding: 1.5rem;
  }

  .cf7-generico-title h2 {
    font-size: 1.5rem;
  }

  .cf7-generico-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cf7-generico-submit input[type="submit"] {
    width: 100%;
    padding: 1rem 2rem;
  }
}

/* ========================================
   CONTACT FORM 7 - FRANCHISING
   ======================================== */

.cf7-franchising-form {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid #e9ecef;
}

.cf7-franchising-title {
  text-align: center;
  margin-bottom: 2rem;
}

.cf7-franchising-title h2 {
  color: var(--text-color);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
  margin-top: 0;
}

.cf7-franchising-title p {
  color: #666;
  font-size: 1.1rem;
  margin: 0;
}

.cf7-franchising-field h4 {
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.cf7-franchising-field label {
  color: var(--text-color);
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

.cf7-franchising-field input,
.cf7-franchising-field textarea,
.cf7-franchising-field select {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 1rem;
  color: var(--text-color);
  background: #fff;
  transition: all 0.3s ease;
  font-family: inherit;
}

.cf7-franchising-field input:focus,
.cf7-franchising-field textarea:focus,
.cf7-franchising-field select:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.cf7-franchising-field textarea {
  max-height: 160px;
  resize: vertical;
}

.cf7-franchising-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cf7-franchising-full-width {
  margin-bottom: 1rem;
}

.cf7-franchising-privacy {
  margin: 1.5rem 0;
}

.cf7-franchising-privacy label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
  cursor: pointer;
}

.cf7-franchising-privacy input[type="checkbox"] {
  width: auto;
  margin: 0;
  margin-top: 0.2rem;
}

.cf7-franchising-submit {
  text-align: center;
  margin-top: 2rem;
}

.cf7-franchising-submit input[type="submit"] {
  background: var(--coral);
  color: white;
  border: none;
  padding: 1rem 3rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  width: 100%;
}

.cf7-franchising-submit input[type="submit"]:hover {
  background: var(--coral-darker);
}

/* Responsive Franchising */
@media (max-width: 768px) {
  .cf7-franchising-form {
    padding: 1.5rem;
  }

  .cf7-franchising-title h2 {
    font-size: 1.5rem;
  }

  .cf7-franchising-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cf7-franchising-submit input[type="submit"] {
    width: 100%;
    padding: 1rem 2rem;
  }
}

.overflow-hidden {
  overflow: hidden;
}

/* ========================================
   SHORTCODE ICONA PRENOTAZIONE
   ======================================== */

.lsv-icona-prenotazione-container {
  position: relative;
  display: inline-block;
}

.lsv-icona-prenotazione-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 12px;
  padding-right: 12px;
  padding-bottom: 8px;
  background: #FFFFFF24;
  padding-top: 8px;
  border-radius: 10px;
  height: 42.82px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.lsv-icona-prenotazione {
  cursor: pointer;
  transition: all 0.3s ease;
}

.lsv-icona-prenotazione-link:hover {
  background: #FFFFFF57;
}

.lsv-icona-prenotazione-link:hover .lsv-icona-prenotazione {
  stroke: #0073aa;
}

.lsv-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  margin-bottom: 8px;
}

.lsv-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #333;
}

.lsv-icona-prenotazione-link:hover .lsv-tooltip,
.lsv-icona-prenotazione-container:hover .lsv-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Varianti di colore per il tooltip */
.lsv-tooltip.lsv-tooltip-primary {
  background: #0073aa;
}

.lsv-tooltip.lsv-tooltip-primary::after {
  border-top-color: #0073aa;
}

.lsv-tooltip.lsv-tooltip-success {
  background: #28a745;
}

.lsv-tooltip.lsv-tooltip-success::after {
  border-top-color: #28a745;
}

.lsv-tooltip.lsv-tooltip-warning {
  background: #ffc107;
  color: #333;
}

.lsv-tooltip.lsv-tooltip-warning::after {
  border-top-color: #ffc107;
}

.lsv-tooltip.lsv-tooltip-danger {
  background: #dc3545;
}

.lsv-tooltip.lsv-tooltip-danger::after {
  border-top-color: #dc3545;
}

/* Responsive */
@media (max-width: 768px) {
  .lsv-tooltip {
    font-size: 12px;
    padding: 6px 10px;
  }
}

/* ========================================
   NAVBAR LOGIC - ICONA PRENOTAZIONE
   ======================================== */

/* Home page: icona bianca inizialmente */
body.home .lsv-navbar-icon .lsv-icona-prenotazione {
  stroke: white;
  transition: stroke 0.3s ease;
}

/* Home page: icona blu quando header diventa sticky */
body.home .header_sticky.active_sticky .lsv-navbar-icon .lsv-icona-prenotazione {
  stroke: var(--text-color);
}

/* Tutte le altre pagine: icona sempre blu */
body:not(.home) .lsv-navbar-icon .lsv-icona-prenotazione {
  stroke: var(--text-color);
}

/* Home page - stato normale: sfondo bianco trasparente */
body.home .lsv-navbar-icon .lsv-icona-prenotazione-link {
  background: #FFFFFF24;
}

/* Home page - stato sticky: sfondo grigio */
body.home .header_sticky.active_sticky .lsv-navbar-icon .lsv-icona-prenotazione-link {
  background: #b0b0b024;
}

/* Altre pagine - sempre sfondo grigio */
body:not(.home) .lsv-navbar-icon .lsv-icona-prenotazione-link {
  background: #b0b0b024;
}

/* Hover solo quando sticky o altre pagine - sfondo coral chiarissimo + stroke coral */
body.home .header_sticky.active_sticky .lsv-navbar-icon .lsv-icona-prenotazione-link:hover,
body:not(.home) .lsv-navbar-icon .lsv-icona-prenotazione-link:hover {
  background: rgba(255, 107, 107, 0.1);
}

body.home .header_sticky.active_sticky .lsv-navbar-icon .lsv-icona-prenotazione-link:hover .lsv-icona-prenotazione,
body:not(.home) .lsv-navbar-icon .lsv-icona-prenotazione-link:hover .lsv-icona-prenotazione {
  stroke: var(--coral, #ff6b6b) !important;
}

/* Tooltip per navbar - posizionato verso il basso */
.lsv-navbar-icon .lsv-tooltip {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  color: var(--text-color, #333);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.1);
  max-width: 200px;
  word-wrap: break-word;
  text-align: center;
  height: fit-content;
}

.lsv-tooltip p {
  margin: 0;
  font-size: 12px;
}

.lsv-navbar-icon .lsv-tooltip::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-bottom-color: white;
}

.lsv-navbar-icon .lsv-icona-prenotazione-link:hover .lsv-tooltip,
.lsv-navbar-icon:hover .lsv-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Responsive tooltip per navbar */
@media (max-width: 768px) {
  .lsv-navbar-icon .lsv-tooltip {
    font-size: 11px;
    padding: 6px 10px;
    max-width: 150px;
    margin-top: 6px;
  }
}

/* Nascondi link prenotazione sotto i 1024px */
@media (max-width: 1023px) {
  .lsv-navbar-icon {
    display: none !important;
  }
}

/* ======================================== 
Pulsanti menu mobile 
======================================== */
@media(min-width: 1024px) {
  .btn-mobile-navbar {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* Mod listato viaggi */
.ovabrw-products-result.ovabrw-products-result-list .ova-tour-day.ova-max-people {
  display: none;
}

.cf7-nozze-submit input.wpcf7-form-control.wpcf7-submit {
    width: 100%;
}