/* Wallet base */
.wallet-message {
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.4;
}

.wallet-message--login,
.wallet-message--error {
    background: #fff3f3;
    border: 1px solid #f1b8b8;
}

.wallet-message--success {
    background: #f0fff6;
    border: 1px solid #a8e6bf;
}

/* Buttons */
button.wallet-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: #111;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wallet-card-item .wallet-button, wallet-card-item .wallet-button--small {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    padding: 7px 16px;
    min-width: auto;
    width: auto;
    border-radius: 25px;
    border:1px solid white;
    background:black;
    color:white;
    font-size: 13px;
    font-weight: 500;
    z-index:1;
}

.wallet-card-view__actions .wallet-button {
    background: #111;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #fff;
    padding: 11px 18px;
    font-size: 15px;
    font-weight: 600;
}

.wallet-card-item .wallet-button:hover, .wallet-card-view__actions .wallet-button:hover {
    background: #36E383;
}

button.wallet-button:hover {
    background: #36E383;
    color: #0E400F;
    border:1px solid #0E400F;
}

.wallet-form--add-card > .wallet-form__submit {
    display: flex;
    width: fit-content;
    margin: 20px auto 0;
}

/*.wallet-button--small {
    padding: 9px 14px;
    font-size: 14px;
}

.wallet-button--secondary {
    background: #fff;
    color: #111;
    border-color: #ddd;
}

.wallet-button--secondary:hover {
    background: #f6f6f6;
    color: #111;
}

.wallet-button--danger {
    background: #b42318;
    color: #fff;
}

.wallet-button--danger:hover {
    background: #921b12;
    color: #fff;
}*/

/* Empty state */
.wallet-empty-state {
    padding: 32px;
    border: 1px dashed #d8d8d8;
    border-radius: 18px;
    background: #fafafa;
    text-align: center;
}

.wallet-empty-state h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.wallet-empty-state p {
    margin: 0 0 20px;
    color: #555;
}

/* My cards grid */
.wallet-card-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 24px;
    column-gap: 20px;
}

.wallet-card-item {
    position: relative;
    aspect-ratio: 3 / 2;
    width:31%;
    min-width:250px;
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 0 20px -5px black;
}

@media (max-width: 767px) {
    .wallet-card-grid {
        justify-content: center;
    }
}

