@media screen and (max-width: 1023px) {
    ::-webkit-scrollbar-thumb { background-color: rgba(0,0,0,0) !important; }
    
	#custom-cursor { display: none !important }
	div#menu { width: var(--menu-w-mobile); top: 1vh; z-index: unset; }
	#menu .title { height: calc(var(--menu-icon-size) + 2vh); }
	#menu .title h3 { font-size: 5vh; z-index: 50; }
	#menu .voices { width: var(--menu-w-mobile); right: -10px; padding: 10px; background: rgba(0, 0, 0, 0.95); z-index: 10; }
	#menu span.voice, #cart-qnt span.qnt { font-size: 4vh; }
	
	div#content { padding-bottom: 10vh; }

	footer#page-footer {
		height: 10vh;
    	display: -webkit-box;
    	display: -ms-flexbox;
    	display: flex;
	    -webkit-box-orient: vertical;
	    -webkit-box-direction: normal;
	        -ms-flex-direction: column;
	            flex-direction: column;
	    -webkit-box-pack: end;
	        -ms-flex-pack: end;
	            justify-content: flex-end;
	}
	body:not(#home) footer#page-footer {
	    display: none !important;
	}

	#page-footer img.logo { width: 55%; }
	#page-footer h2 { font-size: 4vh; margin-right: 5vw; }
	#page-footer h5 { font-size:1.5vh; }
	#page-footer .partners { display: none; }
	#page-footer.footer_alt1 img.logo { width: unset; }
	div.lower-section { height: -webkit-fit-content; height: -moz-fit-content; height: fit-content; }
	.legal br { display: inherit; }
	
	.back-btn {
        top: 2vh;
        left: 2vh;
        height: 5vh;
        width: calc(100vw - 4vh);
        -webkit-transform: unset;
            -ms-transform: unset;
                transform: unset;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -ms-flex-line-pack: center;
            align-content: center;
        z-index: 1000;
    }
    .back-btn img.icon {
        width: auto;
        height: 5vh;
        margin: 0;
    }
    .back-btn h6 {
        -webkit-writing-mode: unset;
            -ms-writing-mode: unset;
                writing-mode: unset;
        padding: 0 2vh;
    }
    
    #prodotti #content-section { height: 70vh; }
    .sezione > .title .toggle-btn { height: 4vh; }
    .sezione > .title h3 { font-size: 2vh; padding-left: 1vh; }
    
    /* PRODOTTO CARD */
    .prodotto { width: 100%; }
    .prodotto h6 { font-size: 3vh; }
    .info-prodotto .title h6 { font-size: 1.5vh; }
    
    /* PRODOTTO SCHEDA */
    /*#scheda */
    #content-section {
        height: 95vh !important;
        top: 5vh !important;
        -webkit-transform: unset !important;
            -ms-transform: unset !important;
                transform: unset !important;
    }
    /*#scheda */
    div.scroll-wrapper {
        height: 83% !important;
        position: absolute !important;
        bottom: 0;
        padding: 4px !important;
        margin: 0;
    }
    .scheda-prod { padding-bottom: 5vh; }
    .info-scheda {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -ms-flex-line-pack: start;
            align-content: flex-start;
        -webkit-box-align: start;
            -ms-flex-align: start;
                align-items: flex-start;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
    }
    .title { font-size: 2.5vh; }
    .nome, .number, .date { font-size: 7vh; line-height: 0.8; }
    .desc-scheda { padding-top: 2vh; }
    .desc-scheda span { font-size: 1.5vh; }
    .inter-scheda {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -ms-flex-line-pack: justify;
            align-content: space-between;
        -webkit-box-align: stretch;
            -ms-flex-align: stretch;
                align-items: stretch;
        -webkit-box-pack: start;
            -ms-flex-pack: start;
                justify-content: flex-start;
    }
    .wrapper.img-scheda img { position: relative; -webkit-transform: unset; -ms-transform: unset; transform: unset; top: 0; }
    .wrapper.img-scheda img.show { position: relative; height: 50vh; }
    .controlli { font-size: 5vh; }
    .controlli.right { padding-right: 1vh; }
    .controlli.left { padding-left: 1vh; }
    .counter-circle { height: 1.25vh; }
    .dati-scheda { width: 100%; }
    .dato h3 { font-size: 3vh; }
    #price.dato h3 { font-size: 6vh; }
    #scheda h6#valuta { font-size: 2.5vh; }
    .taglia ul { gap: 1vh; }
    .taglia li { font-size: 6vh; }
    .dati-scheda .qnt {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: start;
            -ms-flex-align: start;
                align-items: flex-start;
        -ms-flex-line-pack: justify;
            align-content: space-between;
        -webkit-box-pack: start;
            -ms-flex-pack: start;
                justify-content: flex-start;
    }
    #selettore-qnt, #prodotto-qnt { width: 100%; }
    .sub, .display, .add, #prodotto-qnt .qnt h6 { font-size: 5vh; }
    .selezione .btn-area {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -ms-flex-line-pack: end;
            align-content: flex-end;
        -webkit-box-align: stretch;
            -ms-flex-align: stretch;
                align-items: stretch;
        -webkit-box-pack: start;
            -ms-flex-pack: start;
                justify-content: flex-start;
        margin-top: 1vh;
    }
    .selezione button, button.go-to-cart.half { font-size: 4vh; padding: 2vh 1vh; }
    .half { width: 100% !important; }
    
    /* BUSTA */
    body#busta {
        
        div#content {
            height: fit-content;
            padding: 1vh 1vw;   
            margin-top: 9vh;
            -webkit-box-orient: vertical;
                -ms-flex-direction: column;
                    flex-direction: column;
            gap: 1vh;
            z-index: 9;
            overflow-y: scroll;
        }
            /* AREA CODICE */
        .sezione-codice {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-orient: horizontal;
            -webkit-box-direction: normal;
                -ms-flex-direction: row;
                    flex-direction: row;
            -ms-flex-line-pack: center;
                align-content: center;
            -webkit-box-align: start;
                -ms-flex-align: start;
                    align-items: flex-start;
            -webkit-box-pack: center;
                -ms-flex-pack: center;
                    justify-content: center;
            width: 100%;
            height: 5vh;
        }
        .sezione-codice.open { width: 100%; height: 30vh; }
        .bar {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-orient: horizontal;
            -webkit-box-direction: normal;
                -ms-flex-direction: row;
                    flex-direction: row;
            -ms-flex-wrap: nowrap;
                flex-wrap: nowrap;
            -webkit-box-pack: justify;
                -ms-flex-pack: justify;
                    justify-content: space-between;
            -ms-flex-line-pack: center;
                align-content: center;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
            width: 100%;
        }
        .open .bar { z-index: 5; height: -webkit-fit-content; height: -moz-fit-content; height: fit-content; }
        .bar .title {
            -webkit-writing-mode: lr;
                -ms-writing-mode: lr;
                    writing-mode: lr;
            font-size: 1.5vh;
            padding: 0;
            padding: 1vw;
            line-height: 1;
            text-align: right;
        }
        .open .area-codice {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
                -ms-flex-direction: column;
                    flex-direction: column;
            height: 29vh;
            width: 95%;
            -ms-flex-wrap: nowrap;
                flex-wrap: nowrap;
            -webkit-box-align: end;
                -ms-flex-align: end;
                    align-items: flex-end;
            -ms-flex-line-pack: end;
                align-content: flex-end;
            -webkit-box-pack: justify;
                -ms-flex-pack: justify;
                    justify-content: space-between;
            padding: 0;
            margin: 0;
            right: unset;
        }
        .upper { gap: max(2vw, 1vh); }
        .upper .title h5 { font-size: 3vh; }
        .upper .input { width: 100%; }
        input#input-codice { font-size: 4vh; }
        .lower { width: 100%; height: 5vh; margin-top: 1vh; }
        button.applica { font-size: 4vh; }
        
            /* AREA RIEPILOGO */
        section#section-busta {
            width: 100%;
            padding: 0;
            margin-top: 1vh;
            height: -webkit-fit-content;
            height: -moz-fit-content;
            height: fit-content;
            /*padding-bottom: 10vh;*/
        }
        .prodotti {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
                -ms-flex-direction: column;
                    flex-direction: column;
            -ms-flex-line-pack: center;
                align-content: center;
            -webkit-box-align: stretch;
                -ms-flex-align: stretch;
                    align-items: stretch;
            -webkit-box-pack: start;
                -ms-flex-pack: start;
                    justify-content: flex-start;
            padding: 2vw 3vw 0 2vw;
            padding-bottom: 5vh;
        }
        div#prodotti-busta.scroll-wrapper { 
            position: relative !important;
            padding: 0 !important;
            max-height: 45vh;
            height: var(--prod-height) !important;
            -webkit-transition: height 0.3s;
            -o-transition: height 0.3s;
            transition: height 0.3s;
        }
        #section-busta .prodotto { width: 100%; }
        .img-prodotto { margin-top: 1vh; }
        .prodotto:not(:nth-child(1)) { margin-top: 3vh; }
        .info-prodotto .nome h6 { font-size: 3.5vh; }
        .info-stack .title h6, .info-stack .info h6 { font-size: 1.8vh; }
        .extra-costi { margin-top: 0; }
        #price.dato h3 { font-size: 5vh; }
        .azioni.busta {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
                -ms-flex-direction: column;
                    flex-direction: column;
            padding-bottom: 1.5vh;
            gap: max(2vw, 1vh);
        }
        .conferma-azione { gap: max(2vw, 1vh); }
        h6#valuta { font-size: 2vh; }
        button.btn-checkout {
            font-size: 3vh;
            margin: 1vh 0;
            width: 90%;
            margin-left: 5%;
        }
        .azione, .azione.azioni-prodotto { width: 90%; margin-left: 5%; }
        .svuota-tutto { width: 100%; margin: 0; }
        div#prodotti-busta.close { height: 0 !important; -webkit-transition: height 0.3s; -o-transition: height 0.3s; transition: height 0.3s; }
        .carrello-vuoto h3 { font-size: 5vh; word-wrap: break-word; word-break: break-word; }
        .svuota-tutto.open { width: 40% !important; }
    }
    
    div#RIMBORSO-RESO, div#PRIVACY-POLICY {
        width: 75vw;
        height: 85vh;
        margin-left: 5vw;
        margin-top: 17vh;
        overflow-y: scroll;
        padding-right: max(1vw, 2vh);
    }
}