/* Panier, validation de commande et page « Merci » au style Sissou.
   Tout est sous body.sissou-shop (classe ajoutée par l'extension sur ces pages).
   Pages classiques (shortcodes) et pages en blocs WooCommerce. */
body.sissou-shop { --ss-dark: var(--sissou-secondary, #3f2514); --ss-accent: var(--sissou-primary, #ed6c23); --ss-cream: #fdfbf6; --ss-line: #eadfd3; --ss-muted: #7b6f66; --ss-cta: var(--sissou-cta, var(--sissou-secondary, #3f2514)); --ss-cta-text: var(--sissou-cta-text, #fff); }
body.sissou-shop .woocommerce, body.sissou-shop .wp-block-woocommerce-cart, body.sissou-shop .wp-block-woocommerce-checkout { color: var(--ss-dark); font-family: var(--sissou-font-body, inherit); }
body.sissou-shop .woocommerce h2, body.sissou-shop .woocommerce h3, body.sissou-shop .wc-block-components-title, body.sissou-shop .wc-block-components-checkout-step__title { font-family: var(--sissou-font-head, inherit) !important; color: var(--ss-dark); }
body.sissou-shop .woocommerce { display: flow-root; }

/* Bandeau d'étapes. */
.ss-steps { display: grid; justify-items: center; gap: 14px; margin: 0 0 28px; text-align: center; }
.ss-title { margin: 0 !important; padding: 0 !important; font-family: var(--sissou-font-head, inherit); font-weight: 800; font-size: clamp(30px, 5vw, 46px); line-height: 1.05; color: var(--ss-dark); }
.ss-steps ol { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ss-steps li { list-style: none !important; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 30px; background: var(--ss-cream); border: 1px solid var(--ss-line); font-weight: 700; font-size: 14px; color: var(--ss-muted); }
.ss-steps li span { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--ss-line); color: var(--ss-dark); font-size: 13px; }
.ss-steps li.is-current { background: var(--ss-dark); border-color: var(--ss-dark); color: #fff; }
.ss-steps li.is-current span { background: var(--ss-accent); color: #fff; }
.ss-steps li.is-done { color: var(--ss-dark); }
.ss-steps li.is-done span { background: #e3f4e4; color: #2e7d32; }
@media (max-width: 600px) {
	.ss-steps li { font-size: 12px; padding: 4px 10px 4px 4px; gap: 6px; }
	.ss-steps li span { width: 22px; height: 22px; }
	.ss-steps li:not(.is-current) { font-size: 0; gap: 0; padding: 4px; } /* sur téléphone : seulement les numéros, sauf l'étape en cours */
}

/* Cartes blanches. */
body.sissou-shop .woocommerce-cart-form, body.sissou-shop .cart-collaterals .cart_totals, body.sissou-shop .cross-sells,
body.sissou-shop #customer_details .col-1, body.sissou-shop #customer_details .col-2, body.sissou-shop .woocommerce-checkout-review-order,
body.sissou-shop .woocommerce-order-details, body.sissou-shop .woocommerce-customer-details, body.sissou-shop .sissou-order-fulfillment, body.sissou-shop ul.woocommerce-order-overview,
body.sissou-shop .wc-block-cart__main, body.sissou-shop .wc-block-cart__sidebar .wc-block-components-sidebar-layout__inner, body.sissou-shop .wc-block-cart__sidebar > .wp-block-woocommerce-cart-totals-block,
body.sissou-shop .wc-block-checkout__main, body.sissou-shop .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
	background: #fff; border: 1px solid var(--ss-line); border-radius: 22px; padding: 22px !important; box-sizing: border-box;
}
body.sissou-shop .woocommerce h2, body.sissou-shop .woocommerce h3 { margin-top: 0; }

/* Boutons. */
body.sissou-shop .woocommerce .button, body.sissou-shop .woocommerce button.button, body.sissou-shop .woocommerce a.button, body.sissou-shop #place_order,
body.sissou-shop .wc-block-components-button:not(.is-link), body.sissou-shop .wc-block-cart__submit-button {
	background: var(--ss-accent) !important; color: #fff !important; border: 0 !important; border-radius: 30px !important; padding: 12px 24px !important; font-size: 15px !important; font-weight: 700 !important; line-height: 1.2 !important; letter-spacing: 0 !important; text-transform: none !important; text-decoration: none !important; box-shadow: none !important; cursor: pointer; transition: transform .15s, filter .15s;
}
body.sissou-shop .woocommerce .button:hover, body.sissou-shop #place_order:hover, body.sissou-shop .wc-block-components-button:not(.is-link):hover { transform: translateY(-1px); filter: brightness(1.06); padding: 12px 24px !important; }
body.sissou-shop .woocommerce .button::after { display: none !important; } /* flèche Divi */
body.sissou-shop .woocommerce .button:disabled, body.sissou-shop .woocommerce .button.disabled { opacity: .45 !important; transform: none; }
/* Le bouton principal (Valider la commande / Commander) : grand, couleur du bouton du menu. */
body.sissou-shop .wc-proceed-to-checkout a.checkout-button, body.sissou-shop #place_order, body.sissou-shop .wc-block-cart__submit-button, body.sissou-shop .wc-block-components-checkout-place-order-button {
	background: var(--ss-cta) !important; color: var(--ss-cta-text) !important; width: 100%; display: block; text-align: center; font-size: 18px !important; padding: 16px 24px !important; font-family: var(--sissou-font-head, inherit);
}
body.sissou-shop .wc-proceed-to-checkout a.checkout-button:hover, body.sissou-shop #place_order:hover { padding: 16px 24px !important; }
body.sissou-shop .wc-proceed-to-checkout { padding-bottom: 0 !important; }

/* Champs. */
body.sissou-shop .woocommerce form .form-row { padding: 0; margin: 0 0 14px; }
body.sissou-shop .woocommerce form .form-row label { font-weight: 600; margin-bottom: 6px; line-height: 1.3; color: var(--ss-dark); }
body.sissou-shop .woocommerce form .form-row input.input-text, body.sissou-shop .woocommerce form .form-row textarea, body.sissou-shop .woocommerce form .form-row select, body.sissou-shop .woocommerce .select2-container .select2-selection, body.sissou-shop #coupon_code, body.sissou-shop .woocommerce .quantity input.qty {
	border: 1px solid var(--ss-line) !important; border-radius: 12px !important; padding: 12px 14px !important; background: #fff !important; color: var(--ss-dark) !important; font-size: 16px !important; line-height: 1.3 !important; box-shadow: none !important; box-sizing: border-box;
}
body.sissou-shop .woocommerce .select2-container .select2-selection { height: auto !important; }
body.sissou-shop .woocommerce .select2-container .select2-selection__arrow { top: 50% !important; transform: translateY(-50%); }
body.sissou-shop .woocommerce form .form-row input.input-text:focus, body.sissou-shop .woocommerce form .form-row textarea:focus, body.sissou-shop #coupon_code:focus { border-color: var(--ss-accent) !important; outline: 2px solid color-mix(in srgb, var(--ss-accent) 25%, transparent); }
body.sissou-shop .wc-block-components-text-input input, body.sissou-shop .wc-block-components-combobox .wc-block-components-combobox-control input, body.sissou-shop .wc-block-components-textarea, body.sissou-shop .wc-blocks-components-select .wc-blocks-components-select__select { border-color: var(--ss-line) !important; border-radius: 12px !important; }
body.sissou-shop .wc-block-components-text-input input:focus, body.sissou-shop .wc-block-components-textarea:focus { border-color: var(--ss-accent) !important; box-shadow: 0 0 0 1px var(--ss-accent) !important; }

/* Panier classique. */
body.sissou-shop table.shop_table { border: 0 !important; border-radius: 0; margin: 0 !important; border-collapse: collapse !important; width: 100%; }
body.sissou-shop table.shop_table th { border: 0 !important; padding: 10px 8px !important; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ss-muted); font-weight: 700; }
body.sissou-shop table.shop_table td { border: 0 !important; border-top: 1px solid var(--ss-line) !important; padding: 14px 8px !important; vertical-align: middle; }
body.sissou-shop table.cart .product-thumbnail img { width: 72px !important; height: 72px; object-fit: cover; border-radius: 14px; }
body.sissou-shop table.cart .product-name > a, body.sissou-shop table.cart .product-name { font-weight: 700; color: var(--ss-dark); }
body.sissou-shop table.cart .product-name a { color: var(--ss-dark) !important; }
body.sissou-shop .woocommerce a.remove { width: 30px; height: 30px; line-height: 28px; border-radius: 50%; background: var(--ss-cream); border: 1px solid var(--ss-line); color: var(--ss-muted) !important; font-size: 20px; text-align: center; }
body.sissou-shop .woocommerce a.remove:hover { background: #c0392b; border-color: #c0392b; color: #fff !important; }
body.sissou-shop .woocommerce .quantity input.qty { width: 72px; text-align: center; padding: 10px 6px !important; }
body.sissou-shop table.cart td.actions { padding-top: 18px !important; }
body.sissou-shop table.cart td.actions .coupon { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
body.sissou-shop table.cart td.actions .coupon #coupon_code { width: 180px !important; margin: 0 !important; }
body.sissou-shop table.cart td.actions > .button[name="update_cart"] { background: transparent !important; color: var(--ss-dark) !important; border: 1px solid var(--ss-line) !important; float: right; }
/* Détail sous l'article (contenu de la boîte, retrait…). */
body.sissou-shop dl.variation, body.sissou-shop .wc-item-meta { display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; margin: 6px 0 0 !important; font-size: 14px; font-weight: 400; color: var(--ss-muted); }
body.sissou-shop dl.variation dt, body.sissou-shop dl.variation dd { margin: 0 !important; padding: 0 !important; float: none !important; }
body.sissou-shop dl.variation dt { font-weight: 700; color: var(--ss-dark); }
body.sissou-shop dl.variation dd p { margin: 0 !important; padding: 0 !important; }
body.sissou-shop .wc-item-meta { display: block; list-style: none; padding: 0 !important; }
body.sissou-shop .wc-item-meta li { list-style: none; margin: 0; }
body.sissou-shop .wc-item-meta li p { display: inline; }

/* Totaux. */
body.sissou-shop .cart-collaterals { display: flow-root; margin-top: 22px; }
body.sissou-shop .cart-collaterals .cart_totals { float: right; width: min(420px, 100%) !important; }
body.sissou-shop .cart_totals table.shop_table th { text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ss-dark); width: 40%; }
body.sissou-shop .cart_totals .order-total td, body.sissou-shop .woocommerce-checkout-review-order-table .order-total td { font-size: 1.3em; font-weight: 800; }
body.sissou-shop .woocommerce-shipping-totals ul#shipping_method { margin: 0; }

/* Validation de commande classique : coordonnées à gauche, récapitulatif à droite. */
body.sissou-shop form.checkout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 24px; align-items: start; }
body.sissou-shop form.checkout > * { grid-column: 1 / -1; }
body.sissou-shop form.checkout > #customer_details { grid-column: 1; grid-row: 1 / span 3; display: grid; gap: 18px; width: auto; }
body.sissou-shop form.checkout > #order_review_heading { grid-column: 2; grid-row: 1; margin: 0 0 12px; }
body.sissou-shop form.checkout > #order_review { grid-column: 2; grid-row: 2; position: sticky; top: 120px; }
body.sissou-shop #customer_details::before, body.sissou-shop #customer_details::after { display: none; }
body.sissou-shop #customer_details .col-1, body.sissou-shop #customer_details .col-2 { float: none !important; width: auto !important; margin: 0; }
body.sissou-shop #customer_details .col-2:not(:has(*:not(.woocommerce-additional-fields):not(h3))) { display: none; }
body.sissou-shop #payment { background: var(--ss-cream) !important; border-radius: 18px !important; margin-top: 18px; }
body.sissou-shop #payment ul.payment_methods { border-bottom: 1px solid var(--ss-line) !important; padding: 16px !important; }
body.sissou-shop #payment ul.payment_methods li { list-style: none; margin: 0 0 8px; }
body.sissou-shop #payment div.payment_box { background: #fff !important; border-radius: 12px; color: var(--ss-dark) !important; }
body.sissou-shop #payment div.payment_box::before { border-bottom-color: #fff !important; }
body.sissou-shop #payment .place-order { padding: 16px !important; }
body.sissou-shop .woocommerce-terms-and-conditions-wrapper { font-size: 14px; }
@media (max-width: 980px) {
	body.sissou-shop form.checkout { grid-template-columns: minmax(0, 1fr); }
	body.sissou-shop form.checkout > #customer_details, body.sissou-shop form.checkout > #order_review_heading, body.sissou-shop form.checkout > #order_review { grid-column: 1; grid-row: auto; position: static; }
	body.sissou-shop form.checkout > #order_review_heading { margin-top: 22px; }
}

/* Messages. */
body.sissou-shop .woocommerce-message, body.sissou-shop .woocommerce-info, body.sissou-shop .woocommerce-error, body.sissou-shop .wc-block-components-notice-banner { border-radius: 14px !important; background: var(--ss-cream) !important; color: var(--ss-dark) !important; border: 1px solid var(--ss-line) !important; border-left: 5px solid var(--ss-accent) !important; padding: 14px 18px !important; }
body.sissou-shop .woocommerce-error, body.sissou-shop .wc-block-components-notice-banner.is-error { border-left-color: #c0392b !important; }
body.sissou-shop .woocommerce-message::before, body.sissou-shop .woocommerce-info::before, body.sissou-shop .woocommerce-error::before { display: none; }
body.sissou-shop .woocommerce-info a, body.sissou-shop .woocommerce-message a:not(.button) { color: var(--ss-accent); font-weight: 700; }
body.sissou-shop form.checkout_coupon, body.sissou-shop form.woocommerce-form-login { background: #fff; border: 1px solid var(--ss-line) !important; border-radius: 18px; padding: 18px !important; }

/* Panier vide. */
body.sissou-shop .cart-empty.woocommerce-info { text-align: center; font-size: 1.2em; font-weight: 700; border-left-width: 1px !important; }
body.sissou-shop .return-to-shop { text-align: center; }
body.sissou-shop .return-to-shop .button { background: var(--ss-cta) !important; color: var(--ss-cta-text) !important; font-size: 17px !important; padding: 14px 28px !important; }

/* Page « Merci ». */
body.sissou-shop .woocommerce-thankyou-order-received { font-size: 1.15em; font-weight: 700; text-align: center; margin-bottom: 18px; }
body.sissou-shop ul.woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 14px 28px; list-style: none; margin: 0 0 18px !important; }
body.sissou-shop ul.woocommerce-order-overview::before, body.sissou-shop ul.woocommerce-order-overview::after { display: none; }
body.sissou-shop ul.woocommerce-order-overview li { border: 0 !important; margin: 0 !important; padding: 0 !important; float: none !important; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ss-muted); }
body.sissou-shop ul.woocommerce-order-overview li strong { display: block; font-size: 17px; text-transform: none; letter-spacing: 0; color: var(--ss-dark); margin-top: 2px; }
body.sissou-shop .woocommerce-customer-details address { border: 0 !important; padding: 0 !important; font-style: normal; }
body.sissou-shop .woocommerce-order-details table.shop_table th { text-transform: none; letter-spacing: 0; font-size: 15px; }

/* Panier classique sur téléphone : chaque article devient une carte. */
@media (max-width: 768px) {
	body.sissou-shop table.cart thead { display: none; }
	body.sissou-shop table.cart, body.sissou-shop table.cart tbody { display: block; }
	body.sissou-shop table.cart tr.cart_item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 0; border-top: 1px solid var(--ss-line); position: relative; }
	body.sissou-shop table.cart tr.cart_item:first-child { border-top: 0; padding-top: 0; }
	body.sissou-shop table.cart tr.cart_item td { display: block; border: 0 !important; padding: 0 !important; text-align: left !important; background: none !important; }
	body.sissou-shop table.cart tr.cart_item td::before { display: none !important; }
	body.sissou-shop table.cart td.product-thumbnail { grid-column: 1; grid-row: 1 / span 3; display: block !important; }
	body.sissou-shop table.cart td.product-name { grid-column: 2 / 4; grid-row: 1; padding-right: 36px !important; }
	body.sissou-shop table.cart td.product-price { display: none !important; }
	body.sissou-shop table.cart td.product-quantity { grid-column: 2; grid-row: 2; }
	body.sissou-shop table.cart td.product-subtotal { grid-column: 3; grid-row: 2; align-self: center; font-weight: 800; }
	body.sissou-shop table.cart td.product-remove { position: absolute; top: 12px; right: 0; }
	body.sissou-shop table.cart tr.cart_item:first-child td.product-remove { top: -2px; }
	body.sissou-shop table.cart tr:not(.cart_item) { display: block; }
	body.sissou-shop table.cart td.actions { display: grid; gap: 10px; border-top: 1px solid var(--ss-line) !important; }
	body.sissou-shop table.cart td.actions .coupon { display: flex; }
	body.sissou-shop table.cart td.actions .coupon #coupon_code { flex: 1; width: auto !important; }
	body.sissou-shop table.cart td.actions > .button[name="update_cart"] { float: none; width: 100%; }
	body.sissou-shop .cart-collaterals .cart_totals { float: none; width: 100% !important; }
	body.sissou-shop .woocommerce-cart-form, body.sissou-shop .cart-collaterals .cart_totals, body.sissou-shop #customer_details .col-1, body.sissou-shop #customer_details .col-2, body.sissou-shop .woocommerce-checkout-review-order { padding: 16px !important; border-radius: 18px; }
}