.wallet-card-item__logo {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.wallet-card-item__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wallet-card-item__placeholder {
    font-size: 28px;
    font-weight: 700;
}

/* Add card form */
.wallet-add-card {
    max-width: 680px;
}

.wallet-form {
    padding: 24px;
    border: 1px solid #e6e6e6;
    border-radius: 18px;
    background: #dadada;
}

.wallet-form__field {
    margin-bottom: 18px;
}

.wallet-form__field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.wallet-form__input,
.wallet-form__select {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d8d8d8;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 15px;
    background: #fff;
}

.wallet-form__input:focus,
.wallet-form__select:focus {
    outline: none;
    border-color: #111;
}

/* Single card view */
.wallet-card-view {
    max-width: 720px;
    padding: 24px;
    border: 1px solid #e6e6e6;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.wallet-card-view__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    text-align: center;
}

.wallet-card-view__logo {
    width: 140px;
    aspect-ratio: 3 / 2;
    border-radius: 18px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
}

.wallet-card-view__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.wallet-card-view__placeholder {
    font-size: 34px;
    font-weight: 700;
}

.wallet-card-view__title h2 {
    margin: 0 0 4px;
    font-size: 26px;
}

.wallet-card-view__title p {
    margin: 0;
    color: #666;
}

.wallet-card-view__code {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.wallet-card-view__code-label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
}

.wallet-card-view__number {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.04em;
    word-break: break-all;
    margin-bottom: 16px;
}

.wallet-card-view__format {
    margin: 12px 0 0;
    color: #666;
    font-size: 13px;
}

.wallet-card-view__instructions {
    margin-bottom: 20px;
}

.wallet-card-view__instructions h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.wallet-card-view__instructions p {
    margin: 0;
    color: #555;
}

.wallet-card-view__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.wallet-delete-card-form {
    display: inline-flex;
}

/* Responsive */
@media (max-width: 900px) {
    .wallet-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* Heading style */
.heading { -webkit-background-clip:text !important; background-clip:text; -webkit-text-fill-color: transparent; color:transparent; display:inline-block; }
.heading_light { background:linear-gradient(90deg, #f4f4f4 0%, #36E383 100%); }
.heading_dark { background:linear-gradient(90deg, #0E400F 0%, #36E383 100%); }

/*=== Header ===*/
.scrolling-header { transition: all .5s ease!important; left: 0; right: 0; width: 100% !important;}
.marquee { overflow: hidden; display: flex;}
.marquee p { white-space: nowrap;}

/*=== SINGLE BRAND ===*/
/* Contact buttons */
.tracked-brand-button { display:inline-flex; align-items:center; justify-content:center; color:white; font-size:30px; width:50px; height:50px; border-radius:50%; border:1px solid #f4f4f4; box-shadow:0 0 20px -5px #f4f4f4 !important; transition:0.5s ease; }
.tracked-brand-button:hover { background-color:#f4f4f4; color:#0E400F; }


/*=== MERCHANTS ===*/
.elementor-element .icon_number:hover { color:#d4d4d4 !important; }
.elementor-icon-list-items .elementor-icon-list-item:hover { transition: .4s ease; transform: scale(1.05); }
button.wpkqcg_button { padding:5px 10px; border-radius:25px; background-color:#070110; color: #F4F4F4; border:0; font-family: ubuntu; }
button.wpkqcg_button:hover { border: 1px solid #070110; background-color: #f4f4f4; color:#070110; }


/*=== AGGIUNGERE REALTA ===*/
.add_brand-container { display: none !important; }
.add_brand-container.is-open { display:block !important; }

/* Disappear brand_status field on FEA */
.elementor .acf-field[data-key="field_6977a4c05c5f4"] { display:none; }
.acf-hl > li ,.acf-button { color:white; border:1px solid #F4F4F4; border-radius:25px; background:#0E400F; }
.acf-hl > li ,.acf-button:hover { border:1px solid #0E400F; background:#DADADA; color:#0E400F; }
.acf-hl li a,.acf-image-uploader a { color:#F4F4F4; font-family:ubuntu; }


/* FEA FORMS style */
.fea-form input[type="text"],
.fea-form input[type="email"],
.fea-form input[type="url"],
.fea-form input[type="number"],
.fea-form input[type="tel"],
.fea-form input[type="password"],
.fea-form .select2-selection--single,
.fea-form .acf-field select,
.fea-form .acf-field .select2-container .select2-selection--multiple, .fea-form .acf-field .select2-container .select2-selection--single .select2-selection__arrow { min-height:48px; display:flex; flex-direction:column; align-content:center !important; padding:0 15px 0 15px !important; outline:none; }
.fea-form { max-width:600px !important; }
.acf-required { font-size:0; }
.acf-required::after { content:" (obbligatorio)"; font-size:12px; font-weight:500; color:#d63638; }


/*=== HOME - Beginning ===*/
.sc-sector-count__icon { margin-right: 0.4rem;}

/* Allows buttons container (chips) to scroll horizontally */
.container-scroll .button_container-scroll { overflow-x:auto; overflow-y:hidden; -webkit-overflow-scrolling:touch; scroll-snap-type:x mandatory; -ms-overflow-style:none; scrollbar-width: none; }
.container-scroll .button_container-scroll > *{ flex:0 0 auto; scroll-snap-align:start; }
.container-scroll .button_container-scroll::-webkit-scrollbar { height:0; display:none;}

/* Makes the homepage carousel work*/
.container_carousel .home_carousel .swiper-wrapper { -webkit-transition-timing-function:linear; -moz-transition-timing-function: linear; -o-transition-timing-function: linear; transition-timing-function: linear; }
.home_carousel-gray:after { content:""; width:100%; height:100%; background:linear-gradient(to right, #DADADA, transparent, #DADADA); z-index:1; position:absolute; top:0; left:0; }
.home_carousel-green:after { content:""; width:100%; height:100%; background:linear-gradient(to right, #0E400F, transparent, #0E400F); z-index:1; position:absolute; top:0; left:0; }

/* Home searcher */
.home-search__empty { display:block; }
.home-search .home-search__input { border-radius:55px; padding:12px 50px; background:linear-gradient(135deg, #0E400F, #36E383); font-size:28px; font-family:ubuntu; color:#F4F4F4; box-shadow:0 0 20px 0px rgba(0,0,0,.5); border:1px solid white;}
.home-search__results{ position:absolute; top:101%; left:5%; width:90%; padding:5px; border-radius:0 0 10px 10px; background:rgba(244, 244, 244, .9); border-top:none; box-shadow:0 0 20px 5px rgba(0,0,0,.5); z-index:50; text-align:center; }
.home-search__input:focus, .home-search__input:focus-visible { outline:none; border-color:white !important;}
.home-search__group-title { margin:0 0 6px; font-size:16px; font-weight:700; letter-spacing:.8em; text-transform:uppercase; color:#6b7280; }
.searcher .home-search__input::-webkit-input-placeholder { color:#f4f4f4 !important; opacity:.8 !important;}
.home-search__item { display:block;  padding:10px 14px; min-height:34px; font-family:ubuntu; text-decoration:none; color:#111827; font-size:15px; line-height:1.3; font-weight:500; }
.home-search__item:hover{ background:#36E383; }

@media (max-width: 680px) {
	.home-search .home-search__input { font-size:22px; padding:8px 20px; } }
/*=== HOME - End ===*/


/*=== Various ===*/
.glass { background: rgba(2, 1, 1, .3); backdrop-filter: blur(6.9px); -webkit-backdrop-filter: blur(6.9px); }

/* Arrow option menu style */
.elementor-nav-menu a.elementor-item-active .sub-arrow svg,
.elementor-nav-menu a[aria-current="page"] .sub-arrow svg { fill: #f4f4f4; }

/* Google login button style */
.nsl-button.nsl-button-default.nsl-button-google { border-radius: 25px; }
.rank-math-breadcrumb a { padding:2px 5px; background-color:#36E383; color:#070110; border-radius:8px; border:1px solid black; font-family:ubuntu; }
@media (max-width: 670px) {.rank-math-breadcrumb a { font-size: 14px; }}

/* While JS problem persists */
.glsr-field-email, .glsr-field-subgroup { display: none; }

/* Animated buttons */
.animatedButton .elementor-button-content-wrapper { display:inline-flex; align-items:center; justify-content:center; gap:8px; line-height:1; }
.animatedButton .elementor-button:hover .elementor-button-icon { transition:transform .5s ease; background-color:#F4F4F4; border-radius:50%; padding:4px; transform:translateX(-6px); }
.animatedButton .elementor-button:hover .elementor-button-text { transition:.5s ease; transform:translateX(6px); }
.animatedButton .elementor-button:hover .elementor-button-icon svg { fill: green !important; }

/* No wrap */
.nowrap { text-overflow: ellipsis; white-space: nowrap; }

/* ?loging messages */
.sc-alert { padding:6px 10px; border:1px solid white; background:red; border-radius:25px; margin:0 0 16px; color:white; font-size:14px; font-family:ubuntu; }
.sc-alert a { text-decoration:underline; }

