/* Schedule Section */
.schedule {
  background: var(--white);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% - 50px);
  background: #c0c0c0;
  opacity: 0.3;
  top: 40px;
}

.day {
  margin-bottom: 4rem;
  position: relative;
}

.timeline:last-child .day {
  margin-bottom: 0 !important;
}

.day-title {
  text-align: center;
  font-size: 1.4rem;
  color: var(--primary-blue);
  margin-bottom: 2rem;
  font-weight: 600;
  background-color: white;
}

.event {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.event:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.event-icon {
  font-size: 1.8rem;
  margin-right: 0.4em;
  min-width: 40px;
}
.event-icon .program-emoji {
  font-size: 1.8rem;
  margin-right: 0.4em;
  min-width: 40px;
}

.event-content h4 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.event-content p {
  color: var(--text-light);
}

img.wp-smiley, img.emoji {
  display: inline !important;
  border: none !important;
  box-shadow: none !important;
  height: 2em !important;
  width: 2em !important;
  margin: 0 0.07em !important;
  vertical-align: -0.1em !important;
  background: none !important;
  padding: 0 !important;
}

/* Hero Section */
.hero {
  min-height: 50dvh;
  background: #010630;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 6rem;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 0;
  right: 0;
  bottom: 0;
  animation: snow 25s linear infinite;
  opacity: 0.3;
  background-size: cover;
  background-position: center center;
}
.hero .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero p {
  color: var(--accent);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  max-width: 800px;
  margin: 0 auto 1rem;
  line-height: 1.4;
}
.hero .logo {
  max-width: 220px;
  width: 90%;
  margin: 0 0 2rem;
  /*filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2))*/
  /*animation: float 3s ease-in-out infinite*/
  mix-blend-mode: multiply;
}
.hero .cta-button {
  display: inline-block;
  background: #FF7F00;
  color: white;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin-top: 1rem;
}
.hero .cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}
.hero .scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 2rem;
  animation: bounce 2s infinite;
}
@media (max-width: 768px) {
  .hero .scroll-indicator {
    display: none !important;
  }
}

@keyframes snow {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(50px);
  }
  100% {
    transform: translateY(0px);
  }
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-20px);
  }
  60% {
    transform: translateX(-50%) translateY(-10px);
  }
}
.highlights {
  position: relative;
}
.highlights:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  transform: translateX(-50%) translateY(-50%) scale(0);
  opacity: 1;
  background-color: var(--primary-light);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  animation: highlights 0.3s ease-out;
}

@keyframes highlights {
  0% {
    transform: translateX(-50%) translateY(-50%) scale(0);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(-50%) scale(2);
    opacity: 0;
  }
}
.section-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: var(--primary-blue);
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2em;
}

.section-subtitle {
  color: var(--primary-blue);
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

section {
  box-sizing: border-box !important;
}
section:has(.section-subtitle) .section-title {
  margin-bottom: 0.5rem;
}

.disabled {
  opacity: 0.5 !important;
  pointer-events: none;
}

.disabled * {
  pointer-events: none;
}

/* Packages Section */
.packages {
  background: var(--gray);
}
.packages .packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.packages .package-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.packages .package-card:not(.disabled) .package-price {
  position: absolute;
  top: 28px;
  right: 32px;
  background-color: #FF7F00;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 700;
}
.packages .package-card.disabled .package-price {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 900;
}
.packages .package-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-blue), var(--light-orange));
}
.packages .package-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
.packages .package-card .cover-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.packages .package-card .cta {
  margin-top: 24px;
  text-transform: uppercase;
  color: var(--primary-blue);
  font-weight: 900;
  border-bottom: 1px solid var(--primary-blue);
  max-width: fit-content;
}
.packages .package-card .package-icon {
  font-size: 3rem;
  margin-bottom: 8px;
  margin-top: -26px;
}
.packages .package-card .package-icon img {
  width: 32px !important;
  height: 32px !important;
}
.packages .package-card h3 {
  display: flex;
  flex-direction: column;
  color: var(--primary-blue);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.packages .package-card p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.4;
  flex-grow: 1;
}

