/* ========================================
   FORCE OVERRIDE DES STYLES DE BOUTONS
   ======================================== */

/* Reset complet de tous les styles de boutons du thème WordPress */
html body .rbf-v3-container button,
html body .rbf-v3-container [type="button"],
html body .rbf-v3-container [type="submit"],
html body .rbf-v3-container input[type="button"],
html body .rbf-v3-container input[type="submit"],
html body .rbf-v3-container .button,
html body .rbf-v3-container .btn,
html body .rbf-v3-container .wp-button,
html body .rbf-v3-container .wp-core-ui .button,
html body .rbf-v3-container .wp-core-ui .button-primary,
html body .rbf-v3-container .wp-core-ui .button-secondary,
html body .rbf-v3-container .wp-core-ui .button-large,
html body .rbf-v3-container .wp-core-ui .button-small,
html body .rbf-v3-container .wp-core-ui .button-hero,
html body .rbf-v3-container .wp-core-ui .button-link,
html body .rbf-v3-container .wp-core-ui .button-group,
html body .rbf-v3-container .wp-core-ui .button-group .button,
html body .rbf-v3-container .wp-core-ui .button-group .button-primary,
html body .rbf-v3-container .wp-core-ui .button-group .button-secondary,
html body .rbf-v3-container .wp-core-ui .button-group .button-large,
html body .rbf-v3-container .wp-core-ui .button-group .button-small,
html body .rbf-v3-container .wp-core-ui .button-group .button-hero,
html body .rbf-v3-container .wp-core-ui .button-group .button-link,
html body .rbf-v3-container .wp-core-ui .button-group .button-group,
html body .rbf-v3-container .wp-core-ui .button-group .button-group .button,
html body .rbf-v3-container .wp-core-ui .button-group .button-group .button-primary,
html body .rbf-v3-container .wp-core-ui .button-group .button-group .button-secondary,
html body .rbf-v3-container .wp-core-ui .button-group .button-group .button-large,
html body .rbf-v3-container .wp-core-ui .button-group .button-group .button-small,
html body .rbf-v3-container .wp-core-ui .button-group .button-group .button-hero,
html body .rbf-v3-container .wp-core-ui .button-group .button-group .button-link {
    background-color: #F6F2E7 !important;
    background: #F6F2E7 !important;
    border: 2px solid #F6F2E7 !important;
    border-color: #F6F2E7 !important;
    color: #243127 !important;
    border-radius: 8px !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    padding: 12px 20px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    user-select: none !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: none !important;
    outline: none !important;
    margin: 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-indent: 0 !important;
    text-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: auto !important;
    transform: none !important;
    animation: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* Override ultime pour tous les boutons dans le conteneur */
html body .rbf-v3-container *[type="button"],
html body .rbf-v3-container *[type="submit"],
html body .rbf-v3-container *button,
html body .rbf-v3-container *input[type="button"],
html body .rbf-v3-container *input[type="submit"] {
    background-color: #F6F2E7 !important;
    background: #F6F2E7 !important;
    border: 2px solid #F6F2E7 !important;
    border-color: #F6F2E7 !important;
    color: #243127 !important;
    border-radius: 8px !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    padding: 12px 20px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    user-select: none !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: none !important;
    outline: none !important;
    margin: 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-indent: 0 !important;
    text-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: auto !important;
    transform: none !important;
    animation: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* Forcer les styles des boutons de quantité */
html body .rbf-v3-container .rbf-v3-qty-btn,
html body .rbf-v3-container .rbf-v3-qty-minus,
html body .rbf-v3-container .rbf-v3-qty-plus,
html body .rbf-v3-container button.rbf-v3-qty-btn,
html body .rbf-v3-container button.rbf-v3-qty-minus,
html body .rbf-v3-container button.rbf-v3-qty-plus,
html body .rbf-v3-container [type="button"].rbf-v3-qty-btn,
html body .rbf-v3-container [type="button"].rbf-v3-qty-minus,
html body .rbf-v3-container [type="button"].rbf-v3-qty-plus {
    background: #F6F2E7 !important;
    background-color: #F6F2E7 !important;
    border: 2px solid #F6F2E7 !important;
    border-color: #F6F2E7 !important;
    color: #243127 !important;
    border-radius: 8px !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    user-select: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
    outline: none !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-indent: 0 !important;
    text-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: auto !important;
    transform: none !important;
    animation: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* États hover et active pour les boutons de quantité */
html body .rbf-v3-container .rbf-v3-qty-btn:hover:not(:disabled),
html body .rbf-v3-container .rbf-v3-qty-minus:hover:not(:disabled),
html body .rbf-v3-container .rbf-v3-qty-plus:hover:not(:disabled),
html body .rbf-v3-container button.rbf-v3-qty-btn:hover:not(:disabled),
html body .rbf-v3-container button.rbf-v3-qty-minus:hover:not(:disabled),
html body .rbf-v3-container button.rbf-v3-qty-plus:hover:not(:disabled),
html body .rbf-v3-container [type="button"].rbf-v3-qty-btn:hover:not(:disabled),
html body .rbf-v3-container [type="button"].rbf-v3-qty-minus:hover:not(:disabled),
html body .rbf-v3-container [type="button"].rbf-v3-qty-plus:hover:not(:disabled) {
    background: #FFB404 !important;
    background-color: #FFB404 !important;
    border-color: #FFB404 !important;
    color: #FFFFFF !important;
}

html body .rbf-v3-container .rbf-v3-qty-btn:active:not(:disabled),
html body .rbf-v3-container .rbf-v3-qty-minus:active:not(:disabled),
html body .rbf-v3-container .rbf-v3-qty-plus:active:not(:disabled),
html body .rbf-v3-container button.rbf-v3-qty-btn:active:not(:disabled),
html body .rbf-v3-container button.rbf-v3-qty-minus:active:not(:disabled),
html body .rbf-v3-container button.rbf-v3-qty-plus:active:not(:disabled),
html body .rbf-v3-container [type="button"].rbf-v3-qty-btn:active:not(:disabled),
html body .rbf-v3-container [type="button"].rbf-v3-qty-minus:active:not(:disabled),
html body .rbf-v3-container [type="button"].rbf-v3-qty-plus:active:not(:disabled) {
    background: #FFB404 !important;
    background-color: #FFB404 !important;
    border-color: #FFB404 !important;
    color: #FFFFFF !important;
    transform: scale(0.95) !important;
}

/* Forcer les styles des boutons primaires */
html body .rbf-v3-container .rbf-v3-btn-primary,
html body .rbf-v3-container button.rbf-v3-btn-primary,
html body .rbf-v3-container [type="button"].rbf-v3-btn-primary,
html body .rbf-v3-container [type="submit"].rbf-v3-btn-primary {
    background: #243127 !important;
    background-color: #243127 !important;
    border: 2px solid #243127 !important;
    border-color: #243127 !important;
    color: #FFFFFF !important;
    border-radius: 8px !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    padding: 12px 20px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    user-select: none !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: none !important;
    outline: none !important;
    margin: 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-indent: 0 !important;
    text-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: auto !important;
    transform: none !important;
    animation: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* États hover et active pour les boutons primaires */
html body .rbf-v3-container .rbf-v3-btn-primary:hover:not(:disabled),
html body .rbf-v3-container button.rbf-v3-btn-primary:hover:not(:disabled),
html body .rbf-v3-container [type="button"].rbf-v3-btn-primary:hover:not(:disabled),
html body .rbf-v3-container [type="submit"].rbf-v3-btn-primary:hover:not(:disabled) {
    background: #FFB404 !important;
    background-color: #FFB404 !important;
    border-color: #FFB404 !important;
    color: #FFFFFF !important;
}

html body .rbf-v3-container .rbf-v3-btn-primary:active:not(:disabled),
html body .rbf-v3-container button.rbf-v3-btn-primary:active:not(:disabled),
html body .rbf-v3-container [type="button"].rbf-v3-btn-primary:active:not(:disabled),
html body .rbf-v3-container [type="submit"].rbf-v3-btn-primary:active:not(:disabled) {
    background: #FFB404 !important;
    background-color: #FFB404 !important;
    border-color: #FFB404 !important;
    color: #FFFFFF !important;
    transform: scale(0.95) !important;
}

/* Forcer les styles des boutons secondaires */
html body .rbf-v3-container .rbf-v3-btn-secondary,
html body .rbf-v3-container button.rbf-v3-btn-secondary,
html body .rbf-v3-container [type="button"].rbf-v3-btn-secondary,
html body .rbf-v3-container [type="submit"].rbf-v3-btn-secondary {
    background: #EF3D1D !important;
    background-color: #EF3D1D !important;
    border: 2px solid #EF3D1D !important;
    border-color: #EF3D1D !important;
    color: #FFFFFF !important;
    border-radius: 8px !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    padding: 12px 20px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    user-select: none !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: none !important;
    outline: none !important;
    margin: 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-indent: 0 !important;
    text-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: auto !important;
    transform: none !important;
    animation: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* États hover et active pour les boutons secondaires */
html body .rbf-v3-container .rbf-v3-btn-secondary:hover:not(:disabled),
html body .rbf-v3-container button.rbf-v3-btn-secondary:hover:not(:disabled),
html body .rbf-v3-container [type="button"].rbf-v3-btn-secondary:hover:not(:disabled),
html body .rbf-v3-container [type="submit"].rbf-v3-btn-secondary:hover:not(:disabled) {
    background: #243127 !important;
    background-color: #243127 !important;
    border-color: #243127 !important;
    color: #FFFFFF !important;
}

html body .rbf-v3-container .rbf-v3-btn-secondary:active:not(:disabled),
html body .rbf-v3-container button.rbf-v3-btn-secondary:active:not(:disabled),
html body .rbf-v3-container [type="button"].rbf-v3-btn-secondary:active:not(:disabled),
html body .rbf-v3-container [type="submit"].rbf-v3-btn-secondary:active:not(:disabled) {
    background: #243127 !important;
    background-color: #243127 !important;
    border-color: #243127 !important;
    color: #FFFFFF !important;
    transform: scale(0.95) !important;
}
