/*
Theme Name: BaciFavolosi
Author: Devolu
Author URI: https://www.Devolu.it
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap');

* {
    text-decoration: none;
    border: 0;
    outline: none;
    list-style-type: none;
    font-family: 'Poppins';
    margin: 0;
    padding: 0;
}
a {
    color: inherit !important;
    text-decoration: none !important;
}
::selection {
    background-color: rgba(95, 0, 247, .5);
}
::placeholder {
    font-weight: 200;
}
input[type="checkbox"] {
    accent-color: #5f00f7;
}

body {
    /* background: radial-gradient(circle, rgba(251,131,255,1) 0%, rgba(176,0,129,1) 100%); */
    background-color: #D13EBF !important;
    background-size: cover;
    background-position: center;
    overflow-x: hidden;
    color: #fff !important;
}
body > *:not(nav):not(.menu-container).blur:not(.popup-message-container):not(.alert-container) {
    filter: blur(5px);
}

/*--## NAVBAR ##--*/
nav {
    width: 100%;
    background: rgba(176,0,129,1);
    padding-right: 20px;
    font-size: 20px;
    font-weight: 800;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 5px 20px -9px #000000;
    position: fixed;
    z-index: 999;
    height: 80px;
}
@media only screen and (max-width: 767px) {
    .menu-container ul {
        padding-left: 20px;
        margin: 10px 0 !important;
    }
}
@media only screen and (max-width: 580px) {
    nav a {
        width: 100%;
    }
}

nav .cart-icon {
    margin-top: 10px;
    margin-right: 10px;
    position: relative;
}
.cart-icon i {
    font-size: 30px;
}
.cart-icon span {
    min-width: 20px;
    width: min-content;
    padding: 3px;
    height: 20px;
    background-color: #5f00f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    position: absolute;
    top: -10px;
    right: -10px;
}
@media only screen and (max-width: 580px) {
    .cart-container {
        width: 100%;
        padding-right: 10px;
        justify-content: center;
    }
    .cart-icon {
        width: max-content;
        margin: 10px 10px 0 auto !important;
    }
}

.back-logo {
    background-color: #fff;
    padding: 0 20px;
    width: max-content;
}
.logo {
    height: 80px;
}

/* ----------------------------- */
.btn1 {
    position: relative;
    width: 60px;
    height: 60px;
    top: 0;
    right: 0;
    transition-duration: 0.5s;
    z-index: 99999;
}

.btn1 .icon-left {
    transition-duration: 0.5s;
    position: absolute;
    height: 4px;
    width: 15px;
    top: 30px;
    background-color: #fff;
    left: 17px;
}

.btn1 .icon-left:before {
    transition-duration: 0.5s;
    position: absolute;
    width: 15px;
    height: 4px;
    background-color: #fff;
    content: "";
    top: -11px;
}

.btn1 .icon-left:after {
    transition-duration: 0.5s;
    position: absolute;
    width: 15px;
    height: 4px;
    background-color: #fff;
    content: "";
    top: 11px;
}

.btn1 .icon-left:hover {
    cursor: pointer;
}

.btn1 .icon-right {
    transition-duration: 0.5s;
    position: absolute;
    height: 4px;
    width: 15px;
    top: 30px;
    background-color: #fff;
    left: 28px;
}

.btn1 .icon-right:before {
    transition-duration: 0.5s;
    position: absolute;
    width: 15px;
    height: 4px;
    background-color: #fff;
    content: "";
    top: -11px;
}

.btn1 .icon-right:after {
    transition-duration: 0.5s;
    position: absolute;
    width: 15px;
    height: 4px;
    background-color: #fff;
    content: "";
    top: 11px;
}

.btn1.open .icon-left {
    transition-duration: 0.5s;
    background: transparent;
}

.btn1.open .icon-left:before {
    transform: rotateZ(45deg) scaleX(1.4) translate(4px, 4px);
}

.btn1.open .icon-left:after {
    transform: rotateZ(-45deg) scaleX(1.4) translate(4px, -4px);
}

.btn1.open .icon-right {
    transition-duration: 0.5s;
    background: transparent;
}

.btn1.open .icon-right:before {
    transform: rotateZ(-45deg) scaleX(1.4) translate(-4px, 4px);
}

.btn1.open .icon-right:after {
    transform: rotateZ(45deg) scaleX(1.4) translate(-4px, -4px);
}

.btn1:hover {
    cursor: pointer;
}
/* ----------------------------- */

