.woocommerce div:empty {
    display: none !important;
}

.woocommerce > .brxe-container {
    padding-block: 0px;
}
.alignwide {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0px !important;
}

.before-checkout.brxe-container {
    padding-inline: 0px;
}

/* Buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wc-block-components-button,
.woocommerce .checkout-button,
.woocommerce-notices-wrapper .restore-item {
    flex-shrink: 0;
    max-width: 100%;
    background: black !important;
    color: white !important;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    min-height: unset !important;
    padding: 8px 28px;
    border-radius: 5px;
    text-decoration: none !important;
}

.wc-block-components-button {
    padding: 15px 28px;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.wc-block-components-button:hover,
.woocommerce .checkout-button:hover,
.wp-block-woocommerce-empty-cart-block a:hover,
.woocommerce-notices-wrapper .restore-item:hover {
    background: var(--brown) !important;
    opacity: 1;
}
.woocommerce a.button:disabled,
.woocommerce button.button:disabled,
.woocommerce input.button:disabled,
.wc-block-components-button:disabled,
.wp-block-woocommerce-empty-cart-block a:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.woocommerce-message a:not(.button), 
.woocommerce-info a:not(.button), 
.woocommerce-error a:not(.button) {
    text-decoration: underline;
}

/* Notices */
.woocommerce-notices-wrapper {
    padding-block: 30px !important;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error{
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    border:none;
    border-radius: 5px;
    padding: 15px 20px;
    background: var(--light-grey);
    color: black;
}

@media(max-width: 800px) {   
    .woocommerce-message,
    .woocommerce-info,
    .woocommerce-error{
        text-align: center;
        flex-direction: column;
    }
}

/* QUANTITY */
.quantity,
.wc-block-components-quantity-selector {
    position: relative !important;
    display: inline-flex !important;
    align-items: stretch !important;
    height: 52px !important;
    border: 1px solid #E8E8E1 !important;
    background: white !important;
    max-width: 120px !important;
    width: auto !important;
}
.brxe-product-add-to-cart .quantity::before {
    content: 'Quantité' !important;
    position: absolute !important;
    top: -33px !important;
    left: 50% !important;
    transform: translateX(-50%);
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
}

.quantity .minus,
.quantity .plus,
.wc-block-components-quantity-selector__button--minus,
.wc-block-components-quantity-selector__button--plus{
    width: 25px !important;
    border: 0 !important;
    background: transparent !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: black !important;
    transition: background .2s !important;
}

.quantity .minus,
.wc-block-components-quantity-selector__button--minus{
    border-right: 1px solid #E8E8E1 !important;
}

.quantity .plus,
.wc-block-components-quantity-selector__button--plus{
    border-left: 1px solid #E8E8E1 !important;
}

.quantity .qty,
.wc-block-components-quantity-selector input{
    width: 56px !important;
    border: 0 !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    color: black !important;
    padding: 0 !important;
    appearance: textfield !important;
    -moz-appearance: textfield !important;
}

.quantity .qty::-webkit-inner-spin-button,
.quantity .qty::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.quantity .minus:hover,
.quantity .plus:hover,
.wc-block-components-quantity-selector__button--minus:hover ,
.wc-block-components-quantity-selector__button--plus:hover {
    background: #E8E8E1 !important;
}

.quantity .qty:focus {
    outline: none !important;
}

/* EMPTY CART */
.wc-empty-cart-message {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--space-48);
    gap: 20px;
}

.woocommerce .cart-empty {
    justify-content: center;
    font-size: var(--fs-50);
    text-align: center;
    font-family: "Cormorant Garamond";
    padding: 0px !important;
    background: unset !important;
    border: 0px !important;
    line-height: 1.1;
}

.woocommerce .return-to-shop {
    text-align: center;
}

/* table */
.woocommerce .woocommerce-cart-form tbody td, 
.woocommerce .woocommerce-cart-form tbody th[scope=row],
.woocommerce .cart-collaterals table tbody th,
.woocommerce .cart-collaterals table tbody td{
    padding: 0px;
}


/* FORM */
form.brxe-container {
    padding-inline: 0px;
}

.woocommerce form .form-row {
    margin-bottom: 15px;
}
.woocommerce form .form-row:last-child {
    margin-bottom: 0px;
}

.woocommerce form .form-row label {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

.woocommerce form input:not([type="radio"]),
.woocommerce form select,
.woocommerce form textarea{
    border: 1px solid var(--light-grey-2);
    border-radius: 5px;
    padding: 11px 15px 9px;
    font-size: 15px;
    line-height: 1.6 !important;
}

.woocommerce form input[type="radio"] {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    border: 1px solid black !important;
    background: white !important;
    padding: 0px !important;
}

.woocommerce form input[type="radio"]:checked{
    border-color: black !important;
    background: white !important;
}

.woocommerce form input[type="radio"]:checked::after{
    width: 9px !important;
    height: 9px !important;
    background: black !important;
}

