@media screen and (max-width: 768px) {
    /* Stili per schermi fino a 768px (tablet e telefoni) */
#searchBtnHeader{
    display: none;
}
#headerLogo{
    width: 50%;
    margin-left: 23%;
    margin-top: 2%;
}
.modal-overlay{
    z-index: 11;
}
.modal-content{
    width: 280px;
    padding: 20px;
    height: 350px;
}
.modal-content input[type="email"]{
    width: 93%;
    margin: 0;
    margin-top: 20px;
    margin-bottom: 20px;
}
#submitBtn{
    width: 100%;
}
.searchBarHeader{
    width: 86%;
    margin: 0;
    margin-top: 2%;
    margin-bottom: 2%;
    margin-left: 5px;
    overflow: hidden;
}
.searchBarHeader img{
    margin-left: 3%;
    width: 20px;
}
.searchBarHeader input{
    font-size: 14px;
}
.logo{
    display: none;
}
.title{
    margin-top: -30%;
    font-size: 10vw;
    padding-right: 20px;
    padding-left: 20px;
    text-align: center;
}
.searchBar{
    width: 85%;
    height: 50px;
    overflow: hidden;
}
.searchBar img{
    width: 18px;
    margin-left: 15px;
    margin-right: 5px;
}
#searchBarInput{
    font-size: 16px;
    height: 100%;
    touch-action: manipulation; /* Evita zoom indesiderati */
}
#searchBtn{
    display: none;
}
.resultsPage{
    margin-top: 15%;
    gap: 5px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: 0;
}
.resultClone{
    width: 95%;
    height: 290px;
    margin-top: 5px;
    margin-left: 2px;
}
.imgContainer{
    height: 100%;
    width: 40%;
}
.underPart{
    height: 100%;
    width: 60%;
}
.starRatingContainer{
    align-items: center;
}
.starRatingContainer p{
    font-size: 14px;
}
.stars{
    margin-top: 3px;
    font-size: 14px;
}
.priceContainer h1{
    font-size: 25px;
}
.product{
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
    margin: 0;
}
.productInfo{
    display: block;
    height: 50vh;
}
.productImgContainer{
    width: 100%;
}
.otherInfos{
    width: calc(100% - 20px);
    margin-left: 15px;
    margin-right: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
}
/* Stili generali per il container Swiper */
.swiper-container {
    width: 90%;  /* Occupiamo tutta la larghezza disponibile */
    height: 60vh;  /* Altezza fissa per il contenitore */
    overflow: hidden;
    margin-top: 10%;
    margin-left: 5%;
    position: relative; /* Posizionamento relativo per la paginazione */
    margin-bottom: 10px; /* Aggiungi spazio sotto il container */
}

.swiper-wrapper {
    display: flex;
    align-items: center;  /* Allineamento verticale delle immagini */
}

.swiper-slide img {
    object-fit: cover;    /* Le immagini si adattano mantenendo le proporzioni */
    max-width: 100%;       /* L'immagine non supererà la larghezza del contenitore */
    max-height: 85%;      /* L'immagine non supererà l'altezza del contenitore */
    width: auto;           /* Mantiene la larghezza in proporzione */
    margin: 0;             /* Elimina eventuali margini */
}

/* Stili di navigazione */
.swiper-button-next, .swiper-button-prev {
    color: white;
    background: rgba(0, 0, 0, 0.5);  /* Pulsanti di navigazione con trasparenza */
    padding: 10px;
    border-radius: 50%;
}
.swiper-slide {
    position: relative;
    display: flex !important; /* Forza display flex */
    justify-content: center !important;  /* Centra orizzontalmente l'immagine */
    align-items: center !important;      /* Centra verticalmente l'immagine */
    height: 100% !important;  /* Assicura che ogni slide occupi tutta l'altezza disponibile */
}
.swiper-pagination {
    position: relative;
    text-align: center;
}
.swiper-container .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #35ac35;
}
#productTitle{
    width: 95%;
    font-size: 16px;
}
#productStarsNumber{
    font-size: 14px;
}
.starsProductContainer{
    width: 95%;
}
.starsProductContainer .stars{
    font-size: 16px;
}
.productBtns{
    width: 95%;
}
.productBtn{
    width: 100%;
    margin-top: 10px;
}
.productPriceContainer{
    width: 95%;
}
#shippingDateContainer{
    width: 95%;
}
#addToCartBtn{
    display: block;
    margin: 0;
    margin-top: 10px;
    margin-bottom: 20px;
}
.cryptoSelectBackground{
    height: 155.5vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.cryptoSelectContainer{
    width: 80%;
    height: 50%;
}
.cryptoSelectBackground{
    display: none;
}
.backgroundSvg{
    display: none;
}
.titleLand{
    font-size: 28px;
    margin-top: 20%;
}
.howItWork{
    flex-direction: column;
}
.howItWork img{
    width: 200px;
    margin-left: 0;
}
.howItWork p{
    font-size: 18px;
}
.landingSection{
    width: 100%;
    margin-left: 0;
}
.section{
    width: 100%;
}
.num{
    font-size: 22px;
}
.cryptoAmount{
    margin-top: 20%;
    margin-bottom: 20%;
    flex-direction: column;
    font-weight: bolder;
}
.cryptoAmount img{
    width: 400px;
}
.cryptoAmount p{
    display: none;
}
#cryptoAmountNum{
    font-size: 58px;
    color: #35ac35;
}
.textContainer{
    width: 100%;
    text-align: center;
}
.textContainer h1{
    font-size: 20px;
}
.textContainer p{
    font-size: 14px;
}
.withUs{
    flex-direction: column;
}
.sectionWithUs{
    width: 100%;
}
.sectionWithUs img{
    width: 200px;
}
.sectionWithUs h3{
    font-size: 22px;
}
.sectionWithUs p{
    font-size: 14px;
}

.loading-container{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#searchBarX{
    margin-right: 10px;
}
#headerArrowMobile{
    display: block;
   
    margin-left: -2px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
}
