/* ----------------------GENERAL---------------------- */

:root {
  --shiny-cta-bg: #000000;
  --shiny-cta-bg-subtle: #1a1818;
  --shiny-cta-fg: #ffffff;
  --shiny-cta-highlight: #472a69;
  --shiny-cta-highlight-subtle: #2f204b;


  --shiny-cta-bg2: #F5ECFF;
  --shiny-cta-bg-subtle2: #5B497D;
  --shiny-cta-fg2: #5B497D;
  --shiny-cta-highlight2: #5B497D;
  --shiny-cta-highlight-subtle2: #935aff;
}

* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
}

body,
html {
  font-family: "Plus Jakarta Sans", sans-serif;
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(149deg, #9a297a -53.31%, #0a1523 58.45%);
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: manipulation;
}

.hidden {
  opacity: 0;
  pointer-events: none;
}

.none-d {
  display: none;
}

.sectSeparator {
  height: 500px;
  max-height: 2vh;
}

/* ---- LOADING SCREEN ------ */

/* Initial loading screen */
.loading-screen {
  position: fixed;
  inset: 0;
  background: linear-gradient(149deg, #9a297a -53.31%, #0a1523 58.45%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#progress-text {
  margin-top: 10px;
  margin-bottom: 10px;
  color: white;
  font-size: calc((1vw + 1vh));
  text-align: center;
}

#loading-am-logo img {
  width: calc((0.5vw + 0.5vh) * 20);
  max-width: 200px;
  margin-bottom: 2vh;
}

.progress-bar-container {
  width: calc((0.5vw + 0.5vh) * 16);
  height: calc((0.5vw + 0.5vh) / 1);
  background-color: #ffffff; /* light background */
  margin-top: 5px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

#progress-bar {
  width: 0%;
  height: 100%;
  border: 1px solid;
  border-color: rgb(160,160,255);
  border-radius: 50px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  background: linear-gradient(149deg, #9a297a -53.31%, #12253d 58.45%);
  transition: width 0.3s ease;
}

/* Spinner rotation animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Fade-out animation (new) */
@keyframes loaderFadeOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.98);
    visibility: hidden;
  }
}

.loading-screen.fadeout-animation {
  animation: loaderFadeOut 0.6s ease-out forwards;
  pointer-events: none;
}


/* Aggiungi questo sotto la sezione LOADING SCREEN */
.online-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.online-status-icon {
  width: 24px;
  height: 24px;
  animation: spin 2s linear infinite;
}

.online-status-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* ------ LANG SELECTION ------ */

.lang-icons {
  gap: 20px;
  display:flex;
  justify-content:center;
  align-items: center;
}

.language-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 1vh 2vw;
  border: none;
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.3s;
  color: white;
  font-weight: 600;
  backdrop-filter: blur(0px)!important;
}

.language-button p {
  font-family: "Plus Jakarta Sans", sans-serif !important;
}

.language-button.active {
  backdrop-filter: blur(5px)!important;
  border-radius: 5px;
}

.language-icon {
  width: 70px;
  height: auto; 
}

.language-button.active .language-icon {
  border-radius: 50%;
  background-color: transparent;
  filter: drop-shadow(0 0 11px rgba(255, 255, 255, 1));
}

.language-button:not(.active) .language-icon {
  opacity: 0.6;
  filter: grayscale(50%);
  border-radius: 50%;
}

.m-or-f{
  width: 100%;
  padding: 5px 20px;
  display:flex;
  gap: 20px;
  flex-direction: column;
}

.m-or-f .box-action-buttons .action-button{
  width: 70px;
  height: 70px;
}

.m-or-f .box-action-buttons .action-button span{
  font-size: 30px;
}


/* ----------------------ANIMAZIONI---------------------- */

.pulsate-fwd {
	-webkit-animation: pulsate-fwd 0.5s ease-in-out infinite both !important;
	        animation: pulsate-fwd 0.5s ease-in-out infinite both !important;
}

 @-webkit-keyframes pulsate-fwd {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes pulsate-fwd {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}


.puff-in-center {
  -webkit-animation: puff-in-center 2s cubic-bezier(0.47, 0, 0.745, 0.715) both;
  animation: puff-in-center 2s cubic-bezier(0.47, 0, 0.745, 0.715) both;
}

@-webkit-keyframes puff-in-center {
  0% {
    -webkit-transform: scale(2);
    transform: scale(2);
    -webkit-filter: blur(4px);
    filter: blur(4px);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
  }
}
@keyframes puff-in-center {
  0% {
    -webkit-transform: scale(2);
    transform: scale(2);
    -webkit-filter: blur(4px);
    filter: blur(4px);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
  }
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.fade-out {
  opacity: 0;
  transform: translateY(50px);
  pointer-events: none;
  height: 0 !important;
}

/* ----------------------HEADER---------------------- */
header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 98 !important;
}

header img {
  width: 80px;
  max-width: 20%;
  z-index: 98 !important;
}

.header {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* font-family: "Roboto", sans-serif; */
  font-weight: 200;
  color: white;
  font-size: 2em;
}


/* ----------------------LOGO AND AUDIO ---------------------- */

.logo-container-bottom{
  position: absolute;
  bottom: 10px;
  right: 40px;
  border: none;
  cursor: pointer;
  z-index: 100;
}

.logo-container-bottom img {
  width: 80px;
  height: 80px;
}

.audio-container-bottom{
  position: absolute;
  right: 40px;
  top: 35px;
  border: none;
  cursor: pointer;
  z-index: 100;
}

.audio-container-bottom span {
  font-size: 30px;
}

/* ----------------------SEZIONI---------------------- */
.section {
  position: absolute;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: auto;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

#introduction{
  max-width: 335px;
  overflow: hidden;
}

/* ----------------------FRECCIA INDIETRO---------------------- */

.back-arrow {
  position: absolute;
  top: 20px;
  left: 0px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 99 !important;
}

/* ----------------------CTA---------------------- */

@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@property --gradient-angle-offset {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@property --gradient-percent {
  syntax: "<percentage>";
  initial-value: 5%;
  inherits: false;
}

@property --gradient-shine {
  syntax: "<color>";
  initial-value: white;
  inherits: false;
}

.shiny-cta p {
  margin: 0;
}

.shiny-cta,
.shiny-cta-compressed {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  --animation: gradient-angle linear infinite;
  --duration: 3s;
  --shadow-size: 2px;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  outline-offset: 4px;
  padding: 1.5rem 2rem;
  font-family: "Orbitron", serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.125rem;
  line-height: 1.2;
  border: 1px solid transparent;
  color: var(--shiny-cta-fg);
  background: linear-gradient(var(--shiny-cta-bg), var(--shiny-cta-bg))
      padding-box,
    conic-gradient(
        from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
        transparent,
        var(--shiny-cta-highlight) var(--gradient-percent),
        var(--gradient-shine) calc(var(--gradient-percent) * 2),
        var(--shiny-cta-highlight) calc(var(--gradient-percent) * 3),
        transparent calc(var(--gradient-percent) * 4)
      )
      border-box;
  box-shadow: inset 0 0 0 1px var(--shiny-cta-bg-subtle);
  &::before,
  &::after,
  span::before {
    content: "";
    pointer-events: none;
    position: absolute;
    inset-inline-start: 50%;
    inset-block-start: 50%;
    translate: -50% -50%;
    z-index: -1;
  }

  &:active {
    translate: 0 1px;
  }
}

.cta-compressed {
  padding: 1.7rem 2rem;
}

/* Dots pattern */
.shiny-cta::before {
  --size: calc(100% - var(--shadow-size) * 3);
  --position: 2px;
  --space: calc(var(--position) * 2);
  width: var(--size);
  height: var(--size);
  background: radial-gradient(
      circle at var(--position) var(--position),
      white calc(var(--position) / 4),
      transparent 0
    )
    padding-box;
  background-size: var(--space) var(--space);
  background-repeat: space;
  mask-image: conic-gradient(
    from calc(var(--gradient-angle) + 45deg),
    black,
    transparent 10% 90%,
    black
  );
  border-radius: inherit;
  opacity: 0.4;
  z-index: -1;
}

/* Inner shimmer */
.shiny-cta::after {
  --animation: shimmer linear infinite;
  width: 150%;
  aspect-ratio: 1;
  background: linear-gradient(
    -50deg,
    transparent,
    var(--shiny-cta-highlight),
    transparent
  );
  mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  opacity: 0.6;
}

.shiny-cta span {
  z-index: 1;

  &::before {
    --size: calc(100% + 1rem);
    width: var(--size);
    height: var(--size);
    box-shadow: inset 0 -1ex 2rem 4px var(--shiny-cta-highlight);
    opacity: 0;
  }
}

/* Animate */
.shiny-cta {
  --transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);
  transition: var(--transition);
  transition-property: --gradient-angle-offset, --gradient-percent,
    --gradient-shine;

  &,
  &::before,
  &::after {
    animation: var(--animation) var(--duration),
      var(--animation) calc(var(--duration) / 0.4) reverse paused;
    animation-composition: add;
  }

  span::before {
    transition: opacity var(--transition);
    animation: calc(var(--duration) * 1.5) breathe linear infinite;
  }
}

.shiny-cta:is(:hover, :focus-visible) {
  --gradient-percent: 20%;
  --gradient-angle-offset: 105deg;
  --gradient-shine: var(--shiny-cta-highlight-subtle);
  filter: blur(50%);

  &,
  &::before,
  &::after {
    animation-play-state: running;
  }

  span::before {
    opacity: 1;
  }
}

@keyframes gradient-angle {
  to {
    --gradient-angle: 360deg;
  }
}

@keyframes shimmer {
  to {
    rotate: 360deg;
  }
}

@keyframes breathe {
  from,
  to {
    scale: 1;
  }
  50% {
    scale: 1.2;
  }
}


#book-btn{
  color: black;
  background: linear-gradient(var(--shiny-cta-bg2), var(--shiny-cta-bg2))
      padding-box,
    conic-gradient(
        from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
        transparent,
        var(--shiny-cta-highlight2) var(--gradient-percent),
        var(--gradient-shine) calc(var(--gradient-percent) * 2),
        var(--shiny-cta-highlight2) calc(var(--gradient-percent) * 3),
        transparent calc(var(--gradient-percent) * 4)
      )
      border-box;
}

#book-btn img{
  filter: invert(100%);
}

/* ----------------------TEXT---------------------- */

h2 {
  font-family: "Orbitron", serif;
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 1px;
}

p {
  font-weight: 100;
}

#powered-by-text {
  margin-bottom: 1vh !important;
}

.big-text {
  margin-top: 0;
  font-size: 24px;
  font-weight: 100;
}

#welcome-text {
  text-align: start;
  line-height: max(2.5vh, 1.8rem);
}

#ready-to-start {
  margin-top: 0;
}

