/* ============================================================
   AL SOUDANI - Page Commande
   Ajustements uniquement pour le formulaire WooCommerce.
   ============================================================ */

.page-content .woocommerce-checkout input::placeholder,
.page-content .woocommerce-checkout textarea::placeholder,
.page-content .woocommerce-checkout select::placeholder,
.page-content .wc-block-checkout input::placeholder,
.page-content .wc-block-checkout textarea::placeholder,
.page-content .wc-block-checkout select::placeholder,
.page-content .wc-block-components-text-input input::placeholder,
.page-content .wc-block-components-textarea::placeholder {
    color: #1c1b1b !important;
    font-weight: 800 !important;
    opacity: 1 !important;
}

.page-content .woocommerce-checkout label,
.page-content .woocommerce-checkout .form-row label,
.page-content .wc-block-checkout label,
.page-content .wc-block-components-text-input label,
.page-content .wc-block-components-combobox label,
.page-content .wc-block-components-country-input label,
.page-content .wc-block-components-state-input label,
.page-content .wc-block-components-address-form__address_1-toggle {
    color: #1c1b1b !important;
    font-weight: 800 !important;
    opacity: 1 !important;
}

.page-content .woocommerce-checkout input,
.page-content .woocommerce-checkout textarea,
.page-content .woocommerce-checkout select,
.page-content .wc-block-checkout input,
.page-content .wc-block-checkout textarea,
.page-content .wc-block-checkout select,
.page-content .wc-block-components-text-input input,
.page-content .wc-block-components-combobox input {
    color: #1c1b1b !important;
}

.page-content .woocommerce-checkout .showcoupon,
.page-content .wc-block-checkout .wc-block-components-totals-coupon-link,
.page-content .wc-block-checkout .wc-block-components-panel__button,
.page-content .wc-block-checkout button.wc-block-components-totals-coupon-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--primary-container) !important;
    color: #fffafa !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    padding: 14px 32px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.page-content .woocommerce-checkout .showcoupon:hover,
.page-content .wc-block-checkout .wc-block-components-totals-coupon-link:hover,
.page-content .wc-block-checkout .wc-block-components-panel__button:hover,
.page-content .wc-block-checkout button.wc-block-components-totals-coupon-link:hover {
    color: #fffafa !important;
    opacity: 0.92;
    text-decoration: none !important;
}

.page-content .woocommerce-checkout .showcoupon:active,
.page-content .wc-block-checkout .wc-block-components-totals-coupon-link:active,
.page-content .wc-block-checkout .wc-block-components-panel__button:active,
.page-content .wc-block-checkout button.wc-block-components-totals-coupon-link:active {
    transform: scale(0.98);
}

.page-content .woocommerce-checkout #place_order,
.page-content .woocommerce-checkout .place-order button,
.page-content .wc-block-checkout .wc-block-components-checkout-place-order-button,
.page-content .wc-block-checkout button.wc-block-components-checkout-place-order-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    border: 0 !important;
    border-radius: 4px !important;
    background: var(--primary-container) !important;
    color: #fffafa !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    padding: 16px 34px !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.page-content .woocommerce-checkout #place_order:hover,
.page-content .woocommerce-checkout .place-order button:hover,
.page-content .wc-block-checkout .wc-block-components-checkout-place-order-button:hover,
.page-content .wc-block-checkout button.wc-block-components-checkout-place-order-button:hover {
    color: #fffafa !important;
    opacity: 0.92;
}

.page-content .woocommerce-checkout #place_order:active,
.page-content .woocommerce-checkout .place-order button:active,
.page-content .wc-block-checkout .wc-block-components-checkout-place-order-button:active,
.page-content .wc-block-checkout button.wc-block-components-checkout-place-order-button:active {
    transform: scale(0.99);
}