#checkout-form {
  max-width: 520px;
  margin: 12px auto;
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#checkout-form h3 {
  margin-top: 18px;
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 900;
  color: #FF7F00;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
#checkout-form label {
  font-weight: bold;
  color: #333;
}
#checkout-form {
  /* ====== INPUT/SELECT/TEXTAREA ====== */
}
#checkout-form select#birthplace {
  border: 0 !important;
}
#checkout-form input, #checkout-form select:not(#birthplace), #checkout-form textarea {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  margin-bottom: 0 !important;
  border: 1.5px solid #e5e5e5 !important;
  border-radius: 6px;
  font-size: 15px;
}
#checkout-form .ts-wrapper .ts-control input {
  border: 0 !important;
}
#checkout-form input:focus, #checkout-form select:focus, #checkout-form textarea:focus {
  border-color: #FF7F00;
  box-shadow: 0 0 0 3px rgba(255, 127, 0, 0.25);
  outline: none;
}
#checkout-form textarea {
  resize: vertical;
  min-height: 70px;
}
#checkout-form {
  /* ====== CTA BUTTON ====== */
}
#checkout-form .button[type=submit] {
  width: 100%;
  background: #FF7F00;
  color: #fff;
  padding: 14px;
  border-radius: 6px;
  margin-top: 18px;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: background 0.25s, transform 0.2s;
}
#checkout-form button[type=submit]:hover {
  background: #e96f00;
  transform: translateY(-1px);
}
#checkout-form button[type=submit]:disabled {
  background: #999;
  cursor: default;
  transform: none;
}
#checkout-form select::placeholder {
  padding-top: 0 !important;
}
#checkout-form .ts-wrapper.dropdown-active {
  height: 44px;
}
#checkout-form .ts-wrapper.dropdown-active .item {
  display: none;
}
#checkout-form .ts-wrapper .item {
  position: absolute;
  top: 12px;
  left: 12px;
}
#checkout-form .ts-wrapper .ts-control {
  border: 1.5px solid #e5e5e5 !important;
  height: 44px;
  padding-top: 8px;
  padding-left: 14px;
  border-radius: 6px !important;
}
#checkout-form .ts-wrapper .ts-control input {
  border: 0 !important;
}
#checkout-form .legal-section {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#checkout-form .input-checkbox {
  font-size: 14px;
}
#checkout-form .input-checkbox > * {
  font-weight: 600;
}
#checkout-form .input-checkbox input {
  margin-right: 6px;
}
#checkout-form .input-checkbox a {
  text-decoration: underline;
  padding-left: 3px;
  color: #FF7F00;
}
#checkout-form input[type=checkbox]:checked {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#checkout-form input[type=checkbox]:checked:before {
  content: "";
  position: absolute;
  width: 15px;
  height: 3px;
  transform: rotate(315deg) translateY(2px) translateX(1px);
}
#checkout-form input[type=checkbox]:checked:after {
  content: "";
  position: absolute;
  width: 8px;
  height: 3px;
  transform: rotate(45deg) translateY(5px) translateX(-1px);
}
#checkout-form #checkout-form input[type=date] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  font-family: inherit;
  font-size: 15px;
  padding: 12px;
  border-radius: 6px;
  border: 1.8px solid #ccc;
  height: 44px !important;
}
#checkout-form {
  /* Stesso focus degli altri input */
}
#checkout-form #checkout-form input[type=date]:focus {
  border-color: #FF7F00;
  box-shadow: 0 0 0 3px rgba(255, 127, 0, 0.25);
  outline: none;
}
#checkout-form .select-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}
#checkout-form .select-wrapper select,
#checkout-form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  background: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  line-height: normal;
  width: 100%;
  outline: none;
  cursor: pointer;
  border-radius: 0;
}
#checkout-form {
  /* Nasconde la freccia in IE / Edge legacy */
}
#checkout-form select::-ms-expand {
  display: none;
}
#checkout-form {
  /* Rimuove il bordo evidenziato su focus (se vuoi gestirlo tu) */
}
#checkout-form select:focus {
  outline: none;
}
#checkout-form {
  /* Esempio: se vuoi aggiungere una freccia custom a destra */
}
#checkout-form .select-wrapper::after {
  content: "";
  position: absolute;
  pointer-events: none;
  bottom: 15px;
  right: 0.75rem;
  transform: translateY(-50%);
  border-width: 5px 4px 0 4px;
  border-style: solid;
  border-color: currentColor transparent transparent transparent;
}