.cypher-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
}
.cypher-prefix {
  font-size: max(2vh, 1.5rem);
  opacity: 0.8;
}
.cypher-main {
  font-size: inherit;
}
.cypher-small {
  font-size: max(2vh, 1.5rem);
  opacity: 0.8;
  line-height: 1;
}

/* ----------------------INPUT E SELECT---------------------- */

input,
select, textarea {
  display: block;
  margin: 20px auto;
  padding: 15px;
  font-size: 20px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 100;
  width: 100%;
  max-width: 300px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  text-align: center;
  border-radius: 0px !important;
}

input,
input:focus,
input:active {
  outline: none !important;  
}


select {
  appearance: none;
  background: rgba(255, 255, 255, 0.2);
  display: block;
  font-size: 20px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 100;
  max-width: 332px;
  border: 1px solid #fff;
  color: #fff;
  text-align: center;
}

::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.name-surname-cont {
  display: flex;
  align-items: center;
  width: 332px;
  height: 6vh;
  gap: 20px;
  max-width: 332px;
  margin: 0;

  input {
    width: 50%;
  }
}

.gender-selection {
  display: flex;
  width: 100%;
  max-width: 330px;
  justify-content: space-between;
}

.gender-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  border: 1px solid #e2d7ff;
  background-color: transparent;
}

.gender-btn span{
  color: white;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 100;
  font-size: 20px;
}

.gender-btn.active {
  background: linear-gradient(
    139deg,
    #20204a 12.3%,
    #5C3973 43.9%,
    #20204a 76.5%
  );
  transform: scale(1.05);
}

.nationality-and-cap{
  display: flex;
  align-items: center;
  width: 332px;
  height: 6vh;
  gap: 20px;
  max-width: 332px;
  margin: 0;
}

.nationality-container{
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin: 0;
  width: 50%;
  height: 100%;
  padding: 0;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.2);
  box-sizing: border-box;
}

.nationality-container select {
  padding: 0;
  background: transparent;
  color: white;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 20px;
  text-align: center !important;
  appearance: none;
  width: 100%;
  border: none;
  outline: none; 
  box-shadow: none; 
  cursor: pointer;
  text-align-last: center;
}

#nationality{
  text-align: center;
  margin: 0px;
  width: 100% !important;
  height: 100%;
}

option {
  background-color: #1a1a1a;
  color: white;
  padding: 0;
  cursor: pointer;
}

#cap{
  margin: 0;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 0;
  box-sizing: border-box;
}

#cap-container {
  width: 50% !important;
  height: 100%;
}

/* -------- CHECKBOX -------- */

.privacy-section{
  max-width: 330px;
  margin-top: 15px;
}

.custom-checkbox {
  display: inline-flex;
  align-items: flex-start;
  font-size: 16px;
  cursor: pointer;
  gap: 10px;
}

.custom-checkbox p {
  margin: 0;
  text-align: left;
  font-size: 14px;
}

.custom-checkbox p a{
  color: #ffffff85;
}

.custom-checkbox input[type="checkbox"] {
  display: none;
}

.custom-checkbox .checkmark {
  padding: 20px;
  border: 1px solid #e2d7ff;
  margin-right: 10px;
  position: relative;
  transition: background-color 0.3s;
}

.custom-checkbox .checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 20px;
  border: solid #e2d7ff;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -60%) rotate(45deg);
}

.custom-checkbox input[type="checkbox"]:checked + .checkmark::after {
  display: block;
}

.privacy-section, .marketing-checkboxes{
  display: flex;
  gap: 20px;
  flex-direction: column;
}


/* ----------------------SPLAH SCREEN---------------------- */

#splash-screen {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  overflow: hidden;
  mix-blend-mode: lighten;
}

#splash-screen video {
  position: absolute;
  top: 0;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, -53%);
  width: 100%;
  height: 100vh;
  height: 100dvh;
  object-fit: cover; /* Il video riempie lo schermo mantenendo il rapporto */
  z-index: -1; /* Manda il video sullo sfondo */
  opacity: 0.5;
}

/* ----------------------FOOTER SPLASH---------------------- */

footer {
  position: absolute;
  bottom: 3vh;
}

.logo-in2-int-splash {
  display: flex;
  justify-content: center;
  gap: 20px;
  aspect-ratio: 10;
}

.logo-splash {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4vh;
}

#am-logo {
  width: 250px;
}
#dealer-logo-start, #dealer-logo-end {
  width: 150px;
  position: absolute;
  top: 40px;
}
#dealer-logo-modal {
  width: 150px;
  top: 5vh;
}
#dealer-logo-form {
  width: 250px;
  p {
    font-size: 20px;
    margin-bottom: 1vh !important;
  }
  img {
    width: 50% !important;
  }
}

/* ----------------------ALERT MESSAGE---------------------- */

#alertMessage, #booking-alertMessage {
  visibility: hidden;
  color: #A600FF;
  height: 30px;
  margin: 10px 0;
  font-weight: 400;
}

#alertMessage.visible, #booking-alertMessage.visible {
  visibility: visible;
}

/* ----------------------QUESTIONNAIRE---------------------- */
.question-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  flex-direction: column;
}

.answers {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 70px;
  width: 100%;
}

.answer {
  position: relative;
  min-width: 200px;
  height: 300px;
  cursor: pointer;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease-in-out;
}

.open-answer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.answer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.answer:hover {
  transform: scale(1.08);
}

.answer span {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #e2d7ff;
  background: linear-gradient(
    139deg,
    #20204a 12.3%,
    #5C3973 43.9%,
    #20204a 76.5%
  );
  color: white;
  font-size: 20px;
  font-weight: 200;
  padding: 15px 0;
  text-align: center;
  width: 100%;
  z-index: 9;
}

.answer {
  animation-delay: 0.2s; /* Puoi personalizzare questo per ogni risposta */
  transform: perspective(400px) rotateY(12deg) !important;
  -webkit-box-reflect: below 3px
    linear-gradient(transparent, transparent, rgba(255, 255, 255, 0.3));
  transition: 0.6s !important;
}

@supports (-webkit-hyphens: none) {
  .answer {
    max-width: 200px;
  }
}

#openAnswer {
  resize: none;
  max-height:250px;
  margin-top: 0px !important;
  text-align:left;
  width: 90vw !important;
  margin: 20px 0px !important;
  height: 150px !important;
  max-width: 400px;
}
.open-answer-cont {
  display: flex !important;
  margin-left: 0px !important;
} 

.question10 {
  margin-top: -10vh;
}

.answers10 {
  display: flex;
  flex-wrap: wrap;
  width: 45vw;
  min-width: 500px;
  gap: 3vh !important;
  margin-top: 10px;
}

.answers10 .answer {
  height: 100%;
  width: 25%;
  display: flex;
  flex-direction: column;
  -webkit-box-reflect:unset;
  min-width: initial;
}

.answers10 .answer span {
  padding: 0.8vh 0;
  position: relative;
  font-size: calc((0.8vw + 0.5vh));
}

.answers10 .answer img {
  object-position: center 50%;
  max-height: 12vh;
}


@media (hover: hover) {
  .answer:hover {
    transform: perspective(800px) !important;
  }
}

@media (hover: none) {
  .answer.straight {
    transform: translateX(-3px) !important;
    overflow: initial;
  }
  #progress-text {
    font-size: calc((1vw + 1vh)*2);
  }
  .progress-bar-container {
    width: calc((0.5vw + 0.5vh) * 20);
    height: calc((0.5vw + 0.5vh));
  }
}

#question-text{
  font-size: 2vw;
}
#question-sub-text {
  margin-top: 1vh;
  margin-bottom: 5vh;
}

#suggestionsLoader {
  z-index: 15;
  max-width: 90vw;
}
/*------------------SWIPER ANSWERS-------------------*/

.cont-swiper-col{
  display: flex;
  align-items: center;
  flex-direction: column;
}

.main-swiper-cont{
  position: relative;
  width: 260px;
  margin-bottom: 20px;
}

.swiper-container {
  position: relative;
  width: 260px;
  height: 260px;
  max-width: 260px;
  overflow: hidden;
  border-width: 2px;
  border-style: solid;
  border-image: 
    linear-gradient(
      to bottom, 
      rgba(0, 0, 0, 0),  /* Sfuma in alto */
      rgba(255, 255, 255, 0.74) 50%,     /* Continua visibile */
      rgba(0, 0, 0, 0)   /* Sfuma in basso */
    ) 1 100%;
}


.swiper-slide {
  display: flex !important;
  justify-content: center;
  align-items: center;
  height: 60px;
  width: 100% !important;
  font-size: 1.5em;
  font-weight: 100;
  color:  rgba(255, 255, 255, 0.213);
  cursor: pointer;
  transition: all 1s cubic-bezier(.215, .61, .355, 1);
}

.selected-slide {
  width: 92% !important;
  font-size: 40px;
  transition: all 1s cubic-bezier(.215, .61, .355, 1);
  color: white;
  font-weight: 200;
  padding: 10px;
  margin-bottom: 0 !important;
  transition: all 0.3s ease;
  border-width: 2px;
  border-style: solid;
  border-image: 
    linear-gradient(
      to right, 
      rgba(0, 0, 0, 0),  /* Sfuma a sinistra */
      rgba(255, 255, 255, 0.533) 50%,         /* Continua visibile */
      rgba(0, 0, 0, 0)   /* Sfuma a destra */
    ) 100% 1;
}

.swiper-slide-prev {
  margin-bottom: 0 !important;
}

.swiper-text {
  text-align: center;
  width: 100%;
}

.hidden {
  display: none;
}

/* REMOVE native Swiper arrows completely */
.swiper-button-prev,
.swiper-button-next {
  display: none !important;
}

/* Custom arrow buttons */
.custom-arrow-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.custom-arrow-btn:hover {
  opacity: 1;
}

.custom-arrow-icon {
  width: 80px;
  height: 40px;
  display: block;
}


/* ---QUESTIONNAIRE GLOW SELECTION--- */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateZ(0);
  will-change: opacity, transform;
  animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.question-text {
  transform-origin: left center;
}

@media (hover: hover) {
  .answer:hover{
    animation: pulse-glow 1.5s ease-in-out infinite;
  }

  .answer.dimmed:hover {
    animation: none !important;
  }
}

.selected-glow {
  position: relative;
  animation: pulse-glow 1.5s ease-in-out infinite !important;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 10px 2px #ac64ff7b;
  }
  50% {
    box-shadow: 0 0 25px 8px #e4cdff;
  }
  100% {
    box-shadow: 0 0 10px 2px #ac64ff7b;
  }
}

.selected-glow::after {
  content: '';
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  pointer-events: none;
  outline: 0.3vh solid white;
  /*background: linear-gradient(45deg, 
    #472a69c7 0%,
    #472a6979 50%,
    #472a69c7 100%);*/
}

