/* Shortcode [primtee_header_icons] — compte + panier header */
.primtee-header-icons {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    vertical-align: middle;
    color: #fff;
}

.primtee-header-icons__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 999px;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.primtee-header-icons__btn:hover,
.primtee-header-icons__btn:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    color: #fff !important;
    text-decoration: none !important;
    opacity: 1;
}

.primtee-header-icons__btn svg {
    display: block;
    width: 26px;
    height: 26px;
    stroke: currentColor;
}

.primtee-header-icons__badge,
.primtee-header-icons [data-primtee-cart-count] {
    position: absolute;
    top: 6px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #004990;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    pointer-events: none;
    box-sizing: border-box;
}

.primtee-header-icons__badge[hidden],
.primtee-header-icons [data-primtee-cart-count][hidden] {
    display: none !important;
}

/* Secours injecté par JS (désactivé par défaut) */
.primtee-header-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: inherit;
    text-decoration: none;
    flex-shrink: 0;
}

.primtee-header-cart svg {
    display: block;
    width: 22px;
    height: 22px;
}

.primtee-header-cart .primtee-cart-count,
.primtee-header-cart [data-primtee-cart-count] {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #004990;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

.primtee-header-cart--fixed {
    position: fixed;
    top: 14px;
    right: 72px;
    z-index: 99991;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    border-radius: 999px;
}