.sticky-content .button {
  padding: 12px 12px !important;
}

.woocommerce-checkout .woocommerce-message:has(a) {
  display: none !important;
}

.woocommerce {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.woocommerce form.woocommerce-checkout {
  max-width: 800px;
  padding: 20px;
}
.woocommerce form.woocommerce-checkout .form-row {
  width: 100%;
  clear: both;
}
.woocommerce form.woocommerce-checkout .form-row .optional {
  display: none;
}
.woocommerce form.woocommerce-checkout .form-row label {
  font-weight: bold;
}
.woocommerce form.woocommerce-checkout .form-row label:has(input[type=checkbox]) {
  line-height: 1.4;
  display: flex;
}
.woocommerce form.woocommerce-checkout .form-row label:has(input[type=checkbox]) a {
  padding-left: 4px;
}
.woocommerce form.woocommerce-checkout .form-row:has(input[type=radio]) .woocommerce-input-wrapper {
  display: flex;
  align-items: center;
}
.woocommerce form.woocommerce-checkout .form-row:has(input[type=radio]) .woocommerce-input-wrapper label {
  margin-right: 20px;
}
.woocommerce form.woocommerce-checkout .form-row:has(input[type=radio]) .woocommerce-input-wrapper label span {
  display: none !important;
}

#customer_details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
#customer_details .col-1, #customer_details .col-2 {
  width: 100%;
}

.woocommerce form h3 {
  margin-bottom: 12px;
}
.woocommerce form input[type=checkbox] {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
}
.woocommerce form input:not([type=checkbox]):not([type=radio]) {
  height: 42px !important;
}
.woocommerce form select {
  height: 42px !important;
}
.woocommerce form .form-row .input-checkbox {
  margin: -2px 6px 0 0 !important;
}
.woocommerce #place_order {
  background-color: var(--primary-regular) !important;
}
.woocommerce .woocommerce-checkout #payment {
  background: rgba(128, 110, 153, 0.05) !important;
}
.woocommerce .woocommerce-checkout #payment div.payment_box {
  background-color: #eceff3 !important;
}
.woocommerce .woocommerce-checkout #payment div.payment_box:before {
  border: 1em solid #eceff3;
  border-right-color: transparent;
  border-left-color: transparent;
  border-top-color: transparent;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .cart-subtotal {
  display: none;
}

:root {
  --primary-blue: #2E4B7C;
  --light-blue: #4A6FA5;
  --accent: #E8F1FF;
  --white: #FFFFFF;
  --gray: #F5F7FA;
  --text-dark: #1A1A1A;
  --text-light: #6B7280;
  --box-shadow: 0 0 24px -14px #000000a6;
}

.shadow {
  box-shadow: var(--box-shadow);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Be Vietnam Pro", sans-serif !important;
}