.answer.dimmed::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: rgba(32, 20, 46, 0.6); /* Adjust for darkness */
  pointer-events: none;
  border-radius: inherit;
  z-index: 15;
}
/* ----------------------EFFETTO BLOB BACKGROUND---------------------- */

/*!BLOB!*/
/* #backAnim {
  position: fixed;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transform: rotate(300deg);
  display: none;
  grid-auto-flow: column;
  gap: 50px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  pointer-events: none;
}

.backAnimChange {
  filter: url("#morph");
  transform: rotate(0deg) !important;
  justify-content: center !important;
}

.blob {
  --min: 7rem;
  --d: clamp(var(--min), 8dvw, calc(var(--min) * 2));
  background: var(--bg, white);
  border-radius: 1dvw;
  height: var(--d);
  width: var(--d);

  filter: blur(50px);

  -webkit-animation-name: move;
  animation-name: move;
  -webkit-animation-delay: var(--delay, 0s);
  animation-delay: var(--delay, 0s);
  -webkit-animation-duration: var(--duration, 1.5s);
  animation-duration: var(--duration, 1.5s);
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;

  &:nth-of-type(even) {
    margin-left: -25%;
  }

  &:nth-of-type(1) {
    --bg: #ffffff;
    --min: 1.5rem;
  }

  &:nth-of-type(2) {
    --bg: #2f204b;
    --delay: 2s;
  }

  &:nth-of-type(3) {
    --bg: #5C3973;
    --min: 4rem;
    --delay: 1s;
  }

  &:nth-of-type(4) {
    --bg: #2f204b;
    --min: 1.5rem;
    --delay: 3.25s;
  }

  &:nth-of-type(5) {
    --bg: #5C3973;
    --min: 2rem;
    --delay: 2.25s;
  }

  &:nth-of-type(6) {
    --bg: #2f204b;
    --min: 3rem;
    --delay: 0.5s;
  }

  &:nth-of-type(7) {
    --bg: #5C3973;
    --min: 2rem;
    --delay: 2s;
  }

  &:nth-of-type(8) {
    --bg: #ffffff;
    --min: 1.25rem;
    --delay: 3s;
  }
}


@-webkit-keyframes move {
  to {
    margin-left: 100%;
  }
}

@keyframes move {
  to {
    margin-left: 100%;
  }
} */


/* ----------------------ICONA MUSICA---------------------- */
.music-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 100;
}

.music-toggle img {
  width: 30px;
  height: 30px;
}

/*------------------------ CARD RESULT ------------------------*/

#result{
  display: none;
}

.result-container {
  max-width: 400px;
  padding: 2vh 20px;
  z-index: 99 !important;
}

.result-card {
  border: 1px solid #E2D7FF;
  background: linear-gradient(139deg, #20204A 12.3%, #5C3973 43.9%, #20204A 76.5%);
  position: relative;
}

.result-image {
  height: 220px;
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

#descrizioneGruppo {
  text-align: start;
}

/* .result-badge {
  border: 2px solid #E2D7FF;
  background: linear-gradient(139deg, #20204A 12.3%, #5C3973 43.9%, #20204A 76.5%);
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  padding: 15px;
  font-weight: bold;
  backdrop-filter: blur(5px);
}

.result-badge img{
  width: 80px;
} */

.result-content {
  padding: 30px;
  position: relative;
}

.result-title {
  margin-top: 0px;
  color: #fff;
  margin-bottom: 15px;
  font-size: 1.7em;
}

.result-description {
  color: #fff;
  line-height: 1.6;
  font-size: 0.9em;
}

.result-meta {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: center;
  padding-top: 20px;
}

.result-date {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: "Orbitron", serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
}

.logo-card img{
  width: 50px;
}

.share-button{
  padding: 10px;
}

.share-button img{
  width: 30px;
}


#backgroundDiv2  {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
  z-index: -1;
  transition: opacity 1s ease-in-out;
  opacity: 1;
}

#backgroundDiv2{
  filter: blur(1.17rem);
}

#backgroundDiv2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 11, 36, 0.5);
  z-index: -1;
}

.loader {
  font-size: 1.2rem;
  color: white;
}

.loader {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.loader p{
  margin-top: 0px;
}

.loader-icon {
  width: 48px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hidden {
  display: none;
}

/* ----------------------SUGGESTIONS CARS---------------------- */

#suggestions {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.grid-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 100%;
  margin: 10px auto 30px;
  margin-top: 20px;
}

.card {
  position: relative;
  width: 200px;
  background: linear-gradient(139deg, #20204A 12.3%, #5C3973 43.9%, #20204A 76.5%);
  transition: transform 0.3s ease;
  color: white;
  text-decoration: none;
  padding: 10px;
  cursor: pointer;
}

.card p {
  padding: 0px;
  margin: 0px;
  text-align: center;
  font-size: 14px;
}

.card img {
  width: 100%;
  aspect-ratio: 800 / 603;
  object-fit: cover;
  max-height: 47%;
}

.card .claim{
  font-weight: 200;
  padding-right: 10px;
  padding-left: 10px;
  font-size: 14px !important;
  line-height: 13px;
  opacity: 0.5;
  margin: 0;
  text-align: center;
  font-style: italic;
}


.card:hover {
  transform: scale(1.05);
}

.container-info-card-cars {
  margin-top: 10px;
  display: flex;
  gap: 5px 11px;
  flex-wrap: wrap;
  justify-content: center;
}

#model-versione {
  min-height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#suggestions-cars .card h2{
  font-size: 14px;
  margin: 0px;
  min-height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#suggestions-cars .card .container-info-card-cars p {
  position: relative;
  text-align: center;
  margin: 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.container-info-card-cars p .icon {
  z-index: 0;
  pointer-events: none;
}

.container-info-card-cars p span:not(.icon) {
  z-index: 1;
}

.container-info-card-cars p .icon img {
  width: 16px !important;
  height: 16px !important;
  margin-right: 10px;
  opacity: 0.3;
  object-fit: cover;
}

/* #suggestions-cars .card .container-info-card-cars p:last-of-type {
  grid-column: 1 / -1;
  justify-content: center;
  width: 100%;
} */



/* Modale */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  cursor: pointer;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #2a2a2a;
  color: #fff;
  padding: 2rem;
  max-width: 500px;
  text-align: center;
  position: relative;
  cursor: auto;
}

.modal-content img {
  max-width: 100%;
  margin-bottom: 1rem;
}

.modal-content button{
  margin: auto;
}

.modal-content button img{
  margin: 0;
}

#modal-image{
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* --------- CAROSELLO IMMAGINI DENTRO ALLE CARD DELLE AUTO --------- */

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  height: 100%;
  cursor: pointer;
  -webkit-overflow-scrolling: touch; /* smooth touch scroll iOS */

  /* Hide scrollbars cross-browser */
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}

.carousel-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.carousel-track img {
  width: 100%;
  aspect-ratio: 800 / 603;
  object-fit: cover;
  flex: 0 0 100%;
  margin-bottom: initial;
  scroll-snap-align: start;
  pointer-events: none;
  user-select: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2rem;
  z-index: 10;
  cursor: pointer;
  padding: 0 10px 3px !important;
}

.carousel-btn.left {
  left: 0;
}

.carousel-btn.right {
  right: 0;
}

.carousel-dots {
  position: absolute;
  bottom: 2%;
  right: 50%;
  transform: translateX(50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px;
  border-radius: 20px;
}

.carousel-dots .dot {
  width: 7px;
  height: 7px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.carousel-dots .dot.active {
  width: 10px;
  height: 10px;
  background-color: white;
}

#carousel-preview {
  position: absolute;
  bottom:10px;
  left: 74px;
  transform: translateX(-50%);
  padding: 0;
  z-index: 9999;
  pointer-events: none;
  display: block;
  aspect-ratio: 800 / 603;
  width: 160px;
}

#carousel-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 2px solid #fff;
}

.close-btn {
  position: absolute;
  top: 2vh;
  right: 2vh;
  font-size: 24px;
  cursor: pointer;
  background-color: #000000;
  padding: 10px;
  height: 40px;
  width: 40px;
  z-index: 9;
}

#modal-title {
  text-align: center;
  padding: 0 !important;
  margin: 1vh 0 !important;
}

#modal-claim {
  text-align: center;
}

#modal-version{
  text-align: center;
  padding: 0 !important;
  margin: 0 !important;
}

.close-btn img{
  width: 40px;
}

.buttons-end{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1vh;
  max-width: 90vw;
}

#backToResult {
  height: 100%;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal-content {
  border: 1px solid #E2D7FF;
  background: linear-gradient(
    139deg,
    #20204a 12.3%,
    #5C3973 43.9%,
    #20204a 76.5%
  );
  color: white;
  padding: 20px 20px;
  text-align: center;
  font-weight: 100;
  max-width: 500px;
  margin: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.car-content{
  text-align: left !important;
}

.car-content h2{
  font-size: 25px;
}

.car-content #modal-claim{
  opacity: 0.5;
  font-style: italic;
}

/* ---------------- SLIDER APPREZZAMENTO ----------------- */
.dot-slider {
  display: flex;
  flex-direction: row;
  gap: 5px;
  justify-content: center;
  margin: 1vh 0 0;
}

.slider-dot {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 500;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
  color: #bbb;
}

/* Red range (0–6) */
.slider-dot.red.active {
  background-color: #AB34EA;
  border-color: #AB34EA;
  color: white;
}

/* Yellow range (7–8) */
.slider-dot.yellow.active {
  background-color: #B78DFF;
  border-color: #B78DFF;
  color: black; /* Better contrast for yellow */
}

/* Green range (9–10) */
.slider-dot.green.active {
  background-color: #D9C3FF;
  border-color: #D9C3FF;
  color: #000;
}

.dot-slider-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dot-slider-labels {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 320px;
  margin-top: 5px;
  font-size: 12px;
  color: #ffffffaa;
  padding: 0;
  position: relative;
}

.dot-slider-labels span {
  position: absolute;
  transform: translateX(-50%);
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
}

.dot-slider-labels .start-label {
  left: 3%;
}

.dot-slider-labels .end-label {
  left: 97%;
}



/* ------------------------------------------------------------------ */

#submitRating {
  margin-top: 1vh;
}

.close-modal {
  margin-top: 15px;
  background: transparent;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.679);
  cursor: pointer;
  font-size: 14px;
  font-family: "Orbitron", serif;
}

  #modal-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

#modal-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 colonne */
  gap: 15px;
  margin-top: 15px;
  margin-bottom: 0;
  font-size: 13px;
  position: relative;
  width: 100%;
}

#modal-details div{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1px;
  padding: 5px;
  background: rgba(124, 81, 142, 0.5);
}