.menu-container {
    position: fixed;
    top: 80px;
    /* right: 0; */
    right: -25vw;
    bottom: 0;
    width: 25vw;
    background-color: #5f00f7;
    transition: all .4s ease-out;
    z-index: 9999;
    overflow-y: scroll;
}
.menu-container.opened {
    right: 0;
}
.menu-header {
    background-color: #4700b9;
    height: 90px;
}
.menu-footer {
    margin: 20px 30px;
    display: flex;
    font-size: 16px;
}
.menu-footer a {
    display: flex;
    align-items: center;
    width: max-content;
    max-width: 80%;
    overflow: hidden;
}
.menu-footer svg {
    margin-right: 5px;
}
.menu-footer span {
    margin-left: 5px;
}
@media only screen and (max-width: 1300px) {
    .menu-container {
        width: 40vw;
        right: -40vw;
    }
}
@media only screen and (max-width: 650px) {
    .menu-container {
        width: 70vw;
        right: -70vw;
    }
    .menu-footer {
        font-size: 13px;
        margin: 20px 25px;
    }
    .menu-container ul {
        padding-left: 15px;
    }
    .social-icons-container {
        margin: 0 17px;
    }
    .menu-header {
        height: 70px;
    }
    .menu-container ul li {
        font-size: 14px;
    }
}
@media only screen and (max-height: 670px) and (min-width: 650px) {
    .menu-footer {
        padding: 20px 0;
    }
}

.iubenda-element {
    margin: 10px 0 !important;
}

.menu-container ul {
    margin: 30px 0;
    width: 100%;
}
.menu-container ul li {
    margin-right: 30px;
    padding: 20px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.social-icons-container {
    margin: 0 32px;
    display: flex;
    justify-content: space-evenly;
}
.social-icons-container .social-icon {
    background-color: #4700b9;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all .3s ease-out;
}
.social-icons-container .social-icon:hover {
    width: 43px;
    height: 43px;
}
/* SOCIAL ICONS COLORS */
#instagram:hover {
    background: -webkit-linear-gradient(159deg, rgba(131, 61, 246, 1) 0%, rgba(195, 13, 190, 1) 33%, rgba(255, 99, 12, 1) 66%, rgba(255, 185, 0, 1) 100%);
}
#facebook:hover {
    background-color: #1873eb;
}
#tiktok:hover {
    background-color: #000;
}
#twitter:hover {
    background-color: #000;
}

.sara-image {
    width: 70vw;
}

@media only screen and (max-width: 580px) {
    .button-sfoglia {
        display: none;
    }
    .button-sfoglia2 {
        display: block;
        margin: 0 auto;
        padding: 10px;
        border-radius: 10px;
        background-color: rgba(176,0,129,1);
        border: 2px solid #fff;
        color: #fff;
        font-weight: 800;
        cursor: pointer;
        -webkit-box-shadow: 0px 0px 27px -2px #fff; 
        box-shadow: 0px 0px 27px -2px #fff;
    }
    .button-sfoglia-col {
        display: block !important;
    }
    .sara-image {
        width: 100vw;
    }
    .back-logo {
        width: 100%;
        height: 80px;
        display: flex;
        align-items: center;
        padding: 0 10px;
    }
    nav {
        padding: 0;
        display: flex !important;
        justify-content: center;
    }
    nav > a {
        width: min-content;
    }
    .logo-container {
        margin: 0 auto;
        display: block;
    }
    .menu-header > i {
        color: #ff0404;
    }
    .logo {
        max-width: 100%;
        height: 100%;
    }
}

.col-content-container {
    width: max-content;
}
.footer-header {
    position: relative;
    bottom: 0;
    background-color: #f1f1f1;
    color: gray;
    width: 100%;
    padding: 30px;
    z-index: 999;
    box-shadow: 0px 0px 24px -15px #000000;
    /* height: 220px; */
    display: flex;
    align-items: center;
}
.footer-header svg {
    fill: gray;
}
.footer-header .row > div {
    margin-bottom: 50px;
}
.footer-header h2 {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 20px;
}
.footer-header p {
    margin-bottom: 0;
}
.footer-header .p-iva {
    display: block;
    text-align: center;
    background-color: #5f00f7;
    color: #fff;
    padding: 5px;
    padding-right: 10px;
    width: 100%;
    text-align: right;
    font-weight: 300;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}
footer .dev {
    background-color: #fff;
    height: 50px;
    width: 100%;
    position: relative;
    z-index: 1000;
    color: rgb(182, 182, 182);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}
