.netsive-icons-wrapper {
    display: inline-block;
    max-width: -moz-fit-content!important;
    max-width: fit-content!important;
    width: 100%;
}
.netsive-icons-wrapper.aligncenter .netsive-icons-list{
    justify-content: center;
}
.netsive-icons-list button {
    border-radius: .25em;
    padding: 1px 6px;
    transition: all ease-in-out .3s;
}

.netsive-icons-list button:hover,
.netsive-icons-list button:focus,
.netsive-icons-list button:active {
    background: var(--wp--preset--color--primary) !important;
}

.netsive-icons-list {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    width: 100%;
    height: auto;
    list-style: none;
}

.netsive-icons-list .netsive-icon {
    display: flex;
    align-items: center;
    margin-inline-end: 4px;
}

.netsive-icons-list .netsive-icon>span {
    font-size: inherit;
    display: flex;
    width: 100%;
    height: 100%;
}

.netsive-icons-list .netsive-icon-svg {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 15px;
}

.netsive-icons-list .netsive-icon-svg svg {
    width: 1em;
    fill: currentColor;
    height: 1em;
}

.netsive-icons-list .netsive-icon .label {
    font-size: var(--wp--preset--font-size--small) !important;
    font-style: italic;
    -webkit-hyphens: auto;
    hyphens: auto;
    padding: 4px 2px 2px;
}


/* ✅ Popover principal */
.netsive-icons-popover {
    width: 350px;
    max-width: 100%;
    overflow-y: auto;
    /* Active le scroll vertical si besoin */
    background: var(--wp--preset--color--white);
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-shadow: 0 1px 1px #00000008, 0 1px 2px #00000005, 0 3px 3px #00000005, 0 4px 4px #00000003;
    outline: none;
    z-index: 9999;
    /* Assure qu'il est au-dessus des autres éléments */
}

.netsive-icons-popover .components-popover__content {
    width: 100%;
    height: 100%;
    box-shadow: none;
}

.nestive-add-link-control .netsive-icon-label-input,
.nestive-add-link-control .netsive-icon-search-input,
.netsive-icons-popover .components-popover__content .netsive-icon-search-input {
    background: #fafafa;
    padding: .35em .85em;
    border: 1px solid #000000;
    border-radius: 4px;
    margin: 1em;
}

.nestive-add-link-control .netsive-icon-label-input,
.nestive-add-link-control .netsive-icon-search-input {
    margin: 0;
}

.netsive-icons-popover .netsive-icon-search-input .components-text-control__input,
.nestive-add-link-control .netsive-icon-label-input .components-text-control__input,
.nestive-add-link-control .netsive-icon-search-input .components-text-control__input {
    font-size: 16px;
    font-style: italic;
    box-shadow: none;
    padding: 0;
    outline: 0;
    background: 0;
    border: 0;
}
.netsive-icons-popover .components-popover__content .netsive-icons-list svg{
    width: 2em;
    height: 2em;
}
.netsive-icons-popover .components-popover__content .netsive-view-all {
    font-size: 16px;
    cursor: pointer;
    box-shadow: none;
    padding: 0;
    outline: 0;
    width: 100%;
    color: var(--wp--preset--color--white);
    background: var(--wp--preset--color--black);
    border: 0;
    border-radius: .25em;
    padding: 1em;
    transition: all ease-in-out .3s;
}

.netsive-icons-popover .netsive-icons-list {
    padding: 1em;
}

.netsive-icons-popover .netsive-icons-list .netsive-icon {
    display: flex;
    cursor: pointer;
    flex: 0 0 33.333%;
    -moz-appearance: none;
         appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    margin-inline-end: 0;
    margin-bottom: 1em;
    border-radius: .25em;
    box-shadow: none;
    transition: all ease-in-out .3s;
}

.netsive-icons-popover .netsive-icons-list .netsive-icon:hover,
.netsive-icons-popover .netsive-icons-list .netsive-icon:focus,
.netsive-icons-popover .netsive-icons-list .netsive-icon:active {
    background: #fafafa !important;
    color: var(--wp--preset--color--primary) !important;
}