/* Panier et validation en blocs. */
body.sissou-shop .wc-block-components-sidebar-layout { gap: 24px; }
body.sissou-shop .wc-block-cart__main, body.sissou-shop .wc-block-checkout__main { padding: 22px !important; }
body.sissou-shop .wc-block-cart-items { border: 0 !important; }
body.sissou-shop .wc-block-cart-items th { color: var(--ss-muted); font-size: 13px !important; letter-spacing: .04em; }
body.sissou-shop .wc-block-cart-items td { border-top: 1px solid var(--ss-line) !important; }
body.sissou-shop .wc-block-cart-item__image img { border-radius: 14px; }
body.sissou-shop .wc-block-components-product-name { font-weight: 700; color: var(--ss-dark) !important; text-decoration: none !important; }
body.sissou-shop .wc-block-components-product-details { color: var(--ss-muted); font-size: 14px; }
body.sissou-shop .wc-block-components-quantity-selector { border-radius: 30px !important; border-color: var(--ss-line) !important; overflow: hidden; }
body.sissou-shop .wc-block-components-quantity-selector::after { border: 0 !important; }
body.sissou-shop .wc-block-cart-item__remove-link { color: var(--ss-muted) !important; }
body.sissou-shop .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 1.3em; font-weight: 800; }
body.sissou-shop .wc-block-components-checkout-step__heading { margin-top: 0 !important; }
body.sissou-shop .wc-block-components-checkout-step { margin-bottom: 28px !important; }
body.sissou-shop .wc-block-components-checkout-step__title { font-size: 1.3em !important; }
body.sissou-shop .wc-block-components-radio-control__option, body.sissou-shop .wc-block-components-radio-control-accordion-option { border-radius: 14px !important; }
body.sissou-shop .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted, body.sissou-shop .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted { box-shadow: inset 0 0 0 2px var(--ss-accent) !important; }
body.sissou-shop .wc-block-components-radio-control__input:checked, body.sissou-shop .wc-block-components-checkbox__input:checked { background: var(--ss-accent) !important; border-color: var(--ss-accent) !important; }
body.sissou-shop .wc-block-checkout__sidebar.is-sticky { top: 120px; }