#modal-details div .icon{
  display:flex;justify-content:center;align-items: center;
}

#modal-details div .icon img{
  width: 25px;
  margin-bottom: 4px;
}


/* MODALE BOOKING */

.booking-modal {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  display:flex;justify-content:center;align-items: center;
}

#booking-form-section {
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.booking-modal-content {
  position: absolute;
  background: linear-gradient(
    139deg,
    #20204a 12.3%,
    #5C3973 43.9%,
    #20204a 76.5%
  );
  border: 1px solid #E2D7FF;
  color: white;
  padding: 2rem;
  margin: 20px;
  max-width: 500px;
  text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  display:flex;justify-content:center;align-items: center;
  flex-direction: column;
}

#booking-data-recap {
  margin-bottom: 30px;
}

#booking-text {
  margin: 5vh 0;
}

/*------------------------------PULSANTE LIKE-----------------------------------*/

.like-btn-modal-cont {
  grid-column: 1 / -1;
  display: flex;
  justify-content: end;
  margin-top: 20px;
  width: 100%;
}

.like-btn-modal-gap {
  height: 1px;
}

#like-btn-modal{
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  margin: initial;
  padding: 0px 15px;
  min-height: 30px;
  gap: 7px;
  border: 1px solid #E2D7FF;
}

#like-btn-modal p{
  color: #000;
  font-family: "Orbitron", serif !important;
  text-transform: uppercase;
  font-weight: 500;
  margin-right: 10px;
}

#like-icon {
  width: 4vh;
  margin-left: 0px;
}

#like-icon-overall {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 25px !important;
  height: 25px !important;
  margin: 5px;
}

@keyframes pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.pop-animation {
  animation: pop 0.3s ease;
}



/*FORM DI PRENOTAZIONE*/

#booking-form-cont {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px !important;
}

.form-suggested-cars {
  width: 100%;
  display: flex;
  justify-content: start;
  gap: 10px;
  .card {
    width: 18% !important;
    padding: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;;

    #like-icon-overall {
      width: 20px !important;
      height: 20px !important;
      margin: 0px;
    }

    .container-info-card-cars {
      margin-top: 0px;
      gap: initial;
    }

    .container-info-card-cars p .icon img {
      width: 8px !important;
      height: 8px !important;
    }
  }
  h2 {
    font-size: 10px;
    text-align: center;
    margin: 5px 0 15px;
  }
  p {
    font-size: 8px;
  }
}

.spacer {
  height: 20px;
}

.spacerTwo {
  height: 5vh;
}

#form-suggested-cars-el .card img {
  max-height: initial !important;
}

.form-booking{
  display: flex;
  gap: 50px;

  textarea {
    width: 100%;
    min-height: 100px;  
    max-height: 180px;
    max-width: initial;
    margin: 10px 0;
    resize: vertical;  
    box-sizing: border-box; 
    text-align: left;
    font-size: 0.8rem;
    margin-bottom: 15px;
  }
}

.form-booking input {
  padding-left: 0;
  padding-right: 0;
  margin-top: 10px;
}

.booking-form-columns{
  display: flex;
  justify-content: center;
  gap: 50px;
  text-align: left;
  flex-wrap: wrap;
}

.personal-info, .last-booking-info {
  flex: 1;          
  min-width: 250px;
  input {
    max-width: initial;
  }
}

.name-surname-booking{
  display: flex;
  gap: 15px;
}

.name-surname-booking input {
  margin-left: 0;
  margin-right: 0;
}

.name-surname-booking input{
  width: 100%;
}

#mandatory-disc {
  font-size: 10px;
}

.permuta-cliente-cont {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#bookingChange, #bookingWho {
  margin: 0 !important;
  width: 32%;
  display: flex;
  align-items: center;
}

.booking-permuta, .booking-cliente {
  width: 100%;
  display: flex;
}

.radio-permuta, .radio-cliente{
  display: flex;
  flex: 1;
}

.radio-permuta .form-control{
  display: flex;
  align-items: center;
  flex: 1 1 0%;
}

.radio-cliente .form-control{
  display: flex;
  align-items: center;
  flex: 1 1 0%;
}

.radio-permuta .form-control input{
  width: 20px;
  margin: 10px;
}
.radio-cliente .form-control input{
  width: 20px;
  margin: 10px;
}

.location-booking select {
  width: 100%;
  padding: 10px 15px;
  font-size: 16px;
  background-color: transparent;
  color: white;
  border: 1px solid white;
  text-align: left;
}


.info-booking {
  max-width: 730px;
}

.date-booking {
  width: 500px;
  display: flex;
  flex-direction: column;
}

.date-booking-cont {
  display: flex;
  flex-direction: column;
}

.date-booking input {
  padding: 10px 15px;
  margin: 10px 0;
  width: 50%;
  max-width: initial;
  font-size: 16px;
  text-align: left;
}

.date-booking select {
  margin: 10px 0 20px;
  width: 50%;
  max-width: initial;
  cursor: pointer;
}

#booking-date {
  box-sizing: border-box;
}

.map-iframe-wrapper {
  max-height: 250px;
  margin: 0 0 1rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#map-title {
  display: flex;
  align-items: end;
  width: 100%;
}

#iframe-bg {
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 12;
  cursor: pointer;
}

#map-frame {
  border: 1px solid white;
  overflow: hidden;
  margin-top: 10px;
}

#map-frame.fullscreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 80vw;
  height: 80vh;
  margin: auto;
}

.disabled {
  pointer-events: none;
  opacity: 0.3;
  user-select: none;
  caret-color: transparent;
}


.flatpickr-month {
  height: 70px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center;
}
.flatpickr-current-month {
  flex-direction: column-reverse;
  gap: 5px;
  height: initial !important;
  padding: initial !important;
  width: initial !important;
}
.numInputWrapper{
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
}

.flatpickr-day.selected {
  background: #2c83cb !important;
  border-color: #2c83cb !important;
}
.flatpickr-day:hover {
  background: #2c83cb80 !important;
  border-color: #2c83cb80 !important;
}

.flatpickr-calendar.static {
  top: initial !important;
  bottom: calc(100% + 2px) !important;
}

.flatpickr-current-month {
  display: flex !important;
  position: relative !important;
  left: initial !important;
}

.cur-year {
  text-align: center !important;
}
.flatpickr-next-month, .flatpickr-prev-month {
  height: initial !important;
}
.flatpickr-next-month svg, .flatpickr-prev-month svg {
  height: 80px !important;
}
.flatpickr-next-month:hover svg, .flatpickr-prev-month:hover svg {
  fill: #2c83cb !important;
}

.timetables-row {
  display: flex;
  flex-direction: row;
  margin-bottom: 5px;
}

.timetables-btn {
  background: transparent;
  color: white;
  padding: 10px;
  border: 1px solid;
  font-family: "Plus Jakarta Sans", sans-serif;
  cursor: pointer;
  margin-right: 5px;
  width: 59px;
  display: flex;
  justify-content: center;
}

.timetables-btn.selected {
  background: linear-gradient(139deg, rgb(32, 32, 74) 12.3%, rgb(92, 57, 115) 43.9%, rgb(32, 32, 74) 76.5%);
}

.book-btn-cont {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  p {
    margin-bottom: 0 !important;
  }
  button {
    max-width: 350px;
  }
}

#booking-confirm {
  min-width: 350px;
}

/* ------------------------------------------------------------------
/* ----------------------------RESPONSIVE---------------------------- */
/* ------------------------------------------------------------------

/* ---------------------------------------------------------------------------------------- SMALL DESKTOPS (1280) */
@media (max-width: 1280px) and (min-width: 1024px) and (hover: hover) and (pointer: fine) {
.carousel-track img {
  max-height: 300px !important;
}
}

@media (max-width: 1366px) and (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  #booking-form-cont {
    margin: 0 !important;
  }
  .info-booking {
    max-width: 45vw;
  }
  .date-booking {
    width: 30vw;
  }
  #booking-alertMessage {
    margin: 0 !important;
  }
  p {
    margin: 0.5vh 0 !important;
  }
  h2 {
    font-size: 1vw !important;
  }
  label {
    font-size: 0.8vw !important;
    input {
      width: 1.5vw !important;
      height: 1.5vw !important;
      margin-right: 1vh !important;
    }
  }
  input {
    font-size: 1.5vw !important;   
  }
  input, select, textarea {
    margin: 15px auto
  }
  .gender-selection {
    margin-bottom: 1.5vh !important;
  }
  .container-info-card-cars {
    gap: 0px 11px !important;
  }
  .custom-checkbox .checkmark {
    margin-top: 10px !important;
  }
  .dot-slider {
    margin: 10px 0 0 !important;
  }
  .spacerTwo {
    height: 50px !important;
  }
  #bookingChange {
    width: 35% !important;
  }
  .timetables-btn {
    font-size: 1vw !important;
    padding: 1vh !important;
    min-width: 50px !important;
    width: initial !important;
  }
}