body {
  font-family: "Be Vietnam Pro", sans-serif !important;
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

.site-main {
  position: relative;
  display: flex;
  flex-wrap: wrap;
}

section {
  padding: 4rem 1.2rem;
}

a {
  color: #0073aa;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site {
  width: 100%;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

article header {
  display: none !important;
}

.site-header,
.site-footer {
  padding: 1rem 1.5rem;
  background: #111;
  color: #fff;
}

.site-main {
  flex: 1;
}

.site-title a {
  color: #fff;
}

.post {
  margin-bottom: 2rem;
}

.post-title {
  margin: 0 0 0.25rem;
  font-size: 1.6rem;
}

.post-meta {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.75rem;
}

.post-content {
  margin-top: 1rem;
}

.pagination,
.nav-links {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

button,
input[type=submit],
input[type=button],
input[type=reset] {
  cursor: pointer;
}

#sticky-product-select {
  font-size: 12px;
  padding-right: 42px;
  background-size: 16px;
}

.overlay-light {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.overlay-dark {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
}

:root {
  --odex-orange: #FF7F00;
  --odex-orange-contrast: #ffffff;
  --odex-blue: #04A1FF;
  --odex-blue-contrast: #ffffff;
  --odex-dark: #153567;
  --odex-dark-contrast: #ffffff;
  --odex-light: #FFFFFF;
  --odex-light-contrast: #153567;
  --odex-gray-light: #f8f9fa;
  --odex-gray-light-contrast: #153567;
  --odex-gray-dark: #b7b7b7;
  --odex-gray-dark-contrast: #153567;
}

.border-odex-orange {
  border-color: var(--odex-orange);
}

.border-odex-orangeContrast {
  border-color: var(--odex-orange-contrast);
}

.border-odex-blue {
  border-color: var(--odex-blue);
}

.border-odex-blueContrast {
  border-color: var(--odex-blue-contrast);
}

.border-odex-dark {
  border-color: var(--odex-dark);
}

.border-odex-darkContrast {
  border-color: var(--odex-dark-contrast);
}

.border-odex-light {
  border-color: var(--odex-light);
}

.border-odex-lightContrast {
  border-color: var(--odex-light-contrast);
}

.border-odex-grayLight {
  border-color: var(--odex-gray-light);
}

.border-odex-grayLightContrast {
  border-color: var(--odex-gray-light-contrast);
}

.border-odex-grayDark {
  border-color: var(--odex-gray-dark);
}

.border-odex-grayDarkContrast {
  border-color: var(--odex-gray-dark-contrast);
}

.bg-odex-orange {
  background-color: var(--odex-orange);
}

.bg-odex-orangeContrast {
  background-color: var(--odex-orange-contrast);
}

.bg-odex-blue {
  background-color: var(--odex-blue);
}

.bg-odex-blueContrast {
  background-color: var(--odex-blue-contrast);
}

.bg-odex-dark {
  background-color: var(--odex-dark);
}

.bg-odex-darkContrast {
  background-color: var(--odex-dark-contrast);
}

.bg-odex-light {
  background-color: var(--odex-light);
}

.bg-odex-lightContrast {
  background-color: var(--odex-light-contrast);
}

.bg-odex-grayLight {
  background-color: var(--odex-gray-light);
}

.bg-odex-grayLightContrast {
  background-color: var(--odex-gray-light-contrast);
}

.bg-odex-grayDark {
  background-color: var(--odex-gray-dark);
}

.bg-odex-grayDarkContrast {
  background-color: var(--odex-gray-dark-contrast);
}

.text-odex-orange {
  color: var(--odex-orange);
}

.text-odex-orangeContrast {
  color: var(--odex-orange-contrast);
}

.text-odex-blue {
  color: var(--odex-blue);
}

.text-odex-blueContrast {
  color: var(--odex-blue-contrast);
}

.text-odex-dark {
  color: var(--odex-dark);
}

.text-odex-darkContrast {
  color: var(--odex-dark-contrast);
}

.text-odex-light {
  color: var(--odex-light);
}

.text-odex-lightContrast {
  color: var(--odex-light-contrast);
}

.text-odex-grayLight {
  color: var(--odex-gray-light);
}

.text-odex-grayLightContrast {
  color: var(--odex-gray-light-contrast);
}

.text-odex-grayDark {
  color: var(--odex-gray-dark);
}

.text-odex-grayDarkContrast {
  color: var(--odex-gray-dark-contrast);
}