/* ------------------------------------------------------------------
 * Fond orange (Sissou → Réglages → Apparence → Pages « Mon compte », panier et paiement).
 * ------------------------------------------------------------------ */
body.sissou-shop--orange #main-content, body.sissou-shop--orange #main-content .container { background: var(--sissou-primary, #ed6c23); }
body.sissou-shop--orange #main-content .container::before { display: none; }
body.sissou-shop--orange #main-content .main_title { display: none; } /* le bandeau d'étapes sert de titre */
body.sissou-shop--orange .ss-title { color: #fff; }
body.sissou-shop--orange .ss-steps li:not(.is-current) { background: rgba(255, 255, 255, .92); border-color: transparent; }
body.sissou-shop--orange .woocommerce-cart-form, body.sissou-shop--orange .cart-collaterals .cart_totals, body.sissou-shop--orange #customer_details .col-1, body.sissou-shop--orange #customer_details .col-2, body.sissou-shop--orange .woocommerce-checkout-review-order, body.sissou-shop--orange .woocommerce-order-details, body.sissou-shop--orange .woocommerce-customer-details, body.sissou-shop--orange ul.woocommerce-order-overview, body.sissou-shop--orange .wc-block-cart__main, body.sissou-shop--orange .wc-block-checkout__main { border-color: transparent; box-shadow: 0 10px 24px rgba(63, 37, 20, .14); }
body.sissou-shop--orange form.checkout > #order_review_heading, body.sissou-shop--orange .woocommerce-thankyou-order-received, body.sissou-shop--orange .cross-sells > h2 { color: #fff; }
body.sissou-shop--orange .woocommerce-message, body.sissou-shop--orange .woocommerce-info, body.sissou-shop--orange .woocommerce-error { border-color: transparent !important; }
/* Le bouton principal ne doit pas se fondre dans le fond : brun (ou la couleur du bouton du menu). */
body.sissou-shop--orange .woocommerce .button:not(.checkout-button):not(#place_order):not([name="update_cart"]) { background: var(--ss-dark) !important; }

/* Finitions. */
body.sissou-shop .woocommerce .button, body.sissou-shop #place_order, body.sissou-shop .wc-proceed-to-checkout a.checkout-button { box-sizing: border-box; }
body.sissou-shop table.shop_table th { text-align: left; }
body.sissou-shop table.shop_table tbody th, body.sissou-shop table.shop_table tfoot th { border-top: 1px solid var(--ss-line) !important; }
body.sissou-shop .cart_totals table.shop_table tr:first-child > * { border-top: 0 !important; }
body.sissou-shop .cart_totals table.shop_table th { padding-left: 0 !important; }
body.sissou-shop .woocommerce a.remove { display: inline-flex !important; align-items: center; justify-content: center; text-decoration: none !important; box-sizing: border-box; }
body.sissou-shop .woocommerce form .form-row label:not(.checkbox):not(.woocommerce-form__label-for-checkbox) { display: block; }
body.sissou-shop .woocommerce form .form-row input.input-text, body.sissou-shop .woocommerce form .form-row textarea { width: 100% !important; }
body.sissou-shop .woocommerce-form-coupon-toggle, body.sissou-shop .woocommerce-form-login-toggle, body.sissou-shop .woocommerce-notices-wrapper:not(:empty) { margin-bottom: 18px; }
body.sissou-shop table.shop_table tfoot th { text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ss-dark); }
body.sissou-shop #payment div.payment_box { padding: 12px 14px !important; margin: 8px 0 !important; }

/* Boutons principaux en blocs : plus précis que la règle des boutons (sinon orange sur fond orange). */
body.sissou-shop .wc-block-components-button.wc-block-cart__submit-button, body.sissou-shop .wc-block-components-button.wc-block-components-checkout-place-order-button {
	background: var(--ss-cta) !important; color: var(--ss-cta-text) !important; width: 100%; font-size: 18px !important; padding: 16px 24px !important; font-family: var(--sissou-font-head, inherit); justify-content: center;
}
body.sissou-shop .wc-block-components-button.wc-block-cart__submit-button .wc-block-components-button__text, body.sissou-shop .wc-block-components-button.wc-block-components-checkout-place-order-button .wc-block-components-button__text { color: inherit !important; }

/* Panier en blocs : la colonne du total dans une carte blanche. */
body.sissou-shop .wc-block-cart .wc-block-cart__sidebar { background: #fff; border-radius: 22px; padding: 22px !important; box-sizing: border-box; align-self: flex-start; }
body.sissou-shop--orange .wc-block-cart .wc-block-cart__sidebar { box-shadow: 0 10px 24px rgba(63, 37, 20, .14); }
body.sissou-shop .wc-block-cart__sidebar .wc-block-cart__totals-title { margin-top: 0 !important; }

/* Étiquette « Économisez CHF … ». */
body.sissou-shop .wc-block-components-sale-badge { background: #fff4dc !important; color: var(--ss-dark) !important; border: 0 !important; border-radius: 30px !important; padding: 2px 10px !important; font-weight: 700; }

/* Résumé de la commande (paiement en blocs) : colonne plus large, textes plus petits, la description prend la place. */
@media (min-width: 700px) {
	body.sissou-shop .wc-block-checkout.is-large .wc-block-components-main { width: 58% !important; padding-right: 2% !important; }
	body.sissou-shop .wc-block-checkout.is-large .wc-block-components-sidebar { width: 40% !important; padding-left: 0 !important; }
}
body.sissou-shop .wc-block-components-order-summary { font-size: 15px; }
body.sissou-shop .wc-block-components-order-summary-item { display: flex !important; gap: 12px; }
body.sissou-shop .wc-block-components-order-summary-item__description { flex: 1 1 auto !important; min-width: 0; padding: 0 !important; }
body.sissou-shop .wc-block-components-order-summary-item__total-price { flex: 0 0 auto !important; font-weight: 700; }
body.sissou-shop .wc-block-components-order-summary-item__total-price .wc-block-components-sale-badge, body.sissou-shop .wc-block-components-order-summary-item .wc-block-components-product-price__regular { display: none !important; } /* déjà visible dans le total */
body.sissou-shop .wc-block-components-order-summary-item .wc-block-components-product-name { font-size: 16px; line-height: 1.3; }
body.sissou-shop .wc-block-components-order-summary-item .wc-block-components-product-metadata { font-size: 14px; line-height: 1.4; }

/* Page « Merci » : texte du moyen de paiement lisible sur le fond orange. */
body.sissou-shop--orange .woocommerce-order > p:not(.woocommerce-thankyou-order-received) { color: #fff; font-weight: 600; text-align: center; }

.ss-sub { margin: 0 !important; padding: 0 !important; font-size: 14px; color: var(--ss-muted); }
body.sissou-shop--orange .ss-sub { color: #fff; }