/* ---------------------------------------------------------------------------------------- HIGH-RES DESKTOPS (4K+) */
@media (min-width: 2561px) and (hover: hover) and (pointer: fine) {
  .audio-container-bottom{
    top: 1vw;
    right: 1vw;
  }
  .audio-container-bottom span {
    font-size: 2vw;
  }
  #dealer-logo-start, #dealer-logo-end {
    width: 9vw !important;
    top: 2vw !important;
  }
  #dealer-logo-form {
    width: 15vw !important;
  }
  #welcome-text {
    line-height: max(3vh, 3rem);
  }
  #loading-am-logo img{
    max-width: initial;
  }
  .logo-splash img { 
    width: 20vw;
  }
  #ready-btn {
    min-height: 6vw;
    aspect-ratio: 4;
  }
  #ready-text {
    font-size: 1.6vw;
  }
  #ready-btn img{
    width: 2.5vw !important;
    margin-left: 0.5vw;
    margin-left: 0.5vw;
  }
  footer {
    width: 18vw;
  }
  #powered-by-text {
    font-size: 2vh;
  }
  h2 {
    font-size: 1.5vw !important;
  }
  p{
    font-size: 1vw;
  }
  .logo-container-bottom {
    bottom: 2vh;
    right: 2vh
  }
  .logo-container-bottom img {
    width: calc((0.5vw + 0.5vh) * 5);
    height: initial;
  }
  .shiny-cta {
    padding: 2vh 2.5vh;
    font-size: 1vw !important;
    gap: 0.5vw;
  }
  .shiny-cta img {
    width: calc((0.5vw + 0.5vh) * 0.6);
  }
  .back-arrow {
    left: calc((0.5vw + 0.5vh) * 3);
    top: calc((0.5vw + 0.5vh) * 3);
  }
  header img {
    width: calc((0.5vw + 0.5vh) * 1.5);
    max-width: initial;
  }
  #introduction {
    max-width: 23vw;
  }
  .language-icon {
    width: calc((0.5vw + 0.5vh) * 5);
  }
  input, select {
    margin: 0.5vh 0 !important;
    padding: 1.3vh 0 !important;
    min-width: 100% !important;
    font-size: 1vw;
  }
  #anagraficaForm {
    width: 14vw;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .name-surname-cont {
    max-width: initial !important;
    gap: 1vh;
    width: initial !important;
  }
  #name {
    min-width: initial !important;
    width: 50% !important;
    max-width: initial;
  }
  #surname {
    min-width: initial !important;
    width: 50% !important;
    max-width: initial;
  }
  .gender-selection {
    max-width: initial;
  }
  .gender-selection button {
    width: 3vw;
    height: 3vw;
  }
  .gender-selection button span{
    font-size: 0.75vw;
  }
  .nationality-and-cap {
    width: 100%;
    max-width: initial;
    height: 4vh;
    gap: 1vw;
  }
  .nationality-container {
    padding: 0 !important;
    height: 100%;
  }
  .nationality-container select {
    font-size: 1.3vh;
  }
  #nationality {
    margin: initial !important;
    padding: 0 !important;
    height: 100%;
  }
  #cap {
    margin: 0 !important;
    padding: 0 !important;
  }
  .privacy-section {
    max-width: initial;
    margin-top: 2vh;
  }
  .custom-checkbox p {
    font-size: 0.6vw;
    margin-left: 1vh;
  }
  .custom-checkbox .checkmark {
    padding: 1.5vh;
  }
  .answers {
    margin-top: 7vh;
    gap: 1vw;
  }
  .answer {
    min-width: 10vw !important;
    height: 15vw;
    transform: perspective(20vw) rotateY(12deg) !important
  }
  .answer span {
    padding: 1.4vh 0 !important;
    width: 100%;
    font-size: 1.1vw;
  }
  .answers10 {
    width: 42vw;
    gap: 2vw !important
  }
  .answers10 .answer {
    width: 100% !important;
    max-width: 30% !important;
  }
  .main-swiper-cont {
    width: initial;
    height: 100%;
  }
  .cont-swiper-col {
    gap: 10vh;
  }
  .swiper-container {
    max-width: initial;
    width: 14vw;
    height: 28vh;
  }
  .swiper-slide {
    font-size: 3vh;
  }
  .selected-slide {
    width: initial !important;
    font-size: 4vh !important;
  }
  .custom-arrow-icon {
    width: 4vw;
    height: 2vw;
  }
  #nextButton10 {
    bottom: 4vh !important;
  }
  .result-container {
    max-width: 35vw !important;
  }
  .result-image {
    height: 35vh;
  }
  .result-content {
    padding: 2vw;
  }
  .result-content p {
    font-size: 2vh;
  }
  .result-date {
    font-size: 1.3vh;
  }
  .logo-card img {
    width: 7vh;
  }
  .grid-container {
    gap: 1vw;
    margin: 1vh 0 3vh !important;
  }
  .card {
    width: 15vw;
    max-width: initial !important;
    padding: 1vh;
  }
  .card h2 {
    max-width: initial;
    padding: 1vh 0;
    min-height: 7vh;
    margin: initial;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .card p {
    font-size: 1.5vh;
  }
  .container-info-card-cars {
    margin: 0.8vw 0 0.5vw !important;
  }
  #suggestions-cars .card h2 {
    font-size: 1.2vw !important;
    min-height: 5vh !important;
  }
  #suggestions-cars .card .container-info-card-cars p {
    font-size: 1vw;
    width: 40%;
    overflow: visible !important;    
  }
  .container-info-card-cars p .icon img {
    height: 1.5vw !important;
    width: 1.5vw !important;
  }
  #book-img {
    width: 1.5vw !important;
  }
  .carousel-wrapper {
    height: 30vh;
  }
  .carousel-btn {
    font-size: 5vh;
    padding: 0px 1.5vh 0.5vh !important;
  }
  .carousel-dots {
    gap: 0.4vw;
    padding: 0.25vw 0.5vw;
    border-radius: 5vw;
  }
  .carousel-dots .dot {
    width: 0.7vh;
    height: 0.7vh;
  }
  .carousel-dots .dot.active {
    width: 1vh;
    height: 1vh;
  }
  .modal-content {
    max-width: initial !important;
    width: 35vw !important;
    padding: 2vh;
  }
  #modal-image {
    height: 40vh;
  }
  .close-btn {
    width: 5vh;
    height: 5vh;
    top: 2vh;
    right: 2vh;
  }
  .close-btn img {
    width: initial;
  }
  #like-icon-overall {
    width: 4vh !important;
    height: 4vh !important;
  }
  #modal-text {
    width: 100%;
    margin-top: 2vh;
  }
  #modal-details {
    gap: 1vw;
    font-size: 1.2vw;
  }
  #modal-details div {
    padding: 1vh 0 !important;
  }
  #modal-details div .icon img {
    width: 2vw;
  }
  .like-btn-modal-cont {
    margin-top: 2vh;
  }
  #backToResult {
    padding: 2vh 3vh !important;
  }
  .booking-modal-content {
    max-width: 30vw !important;
    padding: 3vw;
  }
  .booking-modal-content p {
    font-size: 1.2vw;
  }
  #satisfaction-logo {
    width: 8vw !important;
  }
  .dot-slider {
    gap: 0.5vw;
  }
  .slider-dot {
    height: 2vw;
    width: 2vw;
    font-size: 1.2vw;
  }
  .dot-slider-labels {
    max-width: initial !important;
  }
  .dot-slider-labels span {
    font-size: 1vw !important;
    white-space: initial !important;
  }

  .dot-slider-labels .start-label {
    left: 4% !important;
  }

  .dot-slider-labels .end-label {
    left: 96% !important;
  }


/*  FORM PRENOTAZIONE */
#dealer-logo-form p {
  font-size: 0.7vw !important;
}
.info-booking {
  max-width: 45vw !important;
}
.date-booking {
  width: 31vw !important;
}

#bookingCarsTitle, #bookingUserTitle, #bookingSiteTitle {
  font-size: 1vw !important;
}

.form-suggested-cars h2 {
  font-size: 0.7vw !important;
  padding: 0.6vw !important;
  min-height: initial !important;
}
#form-suggested-cars-el .card {
  padding: 0.3vw !important;
}
.spacer {
  height: 2.5vh !important;
}
.form-suggested-cars { & .card {
  #like-icon-overall {
        width: 0.8vw !important;
        height: 0.8vw !important;
      }
  }
}
.booking-form-columns {
  gap: 3vw !important;
}
.booking-form-columns label {
  font-size: 1vw !important;
}
.name-surname-booking {
  gap: 0.7vw !important;
}
.personal-info input {
  padding: 2vh 0 !important;
  margin-bottom: 2vh !important;
}
.form-booking {
  gap: 2.5vw !important;
}
#mandatory-disc, #bookingMapFullscreen {
  font-size: 0.6vw !important;
}
.form-booking {
  textarea {
    min-height: 15vh !important;
    font-size: 0.9vw !important;
    margin-bottom: 2vh !important;
  }
}
.permuta-cliente-cont {
  gap: 2vh !important;
}
.radio-permuta input, .radio-cliente input {
  min-width: initial !important;
  width: 1.2vw !important;
  height: 1.2vw !important;
  margin-right: 1vh !important;
}
#booking-location, #booking-date {
  font-size: 1vw !important;
  padding: 1.5vh 2vh !important;
  margin-bottom: 2vh !important;
  min-width: initial !important;
}
#resetView {
  font-size: 0.8vw !important;
}
.map-iframe-wrapper {
  max-height: initial !important;
  margin-bottom: 2vh !important;
}
#map-frame {
  min-height: 23vh !important;
}
.timetables-btn {
  width: 4vw !important;
  font-size: 1vw !important;
  padding: 1.5vh 1vh !important;
  margin-right: 0.4vw !important;
}
.timetables-row {
  margin-bottom: 0.4vw !important;
}
#book-dealer {
  max-width: initial !important;
}
#booking-confirm {
  width: 20vw !important;
  padding: 2vw !important;
}
#dealer-logo-modal {
  width: 8vw !important;
}
#booking-data-recap {
  margin-bottom: 3vh !important;
}
#booking-data-recap p {
  margin-top: 0.4vh !important;
}
  .flatpickr-current-month select, .flatpickr-current-month input {
    padding: initial !important;
    margin: initial !important;
  }

}

@media (min-width: 2560px) {
  .flatpickr-calendar.static.open {
    transform: scale(1.7);
    bottom: calc(100% + 7.5vh) !important;
    left: 4.2vw;
  }
}

/* 4K screens (3840x2160) */
@media (min-width: 3840px) {
  .flatpickr-calendar.static.open {
    transform: scale(2.3);
    bottom: calc(100% + 10vh) !important;
    left: 5vw;
  }
}

/* 5K screens (5120x2880) */
@media (min-width: 5120px) {
  .flatpickr-calendar.static.open {
    transform: scale(3.4);
    bottom: calc(100% + 12vh) !important;
    left: 6vw;
  }
}

/* 8K screens (7680x4320) */
@media (min-width: 7680px) {
  .flatpickr-calendar.static.open {
    transform: scale(4.5);
    bottom: calc(100% + 14vh) !important;
    left: 7vw;
  }
  .flatpickr-current-month select, .flatpickr-current-month input {
    padding: initial !important;
    margin: initial !important;
  }
}