.netsive-icons-popover .netsive-icons-list .netsive-icon span {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.netsive-icons-popover .netsive-icons-list .netsive-icon .icon {
    padding: 12px 20px;
}

/* WooCommerce fix cart & account */
.wc-block-mini-cart .wc-block-mini-cart__button {
    display: flex;
    flex-direction: column;
}

.wc-block-mini-cart .wc-block-mini-cart__button .wc-block-mini-cart__amount {
    font-size: var(--wp--preset--font-size--small);
    font-style: italic;
    padding: 4px 2px 2px;
}

.wc-block-mini-cart .wc-block-mini-cart__button .wc-block-mini-cart__quantity-badge {
    width: 1em;
    height: 1em;
}

.wc-block-mini-cart .wc-block-mini-cart__button .wc-block-mini-cart__quantity-badge:before {
    content: "";
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 xmlns:xlink=%27http://www.w3.org/1999/xlink%27 width=%2730.141%27 height=%2729.795%27 viewBox=%270 0 30.141 29.795%27 fill=%27currentColor%27%3E%3Cg%3E%3Cpath d=%27M29.767,46.839V59.9a4.385,4.385,0,0,1-4.38,4.38H6.432a4.385,4.385,0,0,1-4.38-4.38V46.839Zm.372-1.109H1.681a.737.737,0,0,0-.737.737V59.9a5.488,5.488,0,0,0,5.488,5.488H25.387A5.488,5.488,0,0,0,30.876,59.9V46.467a.737.737,0,0,0-.737-.737%27 transform=%27translate%28-0.735 -35.591%29%27/%3E%3Cpath d=%27M13.2-1.391H-1.946A.554.554,0,0,1-2.5-1.946.554.554,0,0,1-1.946-2.5H13.2a.554.554,0,0,1,.554.554A.554.554,0,0,1,13.2-1.391Z%27 transform=%27translate%282.722 25.68%29%27/%3E%3Cpath d=%27M.317-1.391H-1.946A.554.554,0,0,1-2.5-1.946.554.554,0,0,1-1.946-2.5H.317a.554.554,0,0,1,.554.554A.554.554,0,0,1,.317-1.391Z%27 transform=%27translate%2820.034 25.68%29%27/%3E%3Cpath d=%27M50.173,1.109a4.1,4.1,0,0,1,4.1,4.1v4.927H46.077V5.2a4.1,4.1,0,0,1,4.1-4.1m0-1.109a5.2,5.2,0,0,0-5.2,5.2V11.24h10.41V5.2a5.2,5.2,0,0,0-5.2-5.2%27 transform=%27translate%28-34.998%29%27/%3E%3C/g%3E%3C/svg%3E");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

.wc-block-mini-cart .wc-block-mini-cart__button .wc-block-mini-cart__quantity-badge svg {
    display: none;
}

.wc-block-mini-cart .wc-block-mini-cart__button .wc-block-mini-cart__quantity-badge .wc-block-mini-cart__badge {
    font-weight: 500;
    padding: .25em 0 0;
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--black);
}

.wp-block-woocommerce-customer-account {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 15px;
}

.wp-block-woocommerce-customer-account a {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* .wp-block-woocommerce-customer-account a:before {
    content: "";
    cursor: pointer;
    width: 1em;
    height: 1em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21.27' fill='currentColor' height='28.963' viewBox='0 0 21.27 28.963'%3E%3Cg transform='translate(-59.265 -1259.519)'%3E%3Cpath d='M12856.472,281.934a6.458,6.458,0,1,1,6.486-6.458A6.481,6.481,0,0,1,12856.472,281.934Zm0-12a5.542,5.542,0,1,0,5.572,5.543A5.565,5.565,0,0,0,12856.472,269.933Z' transform='translate(-12786.5 990.5)'/%3E%3Cpath d='M12863.271,282.908H12842v-3.316a10.635,10.635,0,0,1,21.27,0v3.315Zm-10.635-12.992a9.709,9.709,0,0,0-9.721,9.676v2.4h19.438v-2.4A9.708,9.708,0,0,0,12852.636,269.916Z' transform='translate(-12782.736 1005.574)'/%3E%3C/g%3E%3C/svg%3E");    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

.wp-block-woocommerce-customer-account a svg {
    display: none;
} */

/* Version svg default */

.wp-block-woocommerce-customer-account a svg {
    padding: 0!important;
}

.wp-block-woocommerce-customer-account a svg path {
    fill: var(--wp--preset--color--white);
    stroke: currentColor;
    stroke-width: .7px;
}
/* End - Version svg default */

.wp-block-woocommerce-customer-account a .label {
    font-size: var(--wp--preset--font-size--small) !important;
    font-style: italic;
    -webkit-hyphens: auto;
    hyphens: auto;
    padding: 4px 2px 2px;
}