footer .dev a {
    text-decoration: underline !important;
}
footer span {
    font-weight: 400;
}
@media only screen and (max-width: 575px) {
    .col-content-container {
        width: 70%;
    }
}
@media only screen and (max-width: 400px) {
    .col-content-container {
        width: 100%;
    }
}

.pagine-utili {
    gap: 5px;
}
.pagine-utili span {
    text-decoration: underline;
}
.pagine-utili svg {
    fill: rgb(182, 182, 182);
    width: 15px;
    height: 15px;
}

.social-icons-list {
    gap: 5px;
}
.social-icons-list .social-icon {
    border: 2px solid rgb(182, 182, 182);
    padding: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.social-icons-list .social-icon svg {
    fill: rgb(182, 182, 182);
    width: 20px;
    height: 20px;
}
.brand-icon {
    opacity: .5;
    border-color: #5f00f7 !important;
}
.brand-icon > svg {
    fill: #5f00f7 !important;
}


/*--## ALERT ##--*/
@keyframes move-alert {
    10% {
        right: 15px;
    }

    90% {
        right: 15px;
    }

    100% {
        right: -650px;
    }
}

/*--## INFO ##--*/
@keyframes move-info {
    10% {
        left: 15px;
    }

    80% {
        left: 15px;
    }

    100% {
        left: -650px;
    }
}

.alert-container, .info-container {
    position: fixed;
    bottom: 30px;
    /* right: 30px; */
    right: -650px;
    z-index: 9999;
    padding: 20px 50px 20px 20px;
    background-color: #5f00f7;
    color: #fff;
}
.alert-container.show {
    animation: move-alert 6s;
}
@media only screen and (max-width: 600px) {
    .alert-container, .info-container {
        font-size: 13px;
        padding: 15px 35px 15px 15px;
        max-width: 65vw;
    }
}

.info-container {
    left: -650px;
    background-color: #291f01;
    width: max-content;
    color: #f5cf5f;
    z-index: 99999;
}
.info-container.show {
    animation: move-info 8s;
    animation-delay: 2s;
}


/*--## POPUP MESSAGE ##--*/
@keyframes move-popup {
    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.popup-message-container {
    position: fixed;
    width: max-content;
    min-height: 50px;
    padding: 20px;
    background-color: rgba(0, 0, 0, .8);
    opacity: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 100px;
    /* Elemento al centro */
    left: 50%;
    transform: translate(-50%,0);
}
.popup-message-container.show {
    animation: move-popup 3.5s;
}
@media only screen and (max-width: 575px) {
    .popup-message-container {
        max-width: 250px;
    }
}


.log-out {
    color: rgb(255, 67, 67) !important;
    font-weight: 600;
}
.log-out:hover {
    cursor: pointer;
    opacity: .7;
}


/*--## DISCOUNT ##--*/
.discount-container {
    width: 300px;
    height: 300px;
    position: fixed;
    bottom: 50px;
    left: 50px;
    display: flex;
    flex-direction: column;
    z-index: 9991;
    border: 5px solid #5f00f7;
    box-shadow: 10px -5px 16px -1px rgba(0, 0, 0, 0.4);
}

.discount-container > svg {
    fill: #5f00f7;
    width: 30px;
    height: 30px;
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}

.discount-container img {
    width: 100%;
}

.discount-container .discount-value, .discount-container .discount-value-2, .discount-container .original-value {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 100%;
    line-height: 50px;
    font-size: 3.5em;
    color: #5f00f7;
    font-weight: 900;
}
.discount-container .original-value {
    bottom: 50px;
    font-size: 1em;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
    text-decoration-color: rgba(247, 0, 0, 0.7);
}
.discount-container .discount-value-2 {
    font-size: 2.5em !important;
}

.discount-container .discount-flag {
    background-color: rgb(225, 102, 230);
    color: #fff;
    font-size: .8em;
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 5px;
    font-weight: 800;
}

@media only screen and (max-width: 991px) {
    .discount-container {
        width: 250px;
        height: 250px;
    }
    .discount-container .discount-value {
        font-size: 3em;
        bottom: 15px;
        left: 20px;
    }
}

@media only screen and (max-width: 575px) {
    .discount-container {
        width: 200px;
        height: 200px;
        left: 20px;
        bottom: 20px;
    }
    .discount-container .discount-value {
        font-size: 2em;
        bottom: 10px;
        left: 15px;
    }
    .discount-container .discount-flag {
        font-size: .6em;
    }
}