/* ---------------------------------------------------------------------------------------- TABLET (WIDTH > 600) in PORTRAIT mode */
@media (min-width: 600px) and (orientation: portrait) and (hover: none) and (pointer: coarse) {
  .logo-container-bottom img {
    width: 12vw;
    height: 12vw;
  }
  #anagraficaForm {
    max-height: 100vh;
    width: 60vw !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  h2 {
    font-size: 3.5vw !important;
  }
  p{
    font-size: 2.3vw;
  }
  #introduction {
    max-width: 70vw;
  }
  input, select {
    max-width: initial;
    font-size: 3.2vw;
    padding: 1.8vh 0;
    margin: 2vh 0;
  }
  .name-surname-cont {
    width: 100%;
    max-width: initial !important;
    gap: 2vh;
  }
  .gender-selection {
    max-width: initial;
  }
  .gender-btn {
    width: 12vw;
    height: 12vw;
  }
  .gender-btn span{
    font-size: 4vw;
  }
  #gender-btn-other span{
    font-size: 3vw;
  }
  .custom-checkbox p {
    font-size: 16px;
  }
  .nationality-container {
    padding: initial;
    height: 100%;
    align-items: center !important;
  }
  .nationality-and-cap{
    max-width: initial;
    width: 100%;
  }
  #nationality {
    font-size: 3.2vw;
    height: 100%;
    min-width: 100% !important;
    text-align: center !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-align-last: center; /* Works in Firefox and partially in modern Chromium */
    -moz-text-align-last: center;
    text-align: center;
  }
  #cap-container input {
    height: 100%;
  }
  #cap {
    width: 100%;
  }
  .privacy-section {
    max-width: 100%;
    margin-top: 2vh;
  }
  #openAnswer {
    width: 90vw !important;
    height: 50vh !important;
  }
  .open-answer-cont {
    display: flex !important;
    margin-left: 0px !important;
  } 
  .question {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 80vw;
  }
  .question10 {
    margin-top: -8vh !important;
  }
  #question-sub-text {
    margin-bottom: 1vh !important;
  }
  .answers {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Due colonne per ottimizzare lo spazio */
    place-items: center;
    gap: 8vw !important;
    margin-top: initial !important;
    margin-left: 1vw;
  }
  .answers .answer:nth-child(-n+2){
    -webkit-box-reflect:unset;
  }
  .answers10 .answer:nth-child(-n+8){
    -webkit-box-reflect:unset;
  }
  .answer {
    width: 31vw !important;
    max-width: 31vw !important;
    height: 31vw !important;
  }
  .answer img {
    object-position: 50% 60%;
  }
  .answer span {
    font-size: 1.85vh;
    padding: 1vh 0 !important;
    width: 100%;
  }
  .logo-splash img{
    width: 43vw;
  }
  .answers10 {
    gap: 4vw 2vw !important;
    margin-top: 2vh !important;
    width: 90vw;
    display: flex;
    flex-wrap: wrap;
  }
  .answers10 .answer{
    width: 27vw !important;
    max-width: 27vw !important;
    min-width: initial;
    height: initial !important;
  }
  .answers10 .answer span {
    font-size: 1.6vh;
    padding: 1vh 0 !important;
    width: 100% !important;
  }
  .answers10 .answer img {
    max-height: 10vh;
    object-fit: cover;
  }
  #nextButton10 {
    bottom: 7vh !important;
  }
  header img {
    width: 100px; /* Logo più grande per una maggiore visibilità */
  }
  .section {
    width: 100%;
    height: 100%;
  }
  .shiny-cta, .shiny-cta-compressed {
    font-size: 1.5rem; /* Testo più grande per i pulsanti */
  }
  .question-container {
    width: 100%;
    max-width: 900px;
  }
  .result-container {
    max-width: 85vw;
    margin-bottom: 0 !important;
  }
  #suggestionsLoader p {
    font-size: 2vh;
  }
  .result-title {
    font-size: 32px;
  }
  .result-description {
    font-size: 1.7vh;
  }
  .result-image {
    height: 50%;
    max-height: 350px;
  }
  #question-title{
    margin: 1vh 0 !important;
  }
  #question-text{
    font-size: 3.5vw;
    margin: 2vh 0 !important;
  }
  .big-text{
    font-size: 6vw;
  }
  .share-button{
    padding: 20px;
  }
  .cont-swiper-col{
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-left: -1.8vw ! important;
  }
  #dealer-logo-start {
    top: 38px !important;
  }
  #dealer-logo-end {
    top: 2vh !important;
  }
  .grid-container {
    max-width: 90%;
    gap: 1.5vw !important;
    margin: 0 !important;
  }
  #more-info-car {
    font-size: 2.6vw;
    margin: 0 auto 0.5vh !important;
  }
  .card {
    width: 25vw !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    gap: 0px;
    padding: 1.3vw !important;
  }
  .card h2 {
    font-size: 1.7vw !important;
    height: 4vh; 
    margin: 0 !important;
    padding: 0.5vh 0 0 !important;
    text-align: center;  
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: initial;
  }
  .container-info-card-cars {
    margin-top: 0.5vh !important;
  }
  .card p {
    font-size: 1.8vw !important;
    padding: 0 !important;
    margin: 0px !important;
  }
  .card .claim{
    font-size: 16px;
  }
  .card img {
    flex-grow: 1; /* Take the remaining space */
    object-fit: cover; /* Ensures the image scales nicely */
  }
  .buttons-end {
    margin-top: 2vh;
  }
  #like-btn-modal{
    margin-top: 3vh;
    padding: 0.5vh 0 !important;
    width: initial !important;
  }
  #like-icon {
    width: 4vh !important;
    margin-left: 2.5vw !important;
  }
  #like-btn-modal p {
    margin-right: 2.5vw !important;
  }
  .car-content {
    min-width: 70vw;
  }
  #dealer-logo-form {
    margin-top: 3vh;
  }
  #final-notes {
    min-width: 100% !important;
    min-height: 160px;
    font-size: 1.5vh !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }
  #dealer-logo-form img {
    width: 200px !important
  }
  #booking-form-cont {
    align-items: center;
  }
  #booking-form-section {
    justify-content: initial !important;
  }
  .form-booking {
    flex-direction: column;
  }
  .info-booking, .date-booking {
    width: 75% !important;
  }
  #booking-location, #booking-date {
    padding: 1.8vh 15px;
  }
  .location-booking select, #booking-date {
    font-size: 3.2vw !important;
  }
  #form-suggested-cars-el {
    flex-wrap: wrap !important;
    gap: 1vh;
    justify-content: center;
  }
  .form-suggested-cars .card {
    width: 27% !important;
  }
  #name-booking, #surname-booking {
    flex: 1;
  }
  #book-dealer {
    margin-bottom: 3vh;
    max-width: initial !important;
  }
  .flatpickr-current-month .flatpickr-monthDropdown-months {
    display: flex;
    justify-content: center !important;
    align-items: center !important;
  }
}

/* ---------------------------------------------------------------------------------------- TABLET in LANDSCAPE mode */
@media screen and (orientation: landscape) and (min-width: 768px) and (min-height: 600px) and (max-width: 1366px) and (pointer: coarse) and (hover: none) {
  #introduction {
    max-width: 50vw;
  }
  #welcome-text {
    line-height: max(4.5vh, 2rem);
  }
  input, select {
    padding: 1.8vh 15px;
  }
  #dealer-logo-start {
    top: 5vh !important;
  }
  #dealer-logo-end {
    top: 10vh !important;
  }
  .gender-selection {
    justify-content: center !important;
    gap: 3vw !important;
    margin-bottom: 2vh !important;
  }
  .gender-btn {
    width: 50px;
    height: 50px;
  }
  .gender-btn span {
    font-size: 1.5vw !important;
  }
  #gender-btn-other span {
    font-size: 1vw !important;
  }
  .custom-checkbox p {
    font-size: 1.2vw !important;
    margin: initial !important;
  }
  #alertMessage, #booking-alertMessage {
    margin: initial !important;
    font-size: 1.5vw !important;
  }
  .shiny-cta {
    padding: 3vh 3.6vh !important;
  }
  .shiny-cta p {
    margin: initial !important;
  }
  h2 {
    font-size: 2.3vw !important;
  }
  p {
    font-size: 1.5vw !important;
    margin: 0.5vh auto !important;
  }
  .nationality-and-cap {
    height: 9vh;
    max-height: 55px;
  }
  #nationality {
    text-align: center !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-align-last: center; /* Works in Firefox and partially in modern Chromium */
    -moz-text-align-last: center;
    text-align: center;
  }
  #openAnswer {
    width: 90vw !important;
    height: 50vh !important;
  }
  .open-answer-cont {
    display: flex !important;
    margin-left: 0px !important;
  } 
  #question-title {
    font-size: 2.5vw !important;
  }
  #question-text {
    font-size: 2vw !important;
  }
  .question10 {
    margin-top: -15vh !important;
  }
  .answers {
    margin-top: 5vh !important;
    max-width: 95vw !important;
  }
  .answers .answer {
    width: 20vw !important;
    height: 25vw !important;
    min-width: initial !important;
  }
  .answers10 .answer:nth-child(-n+4){
    -webkit-box-reflect:unset;
  }
  .answers10 {
    gap: 2vw 1vw !important;
    max-width: 60vw !important;
    width: initial;
    margin-top: 2vh;
  }
  .answers10 .answer {
    min-width: initial !important;
    max-height: 15vh !important;
    height: initial !important;
    max-width: initial;
    width: 15vw !important;
  }
  .answers10 .answer img {
    max-height: 9vh !important;
  }
  .answers10 .answer span {
    padding: 1vh 0 !important;
  }
  #nextButton10 {
    bottom: 9vh !important;
  }
  .answers .answer span {
    padding: 1.5vh 0;
    font-size: 1.5vw;
    width: 100%;
  }
  .result-container {
    max-width: 50vw;
    margin: 2vh auto !important;
    padding: initial;
  }
  #suggestionsLoader {
    flex-direction: row;
  }
  .spacerTwo {
    height: 8vh !important;
  }
  .close-btn {
    top: 3vh;
    right: 3vh;
  }
  #modal-text {
    margin-left: 3vh;
  }
  #modal-title {
    margin: 2vh 0 !important;
    max-width: 80%;
  }
  #modal-image {
    height: 50%;
    max-height: 30vh !important;
    margin-bottom: initial !important;
  }
  #modal-claim {
    font-size: 2.5vh !important;
  }
  #modal-details {
    font-size: 2vh !important;
  }
  .result-content {
    padding: 2vw;
  }
  .result-description {
    line-height: initial;
  }
  .result-image {
    height: 30vh;
    object-fit: cover;
  }
  #descrizioneGruppo {
    font-size: 1.5vw !important;
  }
  #more-info-car {
    margin: 1vh auto;
  }
  .grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center items on each row */
    gap: 1.2vh;
    margin: 1vh auto 2vh;
  }
  .card {
    width: 17vw;
    display: flex;
    flex-direction: column;
    padding: 1.2vh !important;
    justify-content: flex-start;
    gap: 0;
    overflow: hidden;
  }
  .card h2 {
    font-size: 2vh !important;
    height: 4vh; /* prevent overflow */
    margin: 1.3vh 0 1.3vh !important;
    padding: 0 !important;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: initial;
  }
  .card p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1vw !important;
  }
  .card img {
    flex-grow: 1;
    object-fit: cover; /* or 'cover' depending on your crop preference */
  }
  #like-btn-modal{
    margin-top: 3vh;
    padding: 0.5vh 0 !important;
    width: initial !important;
  }
  #like-icon {
    width: 4vh !important;
    margin-left: 2vw !important;
  }
  #like-btn-modal p {
    margin-right: 2vw !important;
  }
  .container-info-card-cars {
    gap: 0px 11px !important;
  }
  .car-content {
    min-width: 50vw;
    max-width: initial !important;
    flex-direction: row;
    padding: 3vh !important;
  }
  #model-versione {
    min-height: initial !important;
  }
  #like-icon-overall{
    width: 2.3vw !important;
    height: 2.3vw !important;
  }
  #dealer-logo-form {
    width: 300px;
    margin-top: 4vh;
  }
  #dealer-logo-form img {
    width: 200px !important
  }
  #booking-form-cont {
    width: 70% !important;
  }
  .info-booking {
    max-width: 80vw !important;
  }
  #booking-form-section {
    justify-content: initial !important;
  }
  .form-suggested-cars .card {
    width: 17% !important;
  }
  .form-suggested-cars h2 {
    font-size: 1.3vh !important;
  }
  #bookingCarsTitle, #bookingUserTitle, #bookingSiteTitle {
    font-size: 1.9vw !important;
  }
  .date-booking {
    width: initial !important;
  }
  #booking-location {
    padding: 2vh !important;
  }
  .location-booking select {
    font-size: 17px;
  }
  #final-notes {
    min-height: 100px;
    font-size: 2vh !important;
    text-align: left !important;
  }
  #booking-email, #booking-phone {
    max-width: initial !important;
  }
  #bookingMapFullscreen, #resetView {
    margin: 0 0 0 2vh !important;
    font-size: 1.5vh !important;
  }
  #booking-date {
    padding: 2vh !important;
    font-size: 17px !important;
  }
  #book-dealer {
    margin-bottom: 10vh !important;
  }
}