.page-content .wc-block-checkout .wc-block-components-checkout-return-to-cart-button,
.page-content .wc-block-checkout a.wc-block-components-checkout-return-to-cart-button,
.page-content .woocommerce-checkout .return-to-cart,
.page-content .woocommerce-checkout a[href*="panier"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    border: 0 !important;
    border-radius: 4px !important;
    background: var(--primary-container) !important;
    color: #fffafa !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    padding: 12px 26px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.page-content .wc-block-checkout .wc-block-components-checkout-return-to-cart-button:hover,
.page-content .wc-block-checkout a.wc-block-components-checkout-return-to-cart-button:hover,
.page-content .woocommerce-checkout .return-to-cart:hover,
.page-content .woocommerce-checkout a[href*="panier"]:hover {
    color: #fffafa !important;
    opacity: 0.92;
    text-decoration: none !important;
}

.page-content .wc-block-checkout .wc-block-components-checkout-return-to-cart-button:active,
.page-content .wc-block-checkout a.wc-block-components-checkout-return-to-cart-button:active,
.page-content .woocommerce-checkout .return-to-cart:active,
.page-content .woocommerce-checkout a[href*="panier"]:active {
    transform: scale(0.98);
}

.page-content .woocommerce-checkout h2,
.page-content .woocommerce-checkout h3,
.page-content .woocommerce-checkout .woocommerce-billing-fields > h3,
.page-content .woocommerce-checkout-review-order-table th,
.page-content .woocommerce-checkout-review-order-table .cart-subtotal th,
.page-content .woocommerce-checkout-review-order-table .order-total th,
.page-content .wc-block-checkout .wc-block-components-title,
.page-content .wc-block-checkout .wc-block-components-checkout-step__title,
.page-content .wc-block-checkout .wc-block-components-address-form__address_1-toggle,
.page-content .wc-block-checkout,
.page-content .wc-block-checkout .wc-block-checkout__terms,
.page-content .wc-block-checkout .wc-block-components-checkout-step__description,
.page-content .wc-block-checkout .wc-block-components-checkbox__label,
.page-content .wc-block-checkout .wc-block-checkout__add-note,
.page-content .wc-block-checkout .wc-block-checkout__order-notes,
.page-content .woocommerce-checkout .woocommerce-additional-fields h3,
.page-content .woocommerce-checkout .woocommerce-additional-fields label,
.page-content .wc-block-checkout .wc-block-components-order-summary__title,
.page-content .wc-block-checkout .wc-block-components-order-summary__title-text,
.page-content .wc-block-checkout .wc-block-components-sidebar h2,
.page-content .wc-block-checkout .wc-block-checkout__sidebar h2,
.page-content .wc-block-components-sidebar .wc-block-components-title,
.page-content .wc-block-checkout__sidebar .wc-block-components-title,
.page-content .wp-block-woocommerce-checkout-order-summary-block h2,
.page-content .wp-block-woocommerce-checkout-order-summary-cart-items-block h2,
.page-content .wc-block-components-order-summary h2,
.page-content .wc-block-components-sidebar h2,
.page-content .wc-block-checkout__sidebar h2,
.page-content .wp-block-woocommerce-checkout-order-summary-block h2,
.page-content .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-title,
.page-content .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-step__title,
.page-content [class*="checkout-order-summary"] > h2,
.page-content [class*="order-summary"] > h2,
.page-content .wc-block-checkout .wc-block-components-order-summary__button-text,
.page-content .wc-block-checkout .wc-block-components-totals-item__label {
    color: var(--primary) !important;
}

.wc-block-components-payment-methods__title {
    color: #fffafa !important;
}

.wc-block-components-radio-control__label-group {
    color: #fffafa !important;
}

body.woocommerce-checkout .wc-block-components-sidebar h2,
body.woocommerce-checkout .wc-block-checkout__sidebar h2,
body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-title,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-title,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block h2,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-title,
body.woocommerce-checkout [class*="order-summary"] h2,
body.page-id-commande .wc-block-components-sidebar h2,
body.page-id-commande .wc-block-checkout__sidebar h2,
body.page-id-commande [class*="order-summary"] h2 {
    color: var(--primary) !important;
}

.al-soudani-order-summary-title {
    color: var(--primary) !important;
}
