/* Binario Header Account Mobile Menu - clean v2 */

.bham-clean-actions,
.bham-clean-actions *,
.bham-clean-search-overlay,
.bham-clean-search-overlay * {
    box-sizing: border-box;
}

.bham-clean-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 20;
    line-height: 1;
}

.bham-clean-account {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.bham-clean-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 10px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    box-shadow: none;
    outline: none;
    transform: none;
    filter: none;
}

.bham-clean-btn:hover,
.bham-clean-btn:focus,
.bham-clean-btn:active {
    background: transparent;
    color: inherit;
    text-decoration: none;
    box-shadow: none;
    outline: none;
    transform: none;
    filter: none;
}

.bham-clean-btn::before,
.bham-clean-btn::after,
.bham-clean-icon::before,
.bham-clean-icon::after {
    content: none !important;
    display: none !important;
}

.bham-clean-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    max-width: 18px;
    max-height: 18px;
    line-height: 0;
    color: currentColor;
    overflow: hidden;
    flex: 0 0 18px;
}

.bham-clean-icon svg {
    display: block;
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    max-width: 18px;
    max-height: 18px;
    margin: 0;
    padding: 0;
    fill: none !important;
    stroke: currentColor !important;
    transform: none;
    opacity: 1;
}

.bham-clean-label {
    display: inline-block;
}

.bham-clean-arrow {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    flex: 0 0 7px;
}

.bham-clean-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #fff;
    color: #111;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0,0,0,.12);
    z-index: 9999;
}

.bham-clean-dropdown[hidden],
.bham-clean-mobile-extra[hidden],
.bham-clean-search-overlay[hidden] {
    display: none !important;
}

.bham-clean-dropdown li {
    margin: 0;
    padding: 0;
}

.bham-clean-dropdown a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.bham-clean-dropdown a:hover,
.bham-clean-dropdown a:focus {
    background: rgba(0,0,0,.06);
    outline: none;
}

.bham-clean-mobile-extra {
    display: none;
}

.bham-clean-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0,0,0,.18);
}

.bham-clean-search-panel {
    width: 100%;
    background: #fff;
    padding: 18px clamp(16px, 4vw, 56px) 22px;
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

.bham-clean-search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bham-clean-search-input {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(0,0,0,.16);
    border-radius: 12px;
    padding: 0 14px;
    font: inherit;
    font-size: 16px;
}

.bham-clean-search-close {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(0,0,0,.06);
    color: inherit;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.bham-clean-search-helper {
    margin-top: 8px;
    font-size: 13px;
    opacity: .75;
}

.bham-clean-search-results {
    margin-top: 18px;
    max-height: min(70vh, 640px);
    overflow: auto;
}

.bham-clean-result-section + .bham-clean-result-section {
    margin-top: 18px;
}

.bham-clean-result-section h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
}

.bham-clean-result-section ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bham-clean-result-section li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
}

.bham-clean-result-section li a:hover,
.bham-clean-result-section li a:focus {
    background: rgba(0,0,0,.04);
    outline: none;
}

.bham-clean-thumb {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0,0,0,.04);
}

.bham-clean-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bham-clean-product-info,
.bham-clean-result-title,
.bham-clean-result-meta {
    display: block;
}

.bham-clean-result-title {
    font-weight: 600;
}

.bham-clean-result-meta {
    margin-top: 3px;
    font-size: 13px;
    opacity: .75;
}

.bham-clean-empty,
.bham-clean-loading {
    padding: 16px;
    background: rgba(0,0,0,.04);
    border-radius: 12px;
}

@media (max-width: 768px) {
    .bham-clean-actions {
        gap: 6px;
    }

    .bham-clean-mobile-extra {
        display: inline-flex;
    }

    .bham-clean-btn {
        width: 42px;
        min-width: 42px;
        height: 42px;
        min-height: 42px;
        padding: 0;
        border: 1px solid rgba(0,0,0,.10);
        border-radius: 999px;
        background: #fff;
        color: inherit;
        flex: 0 0 42px;
    }

    .bham-clean-btn:hover,
    .bham-clean-btn:focus,
    .bham-clean-btn:active {
        background: #fff;
        color: inherit;
        border-color: rgba(0,0,0,.10);
    }

    .bham-clean-label,
    .bham-clean-arrow {
        display: none !important;
    }

    .bham-clean-dropdown {
        display: none !important;
    }
}


/* v2.1.0: icone FontAwesome, nessuna SVG interna */
.bham-clean-icon.bham-fa-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    line-height: 1 !important;
    overflow: hidden !important;
    color: currentColor !important;
    flex: 0 0 18px !important;
}

.bham-clean-icon.bham-fa-icon i {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    line-height: 18px !important;
    font-size: 18px !important;
    text-align: center !important;
    color: currentColor !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    opacity: 1 !important;
}

.bham-clean-icon.bham-fa-icon::before,
.bham-clean-icon.bham-fa-icon::after,
.bham-clean-icon.bham-fa-icon i::before,
.bham-clean-icon.bham-fa-icon i::after {
    position: static !important;
    display: inline-block !important;
    color: currentColor !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

.bham-clean-btn:focus .bham-clean-icon.bham-fa-icon,
.bham-clean-btn:active .bham-clean-icon.bham-fa-icon,
.bham-clean-btn:hover .bham-clean-icon.bham-fa-icon,
.bham-clean-btn:focus .bham-clean-icon.bham-fa-icon i,
.bham-clean-btn:active .bham-clean-icon.bham-fa-icon i,
.bham-clean-btn:hover .bham-clean-icon.bham-fa-icon i {
    color: currentColor !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    transform: none !important;
    filter: none !important;
}


/* v2.2.0: supporto Icon Picker classico di Elementor */
.bham-clean-icon.bham-elementor-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    line-height: 1 !important;
    overflow: hidden !important;
    color: currentColor !important;
    flex: 0 0 18px !important;
}

.bham-clean-icon.bham-elementor-icon i,
.bham-clean-icon.bham-elementor-icon svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    line-height: 18px !important;
    font-size: 18px !important;
    text-align: center !important;
    color: currentColor !important;
    fill: currentColor;
    stroke: currentColor;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    opacity: 1 !important;
}

.bham-clean-icon.bham-elementor-icon svg * {
    fill: currentColor;
    stroke: currentColor;
}

.bham-clean-btn:hover .bham-clean-icon.bham-elementor-icon,
.bham-clean-btn:focus .bham-clean-icon.bham-elementor-icon,
.bham-clean-btn:active .bham-clean-icon.bham-elementor-icon,
.bham-clean-btn:hover .bham-clean-icon.bham-elementor-icon i,
.bham-clean-btn:focus .bham-clean-icon.bham-elementor-icon i,
.bham-clean-btn:active .bham-clean-icon.bham-elementor-icon i,
.bham-clean-btn:hover .bham-clean-icon.bham-elementor-icon svg,
.bham-clean-btn:focus .bham-clean-icon.bham-elementor-icon svg,
.bham-clean-btn:active .bham-clean-icon.bham-elementor-icon svg {
    color: currentColor !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    transform: none !important;
    filter: none !important;
}


/* v2.2.1: etichetta account non renderizzata; se presente da cache, viene nascosta */
.bham-clean-actions .bham-clean-label {
    display: none !important;
}