/* ---------------------------------------------------------------------------------------- SMARTPHONE in PORTRAIT mode */
@media screen and (orientation: portrait) and (max-width: 599px) and (pointer: coarse) and (hover: none) {
  #introduction {
    max-width: 80vw !important;
  }
  #introduction p {
    font-size: 1.92vh !important;
  }
  .logo-container-bottom {
    right: 30px;
  }
  .logo-container-bottom img {
    width: 7vh;
    height: 7vh;
  }
  .audio-container-bottom {
    top: 23px !important;
    right: 23px !important;
  }
  h2 {
    font-size: 2.2vh !important;
  }
  p {
    font-size: 1.92vh !important;
  }
  #dealer-logo-start, #dealer-logo-end {
    width: 100px !important;
    top: 28px !important;
  }
  #question-sub-text {
    font-size: 1.6vh !important;
  }
  input, select {
    font-size: 1.92vh !important;
    padding: 2vh 0 !important;
    margin: 2vh 0 !important;
    min-width: 100% !important;
  }
  #anagraficaForm {
    max-width: 80vw;
  }
  .name-surname-cont {
    width: 100%;
    
    input {
      min-width: initial !important;
    }
  }
  #gender-btn-other span {
    font-size: 2vh !important;
  }
  .gender-btn span {
    font-size: 2.6vh !important;
  }
  .custom-checkbox p {
    font-size: 1.55vh !important;
  }
  .nationality-and-cap {
    max-width: initial;
    height: 6vh;
    width: 100%;
  }
  .nationality-container {
    padding: initial !important;
    height: 100%;
  }
  #nationality {
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
    text-align: center !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-align-last: center; /* Works in Firefox and partially in modern Chromium */
    -moz-text-align-last: center;
    text-align: center;
  }
  #cap {
    width: 100% !important;
    margin: 0 !important;
  }
  #cap-container {
    height: 100%;
  }
  #cap-container input {
    padding: 0 !important;
    height: 100% !important;
  }
  .back-arrow {
    display: flex;
    top: initial;
    margin-left: 4vw;
  }
  .cta-compressed {
    padding: 1.3rem 1.5rem;
  }
  #question-title {
    margin: 0 0 1vh !important;
  }
  .question10 {
    margin-top: -8vh;
  }
  .answers .answer:nth-child(-n+8){
    -webkit-box-reflect:unset;
  }
  #openAnswer {
    width: 70vw !important;
    height: 50vh !important;
  }
  .open-answer-cont {
    display: flex !important;
    margin-left: 0px !important;
  } 
  .answers {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Due colonne per ottimizzare lo spazio */
    place-items: center;
    gap: 8vw 6vw;
    margin-top: 3vh;
    margin-left: 1.2vw;
  }
  .answers10 {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 90vw;
    gap: 5vw 3vw !important;
    min-width: initial !important;
  }
  .answers10 .answer {
    width: 28vw !important;
    min-width: initial;
    overflow: unset;
    max-width: initial;
  }
  .answers10 .answer span {
    font-size: 2.5vw;
  }
  .answers10 .answer img {
    max-height: initial;
    object-fit: contain;
  }
  .answer {
    min-width: initial;
    width: 40vw;
    height: 25vh;
  }
  .answer img {
    object-position: center 50%;
  }
  .answer span {
    font-size: 4vw;
    padding: 0.4rem 0 !important;
    width: 100%;
  }
  .cont-swiper-col {
    margin-top: 8vh;
    margin-left: -1vw !important;
    display: flex !important;
  }
  #nextButton10 {
    bottom: 12vh !important;
  }
  .result-container {
    margin: initial;
  }
  .result-description {
    line-height: 1.2;
    font-size: 1.8vh !important;
  }
  #more-info-car {
    margin-top: 0 !important;
    margin-bottom: 1vh !important;
    font-size: 1.8vh !important;
  }
  .container-info-card-cars {
    gap: 0px 11px !important;
  }
  .buttons-end {
    gap: 0.7vh;
    max-height: 50px;
  }
  .buttons-end button {
    padding: 3vw 4vw !important;
  }
  .buttons-end p {
    font-size: 1.5vh !important;
    padding-top: 2px;
  }
  .buttons-end button {
    gap: 2vw;
  }
  .grid-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 2vh 1vh !important;
    gap: 0.5vh !important;
  }
  .card {
    display: flex;
    flex-direction: column;
    padding: 0.5vh !important;
    width: 43%;
  }
  .card h2 {
    padding: initial;
    max-width: initial;
    min-height: 4vh;
    font-size: 1.4vh !important;
    flex: 1;
    justify-content: center;
    align-items: center;
    display: flex;
    margin: 0.7vh 0 !important;
    text-align: center;
    text-wrap: balance;
  }
  .card p {
    margin: 0;
    padding: 0;
    font-size: 1.3vh !important;
  }
  #disclaimer-title {
    margin: 0px !important;
    font-size: 1.4vh !important;
  }
  #disclaimer-text-1 {
    font-size: 1.2vh !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
  }
  #disclaimer-text-2 {
    font-size: 1.2vh !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
  }
  #suggestions-cars .card h2 {
    min-height: initial !important;
  }

  .carousel-btn.right, .carousel-btn.left {
    padding: 0 10px 3px !important;
  }
  .card img {
    height: 7.5vh !important;
  }
  .modal-content {
    max-width: 80vw !important;
  }
  .modal-content button{
    height: initial;
    padding: 2vh 3vh !important;
  }
  .modal-content p {
    font-size: 1.8vh !important;
  }
  .slider-dot {
    width: 6vw;
    height: 6vw;
    font-size: 13px;
  }
  #close-btn {
    padding: 0.7vh;
  }
  #modal-details {
    gap: 1vw;
  }
  #like-btn-modal{
    padding: initial !important;
    width: initial !important;
  }
  #like-icon {
    width: 4vh;
    margin-left: 4vw;
  }
  #like-btn-modal p {
    margin-right: 4vw;
  }
  .booking-modal-content {
    padding: 2vh;
  }
  #booking-form-section {
    justify-content: initial !important;
  }
  #model-versione {
    min-height: initial !important;
  }

  #dealer-logo-end {
    position: relative !important;
    top: initial !important;
  }

  #like-icon-overall {
    width: 20px !important;
    height: 20px !important;
  }

  .dot-slider-labels span {
    font-size: 10px !important;
    white-space: initial !important;
  }

  .dot-slider-labels .start-label {
    left: 6% !important;
  }

  .dot-slider-labels .end-label {
    left: 94%;
  }

  /* FORM di PRENOTAZIONE */

  #dealer-logo-form {
    margin-top: 5vh;
  }

  .form-suggested-cars {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .form-suggested-cars .card{
    width: 30vw !important;
  }

  .info-booking {
    max-width: 75vw;

    h2 {
      text-align: center;
      margin: 5vh 0;
    }
  }
  .form-booking {
    flex-direction: column;
    align-items: center;
  }
  .booking-form-columns {
    gap: initial !important;
  }
  .personal-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .name-surname-booking, .email-booking, .phone-booking, .last-booking-info {
    width: 100%;
  }
  #mandatory-disc {
    width: 100%;
  }
  .permuta-cliente-cont {
    margin-top: 5vh;
  }
  .booking-permuta, .booking-cliente {
    flex-direction: column;
  }
  #bookingChange, #bookingWho {
    width: initial;
  }
  .radio-permuta .form-control input, .radio-cliente .form-control input {
    min-width: initial !important;
    margin-right: 15px !important;
  }
  .date-booking {
    max-width: 75vw;
  }
  #bookingSiteTitle {
    text-align: center;
    margin: 5vh 0 !important;
  }
  #booking-date {
    padding: 2vh !important;
    min-width: initial !important;
    box-sizing: border-box !important;
    width: initial !important;
  }
  #bookingMapFullscreen {
    font-size: 1.4vh !important;
    margin: initial !important;
  }
  #resetView {
    align-self: end;
    font-size: 1.7vh !important;
  }
  #booking-location {
    padding: 2vh !important;
  }
  .timetables-btn {
    width: 28px;
    font-size: 1.5vh;
  }
  #map-title {
    flex-direction: column;
    align-items: start;
  }
  #book-dealer {
    margin-bottom: 10vh !important;
  }
  #booking-confirm {
    min-width: initial !important;
    width: 75vw !important;
    padding: 5vh 2vh !important;
  }
  #booking-confirm p {
    font-size: 1.8vh !important;
  }
  .flatpickr-monthDropdown-months {
    margin: 0 !important;
    padding: 0 !important;
  }
  .cur-year {
    margin: 0 !important;
    padding: 0 !important;
  }
  #booking-alertMessage {
    font-size: 1.8vh !important;
  }
  #book-dealer {
    width: 75vw !important;
    font-size: 3.5vw !important;
  }
}


/* ---------------------------------------------------------------------------------------- SMARTPHONE in LANDSCAPE mode */
@media screen and (orientation: landscape) and (max-height: 500px) and (max-width: 1024px) and (hover: none) and (pointer: coarse) {
  footer {
    right: -25px;
    text-align: end;
    scale: 50%;
  }
  #welcome-text {
    line-height: max(5.5vh, 1.2rem);
  }
  #introduction {
    max-width: 75vw;
  }
  #introduction p {
    font-size: 1.5vw !important;
  }
  .audio-container-bottom {
    right: 25px;
    top: 20px;
  }
  .logo-container-bottom {
    bottom: 0px !important;
    right: 30px !important;
  }
  .back-arrow {
    top: 0px !important;
    left: -10px !important;
  }
  #dealer-logo-start {
    top: 25px !important 
  }
  h2 {
    margin: 0.5vh 0 0 !important;
    font-size: 4vh !important;
  }
  p{
    margin: 1vh 0 !important;
    font-size: 1.8vw !important;
  }
  #dealer-logo-start {
    width: 100px;
  }
  #question-sub-text {
    font-size: 1.5vw !important;
  }
  .language-icon {
    height: 15vh !important;
    width: auto;
  }
  .shiny-cta {
    padding: calc((0.5vw + 0.5vh) * 2) calc((0.5vw + 0.5vh) * 2.7);
  }
  #anagraficaForm {
    max-height: 100vh;
    width: 41vw !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  input, select {
    min-width: 100% !important;
    padding: 0.5vh 0;
    margin: 0.5vh 0;
    font-size: 4vh;
  }
  .name-surname-cont {
    width: 100%;
    max-width: initial !important;
    height: initial !important;

    input {
      min-width: initial !important;
    }
  }
  .gender-selection {
    max-width: initial;
    justify-content: center;
    gap: 20px;
  }
  .gender-btn {
    width: 30px;
    height: 30px;
  }
  #gender-btn-other span {
    font-size: 2vh;
  }
  .gender-btn span {
    font-size: 3.2vh;
  }
  .nationality-and-cap {
    width: 100%;
    height: 7vh;
    max-width: initial;
  }
  .nationality-container {
    padding: 0 !important;
    height: 100%;
  }
  .nationality-container select {
    font-size: 4vh;
  }
  #nationality {
    text-align: center !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-align-last: center; /* Works in Firefox and partially in modern Chromium */
    -moz-text-align-last: center;
    text-align: center;
  }
  .privacy-section {
    margin-top: 1vh;
    max-width: initial !important;
  }
  .custom-checkbox {
    gap: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .custom-checkbox p {
    font-size: 3vh !important;
    margin: 0.5vh 0 !important;
  }
  .custom-checkbox .checkmark {
    padding: 3vh;
  }
  .custom-checkbox input:checked + .checkmark::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px; /* ⬅ change this */
    height: 12px; /* ⬅ and this */
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
  #alertMessage {
    display: none;
  }
  .question10 {
    margin-top: -10vh;
  }
  #openAnswer {
    width: 90vw !important;
    max-height: 20vh !important;
  }
  .open-answer-cont {
    display: flex !important;
    margin-left: 0px !important;
  } 
  .answers {
    margin-top: 6vh;
    gap: 1.5vw;
  }
  .answer {
    width: 17vw;
    max-height: 45vh;
    min-width: initial
  }
  .answer span {
    font-size: 4vh;
    padding: 0.5rem 0;
    width: 100%;
  }
  .answer img {
    object-position: center 70%;
  }
  .answers10 {
    gap: 1.5vw !important;
    flex-wrap: nowrap;
    width: 90vw;
  }
  .answers10 .answer {
    width: 10vw !important;
    min-width: initial;
    overflow: unset;
    max-width: initial;
  }
  .answers10 .answer span {
    font-size: 3vh;
    width: 100%;
    min-height: 8vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .answers10 .answer img {
    object-fit: contain;
    max-height: initial;
  }
  #nextButton10 {
    bottom: 15vh !important
  }
  .main-swiper-cont {
    height: initial;
    margin-bottom: 2vh;
  }
  .swiper-container {
    height: 35vh;
  }
  .custom-arrow-btn {
    display: none !important;
  }
  .result-container {
    height: 60vh;
    max-width: initial;
    margin: initial;
    margin-top: 1vh;
    padding: 0 6vw 2vh;
  }
  .result-description {
    line-height: 1.2;
    font-size: 1.6vw !important;
  }
  .result-card {
    display: flex;
    flex-direction: row;
    height: 100%;
  }
  .result-content {
    padding: 6vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  #generatedImage {
    height: 100%;
    max-width: 50%;
  }
  #disclaimer-title {
    margin: 0px !important;
    font-size: 2.5vh !important;
  }
  #disclaimer-text-1 {
    font-size: 2.2vh !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
  }
  #disclaimer-text-2 {
    font-size: 2.2vh !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
  }
  #more-info-car {
    display: none;
  }
  .loader {
    flex-direction: row !important;
  }
  .container-info-card-cars {
    margin-top: 2vh !important;
    margin-left: -6px !important;
    gap: 0px 12px;
  }
  .container-info-card-cars p {
    width: 40%;
    overflow: visible !important;    
  }
  .grid-container {
    flex-wrap: nowrap !important;
    margin: 1vh;
    gap: 1.5vh;
  }
  .card {
    width: 16vw !important;
    padding: 0.5vw !important;
    display: flex;
    flex-direction: column;
  }
  .card h2 {
    padding: initial;
    max-width: initial;
    font-size: 3vh !important;
    flex: 1;
    justify-content: center;
    align-items: center;
    display: flex;
    margin: 1vh 0 !important;
    text-align: center;
    text-wrap: balance;
  }
  .card p {
    padding: 0 !important;
    margin: 0 !important;
    font-size: 2.5vh !important;
  }
  .card img {
    max-height: 20vh;
  }
  #suggestions-cars .card h2 {
    min-height: initial !important;
  }
  .modal-content {
    margin: initial;
    padding: 2vw;
    height: 67vh;
  }
  .modal-content button{
    height: initial;
    padding: 6vh 4vh !important;
  }
  .modal-content p {
    font-size: 3.5vh !important;
  }
  .car-content {
    display: flex;
    flex-direction: row;
    max-width: initial;
    width: 90vw !important;
    padding: 2vw !important;
    overflow: hidden;
  }
  #modal-details {
    line-height: 3.5vh;
    font-size: 2.8vh !important;
    margin-bottom: 0 !important;
    gap: 1vh;
  }
  #modal-image {
    width: 45% !important;
    height: 100% !important;
    margin: 0 !important;
    margin-bottom: initial !important;
  }
  .carousel-wrapper {
    max-height: 100%;
    width: 90%;
  }
  .carousel-btn.right, .carousel-btn.left {
    padding: 0 10px 3px !important;
  } 
  #modal-text {
    margin-left: 2vw;
    height: 100% !important;
  }
  .close-btn {
    padding: initial;
    top: 2vw;
    right: 2vw;
  }
  #satisfaction-logo {
    margin-bottom: initial;
    max-height: 8vh;
  }
  .modal-content p{
    margin: 3vh 0 !important;
  }
  #modal-claim {
    max-width: 30vw;
    margin: 1vh auto !important;
  }
  .like-btn-modal-cont {
    margin-top: initial !important;
  }
  .booking-modal-content {
    padding: 2vw;
  }
  #booking-form-section {
    justify-content: initial !important;
  }
  #backToResult {
    padding: calc((0.5vw + 0.5vh) * 2) calc((0.5vw + 0.5vh) * 3.3);
  }
  #submitRating {
    padding: 2vw !important;
  }
  #like-btn-modal{
    margin-top: 3vh;
    padding: initial !important;
    width: initial !important;
  }
  #like-icon {
    width: 6vh;
    margin-left: 1vw !important;
  }
  #like-btn-modal p {
    margin-right: 1vw !important;
  }
  #model-versione {
    min-height: initial !important;
  }
  .dot-slider-labels span {
    font-size: 10px !important;
  }
  .dot-slider-labels .start-label {
    left: -16% !important;
    bottom: 4px !important;
  }
  .dot-slider-labels .end-label {
    left: 116% !important;
    bottom: 4px !important;
  }
  #dealer-logo-end {
    width: 100px;
    top: initial;
    bottom: 14vh;
    right: 4vw;
  }
  #like-icon-overall {
    width: 20px !important;
    height: 20px !important;
  }
  .form-suggested-cars .card {
    max-width: 17% !important;

    h2 {
      font-size: 0.8vw !important;
    }
  }
  #dealer-logo-form {
    margin-top: 15vh
  }
  #dealer-logo-form img {
    width: 40% !important;
  }
  /* .container-info-card-cars {
    justify-content: initial !important;
    margin-left: initial !important;
    margin-top: initial !important;
  } */
  .info-booking {
    max-width: 50vw !important;
  }
  #name-booking, #surname-booking {
    width: 100% !important;
  }
  .booking-form-columns h2 {
    margin: 2vh 0 2.5vh !important;
  }
  .form-suggested-cars {
    gap: 0.5vw;
  }
  .form-booking {
    flex-direction: column;
  }
  .form-booking input, select {
    margin: 10px 0 20px auto;
  }
  .booking-form-columns input {
    padding: 5vh 0;
  }
  .booking-form-columns select {
    padding: 5vh 15px;
  }
  .radio-permuta input, .radio-cliente input {
    min-width: initial !important;
  }
  .date-booking {
    max-width: 50vw;
    width: 100%;
  }
  #booking-date {
    padding: 5vh 15px !important;
    box-sizing: border-box !important;
  }
  #bookingMapFullscreen {
    font-size: 1.2vw !important;
    margin-left: 10px !important;
  }
  #book-dealer {
    margin-bottom: 10vh;
    padding: 6vh !important;
  }
  .flatpickr-calendar.static {
    bottom: calc(-100% + 2px) !important;
    right: 17%;
  }
}


/* ---------------------------------------------------------------------------------------- DESKTOP ADAPT */
/*@media (max-width: 1080px) and (hover: hover) and (pointer: fine) {
  .answers10 {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Due colonne per ottimizzare lo spazio
    place-items: center;
  }
  .answers10 .answer {
    max-width: 40vw;
    max-height: 30vh;
  }
}*/

/*
@media (max-width: 767px) {
 
  .answers .answer:nth-child(1){
    -webkit-box-reflect:unset;
  }  
  .answers .answer:nth-child(2){
    -webkit-box-reflect:unset;
  }
  .card{
    width: 40% !important;
    height: auto;
    max-width: 90%;
  }
  .card img{
    height: 70px;
  }  
  .card p{
    margin-bottom: 5px;
    margin-top: 3px;
  }
  .card h2{
    margin-top: 5px;
    margin-bottom: 3px;
  }  
  .card h2{
    font-size: 2.5vw;
  }
  #question-title{
    margin-top: 5px;
  }
  #question-text{
    font-size: 5.5vw;
    margin-top: 0px;
  }
  .card p{
    font-size: 8px;
  }
  .card .claim{
    font-size: 8px !important;
    line-height: 8px;
  }
  .result-title{
    font-size: 1.2em;
  }
  .result-description {
    line-height: normal;
    font-size: 14px;
  }
  .result-container {
    margin: 0;
  }
  .grid-container {
    gap: 8px;
    margin: 0;
  }
  .result-date {
    font-size: 12px;
  }
}
*/
/* ---------------------------------------------------------------------------------------- SMALL devices */
@media (max-width: 390px) {
  .card img{
    height: 40px;
  }
}
