/* ==========================================================================
   Drôme Chasse & Tir — WooCommerce : panier & commande
   (notice livraison offerte, code promo, champs, récapitulatif, paiement).
   Chargé uniquement si is_cart() || is_checkout().
   Généré en v1.12.36 (refonte vérifiée : styles calculés identiques).
   ========================================================================== */

/* ==========================================================================
   Checkout premium — v1.12.26
   ========================================================================== */

body.dct.woocommerce-checkout #main-content {
	background: #f7f7f3;
}

body.dct.woocommerce-checkout #main-content .container,
body.dct.woocommerce-checkout #main-content .et_pb_row {
	width: 100%;
	max-width: 1380px;
	padding-left: 28px;
	padding-right: 28px;
	box-sizing: border-box;
}

body.dct.woocommerce-checkout #left-area {
	width: 100% !important;
	padding-right: 0 !important;
}

body.dct.woocommerce-checkout #sidebar,
body.dct.woocommerce-checkout #main-content .container:before {
	display: none !important;
}

body.dct.woocommerce-checkout .entry-title,
body.dct.woocommerce-checkout .woocommerce-checkout > h1,
body.dct.woocommerce-checkout .et_post_meta_wrapper h1 {
	font-size: clamp(30px, 2.5vw, 42px);
	line-height: 1.08;
	font-weight: 750;
	letter-spacing: -.02em;
	color: var(--dct-text);
	margin-bottom: 28px;
}


/* Code promo / connexion : neutralise le bleu WooCommerce / Divi. */

body.dct.woocommerce-checkout .woocommerce-form-login-toggle {
	margin: 0 0 22px;
}

body.dct.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
body.dct.woocommerce-checkout .woocommerce-info {
	position: relative;
	margin: 0;
	padding: 17px 20px 17px 54px !important;
	border: 1px solid #dce8c9 !important;
	border-left: 4px solid var(--dct-green) !important;
	border-top: 1px solid #dce8c9 !important;
	border-radius: 10px;
	background: #f1f6e8 !important;
	color: var(--dct-text) !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
	box-shadow: none;
}

body.dct.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info::before,
body.dct.woocommerce-checkout .woocommerce-info::before {
	content: "\\1F3F7";
	font-family: inherit;
	font-size: 19px;
	line-height: 1;
	left: 19px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--dct-green) !important;
}

body.dct.woocommerce-checkout .woocommerce-info a {
	color: var(--dct-link) !important;
	font-weight: 800;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

body.dct.woocommerce-checkout form.checkout_coupon,
body.dct.woocommerce-checkout form.login {
	margin: -10px 0 24px !important;
	padding: 20px !important;
	border: 1px solid var(--dct-border) !important;
	border-radius: 0 0 10px 10px !important;
	background: #fff;
	box-shadow: var(--dct-shadow);
}


/* Structure principale : informations à gauche, commande à droite. */

body.dct.woocommerce-checkout form.checkout.woocommerce-checkout {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(380px, .88fr);
	grid-template-areas:
		"customer review-title"
		"customer review";
	column-gap: 30px;
	row-gap: 0;
	align-items: start;
	margin-top: 24px;
}

body.dct.woocommerce-checkout form.checkout #customer_details {
	grid-area: customer;
	width: 100%;
}

body.dct.woocommerce-checkout form.checkout #order_review_heading {
	grid-area: review-title;
	margin: 0 !important;
	padding: 22px 24px 14px;
	border: 1px solid var(--dct-border);
	border-bottom: 0;
	border-radius: 12px 12px 0 0;
	background: #fff;
	font-size: 17px;
	font-weight: 850;
	letter-spacing: .06em;
	text-transform: uppercase;
}

body.dct.woocommerce-checkout form.checkout #order_review {
	grid-area: review;
	position: sticky;
	top: 118px;
	padding: 0 24px 24px;
	border: 1px solid var(--dct-border);
	border-top: 0;
	border-radius: 0 0 12px 12px;
	background: #fff;
	box-shadow: 0 10px 32px rgba(18, 25, 16, .07);
}


/* Cartes coordonnées. */

body.dct.woocommerce-checkout #customer_details.col2-set {
	display: grid;
	grid-template-columns: 1fr;
	gap: 22px;
}

body.dct.woocommerce-checkout #customer_details.col2-set::before,
body.dct.woocommerce-checkout #customer_details.col2-set::after {
	display: none;
}

body.dct.woocommerce-checkout #customer_details .col-1,
body.dct.woocommerce-checkout #customer_details .col-2 {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 24px 26px 26px;
	border: 1px solid var(--dct-border);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 7px 24px rgba(18, 25, 16, .045);
	box-sizing: border-box;
}

body.dct.woocommerce-checkout #customer_details h3,
body.dct.woocommerce-checkout #customer_details .woocommerce-billing-fields > h3,
body.dct.woocommerce-checkout #customer_details .woocommerce-shipping-fields > h3 {
	margin: 0 0 22px !important;
	padding-bottom: 14px;
	border-bottom: 1px solid #ecece5;
	font-size: 17px;
	font-weight: 850;
	letter-spacing: .055em;
	text-transform: uppercase;
	color: var(--dct-text);
}

body.dct.woocommerce-checkout #ship-to-different-address {
	padding-bottom: 16px !important;
	font-size: 15px !important;
	letter-spacing: .025em !important;
}


/* Champs. */

body.dct.woocommerce-checkout .woocommerce form .form-row,
body.dct.woocommerce-checkout form.checkout .form-row {
	margin: 0 0 16px;
	padding: 0;
}

body.dct.woocommerce-checkout form.checkout .form-row label {
	display: block;
	margin: 0 0 7px;
	font-size: 13px;
	line-height: 1.3;
	font-weight: 750;
	color: #353a32;
}

body.dct.woocommerce-checkout form.checkout .form-row .required {
	color: #b83b2f;
	font-weight: 800;
}

body.dct.woocommerce-checkout form.checkout .form-row input.input-text,
body.dct.woocommerce-checkout form.checkout .form-row textarea,
body.dct.woocommerce-checkout form.checkout .form-row select,
body.dct.woocommerce-checkout .select2-container .select2-selection--single {
	width: 100%;
	min-height: 50px;
	height: 50px;
	border: 1px solid #d6d8cf !important;
	border-radius: 8px !important;
	background: #fff !important;
	box-shadow: inset 0 1px 2px rgba(0,0,0,.015);
	font-size: 14px;
	color: var(--dct-text);
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

body.dct.woocommerce-checkout form.checkout .form-row input.input-text,
body.dct.woocommerce-checkout form.checkout .form-row select {
	padding: 0 14px !important;
}

body.dct.woocommerce-checkout form.checkout .form-row textarea {
	height: 112px;
	min-height: 112px;
	padding: 13px 14px !important;
	line-height: 1.55;
	resize: vertical;
}

body.dct.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered {
	line-height: 48px;
	padding-left: 14px;
	color: var(--dct-text);
}

body.dct.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow {
	height: 48px;
	right: 8px;
}

body.dct.woocommerce-checkout form.checkout .form-row input.input-text:focus,
body.dct.woocommerce-checkout form.checkout .form-row textarea:focus,
body.dct.woocommerce-checkout form.checkout .form-row select:focus,
body.dct.woocommerce-checkout .select2-container--open .select2-selection--single {
	outline: 0;
	border-color: var(--dct-green) !important;
	box-shadow: 0 0 0 3px rgba(140,179,63,.14) !important;
	background: #fff !important;
}

body.dct.woocommerce-checkout .woocommerce-invalid input.input-text,
body.dct.woocommerce-checkout .woocommerce-invalid .select2-selection {
	border-color: #c9584c !important;
	box-shadow: 0 0 0 3px rgba(201,88,76,.09) !important;
}

body.dct.woocommerce-checkout .woocommerce-validated input.input-text,
body.dct.woocommerce-checkout .woocommerce-validated .select2-selection {
	border-color: #a9bf7f !important;
}


/* Récapitulatif de commande. */

body.dct.woocommerce-checkout table.woocommerce-checkout-review-order-table {
	margin: 0 0 18px !important;
	border: 0 !important;
	border-radius: 0;
	box-shadow: none;
}

body.dct.woocommerce-checkout table.woocommerce-checkout-review-order-table th,
body.dct.woocommerce-checkout table.woocommerce-checkout-review-order-table td {
	padding: 13px 5px;
	border-color: #ecece5;
	font-size: 13.5px;
	vertical-align: top;
}

body.dct.woocommerce-checkout table.woocommerce-checkout-review-order-table thead th {
	padding-top: 14px;
	font-size: 11px;
	letter-spacing: .08em;
	color: var(--dct-muted);
}

body.dct.woocommerce-checkout table.woocommerce-checkout-review-order-table .product-name {
	font-weight: 650;
	color: var(--dct-text);
}

body.dct.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot th,
body.dct.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot td {
	font-weight: 750;
}

body.dct.woocommerce-checkout table.woocommerce-checkout-review-order-table .order-total th,
body.dct.woocommerce-checkout table.woocommerce-checkout-review-order-table .order-total td {
	padding-top: 17px;
	font-size: 16px;
	color: var(--dct-text);
}

body.dct.woocommerce-checkout table.woocommerce-checkout-review-order-table .order-total .amount {
	font-size: 20px;
	font-weight: 850;
	color: var(--dct-link);
}


/* Paiement. */

body.dct.woocommerce-checkout #payment.woocommerce-checkout-payment {
	margin-top: 6px;
	border-radius: 10px;
	background: #f5f6f1 !important;
	border: 1px solid #e5e6dd;
}

body.dct.woocommerce-checkout #payment ul.payment_methods {
	padding: 17px 18px 5px;
	border-bottom: 1px solid #e1e3d9;
}

body.dct.woocommerce-checkout #payment ul.payment_methods li {
	margin: 0 0 12px;
	font-size: 13.5px;
	font-weight: 650;
}

body.dct.woocommerce-checkout #payment div.payment_box {
	margin: 10px 0 4px;
	padding: 13px 14px;
	border-radius: 7px;
	background: #fff;
	color: #52574d;
	font-size: 12.5px;
	line-height: 1.55;
}

body.dct.woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color: #fff;
}

body.dct.woocommerce-checkout #payment .place-order {
	padding: 18px;
}

body.dct.woocommerce-checkout #payment #place_order,
body.dct.woocommerce-checkout button#place_order {
	float: none !important;
	width: 100%;
	min-height: 54px;
	margin: 8px 0 0 !important;
	padding: 0 20px !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: var(--dct-green) !important;
	color: #11160d !important;
	font-size: 13px !important;
	font-weight: 900 !important;
	letter-spacing: .065em;
	text-transform: uppercase;
	box-shadow: none !important;
}

body.dct.woocommerce-checkout #payment #place_order:hover,
body.dct.woocommerce-checkout button#place_order:hover {
	background: var(--dct-green-hi) !important;
	transform: translateY(-1px);
}

body.dct.woocommerce-checkout #payment #place_order::after,
body.dct.woocommerce-checkout button#place_order::after {
	display: none !important;
	content: none !important;
}

body.dct.woocommerce-checkout .woocommerce-privacy-policy-text,
body.dct.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
	font-size: 11.5px;
	line-height: 1.55;
	color: #666c61;
}


/* Checkbox "adresse différente" plus propre. */

body.dct.woocommerce-checkout #ship-to-different-address-checkbox,
body.dct.woocommerce-checkout input[type="checkbox"] {
	accent-color: var(--dct-green);
}


/* Mobile / tablette. */

@media (max-width: 980px) {
	body.dct.woocommerce-checkout form.checkout.woocommerce-checkout {
		grid-template-columns: 1fr;
		grid-template-areas:
			"customer"
			"review-title"
			"review";
		gap: 20px;
	}

	body.dct.woocommerce-checkout form.checkout #order_review_heading {
		margin-top: 4px !important;
	}

	body.dct.woocommerce-checkout form.checkout #order_review {
		position: static;
	}
}

@media (max-width: 600px) {
	body.dct.woocommerce-checkout #main-content .container,
	body.dct.woocommerce-checkout #main-content .et_pb_row {
		padding-left: 16px;
		padding-right: 16px;
	}

	body.dct.woocommerce-checkout .entry-title,
	body.dct.woocommerce-checkout .woocommerce-checkout > h1,
	body.dct.woocommerce-checkout .et_post_meta_wrapper h1 {
		font-size: 28px;
		margin-bottom: 20px;
	}

	body.dct.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
	body.dct.woocommerce-checkout .woocommerce-info {
		padding: 15px 15px 15px 45px !important;
		font-size: 13px;
	}

	body.dct.woocommerce-checkout #customer_details .col-1,
	body.dct.woocommerce-checkout #customer_details .col-2 {
		padding: 20px 17px 20px;
		border-radius: 9px;
	}

	body.dct.woocommerce-checkout form.checkout #order_review_heading {
		padding: 19px 18px 12px;
		border-radius: 9px 9px 0 0;
	}

	body.dct.woocommerce-checkout form.checkout #order_review {
		padding: 0 18px 19px;
		border-radius: 0 0 9px 9px;
	}

	body.dct.woocommerce-checkout form.checkout .form-row-first,
	body.dct.woocommerce-checkout form.checkout .form-row-last {
		float: none !important;
		width: 100% !important;
	}
}


/* Notice Flexible Shipping : compacte, lisible, sans effet "gros bandeau". */

body.dct.woocommerce-checkout .woocommerce-info.dct-fs-notice,
body.dct.woocommerce-checkout .woocommerce-info:has(.fs-free-shipping-notice-and-button-wrapper) {
	padding: 16px 18px !important;
	min-height: 0 !important;
	border-radius: 10px !important;
	border-left: 4px solid var(--dct-green) !important;
	background: #f3f7eb !important;
	box-shadow: none !important;
}

body.dct.woocommerce-checkout .fs-free-shipping-notice-and-button-wrapper {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"text button"
		"progress button";
	align-items: center;
	column-gap: 22px;
	row-gap: 8px;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.dct.woocommerce-checkout .fs-free-shipping-notice-text {
	grid-area: text;
	margin: 0 !important;
	font-size: 15px !important;
	line-height: 1.35 !important;
	font-weight: 750 !important;
	color: #252b22 !important;
}

body.dct.woocommerce-checkout .fs-free-shipping-notice-progress-bar {
	grid-area: progress;
	width: 100% !important;
	max-width: 620px;
	height: 8px !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #dfe8d1 !important;
	overflow: hidden;
}

body.dct.woocommerce-checkout .fs-free-shipping-notice-progress-bar > span {
	display: block;
	height: 100% !important;
	border-radius: inherit !important;
	background: var(--dct-green) !important;
}

body.dct.woocommerce-checkout a.button.flexible-shipping-free-shipping-button,
body.dct.woocommerce-checkout .flexible-shipping-free-shipping-button {
	grid-area: button;
	align-self: center;
	min-height: 42px !important;
	margin: 0 !important;
	padding: 0 18px !important;
	border: 0 !important;
	border-radius: 7px !important;
	background: var(--dct-green) !important;
	color: #11160d !important;
	font-size: 11px !important;
	font-weight: 900 !important;
	letter-spacing: .045em !important;
	line-height: 42px !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	white-space: nowrap;
	box-shadow: none !important;
}

body.dct.woocommerce-checkout a.button.flexible-shipping-free-shipping-button:hover,
body.dct.woocommerce-checkout .flexible-shipping-free-shipping-button:hover {
	background: var(--dct-green-hi) !important;
	color: #11160d !important;
}

body.dct.woocommerce-checkout .flexible-shipping-free-shipping-button::after {
	display: none !important;
	content: none !important;
}


/* Valeurs mini/maxi de la barre : secondaires visuellement. */

body.dct.woocommerce-checkout .fs-free-shipping-notice-and-button-wrapper small,
body.dct.woocommerce-checkout .fs-free-shipping-notice-and-button-wrapper .amount {
	font-size: 12px;
	line-height: 1.2;
}


/* Le bloc coupon ouvert ne doit plus devenir une énorme carte vide. */

body.dct.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon {
	display: grid;
	margin: 10px 0 22px !important;
	padding: 16px 18px !important;
	border: 1px solid #e1e4d9 !important;
	border-radius: 10px !important;
	background: #fff !important;
	box-shadow: 0 6px 18px rgba(23,31,20,.045);
}

body.dct.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon p {
	margin: 0 !important;
}

body.dct.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon .form-row-first,
body.dct.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon .form-row-last {
	float: none !important;
	width: auto !important;
}

body.dct.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon input.input-text {
	height: 46px !important;
	min-height: 46px !important;
}

body.dct.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon button.button {
	min-height: 46px !important;
	padding: 0 18px !important;
	border: 0 !important;
	border-radius: 7px !important;
	background: var(--dct-green) !important;
	color: #11160d !important;
	font-size: 11px !important;
	font-weight: 900 !important;
	white-space: nowrap;
}

body.dct.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon button.button::after {
	display: none !important;
	content: none !important;
}


/* Le toggle coupon reste discret. */

@media (max-width: 760px) {
	body.dct.woocommerce-checkout .fs-free-shipping-notice-and-button-wrapper {
		grid-template-columns: 1fr;
		grid-template-areas:
			"text"
			"progress"
			"button";
		row-gap: 10px;
	}

	body.dct.woocommerce-checkout a.button.flexible-shipping-free-shipping-button,
	body.dct.woocommerce-checkout .flexible-shipping-free-shipping-button {
		width: 100%;
		text-align: center;
	}

	body.dct.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon {
		padding: 14px !important;
	}
}


/* Coupon : ciblage WooCommerce générique, sans dépendre de body.woocommerce-checkout. */

body.dct form.checkout_coupon,
body.dct form.woocommerce-form-coupon,
body form.checkout_coupon.woocommerce-form-coupon {
    display: grid !important;
    grid-template-columns: minmax(260px, 520px) minmax(190px, 310px) !important;
    align-items: center !important;
    justify-content: start !important;
    gap: 12px !important;
    min-height: 0 !important;
    margin: 8px 0 20px !important;
    padding: 14px 16px !important;
    border: 1px solid #e1e4d9 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 5px 15px rgba(23,31,20,.04) !important;
}

body.dct form.checkout_coupon p,
body.dct form.woocommerce-form-coupon p,
body form.checkout_coupon.woocommerce-form-coupon p {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.dct form.checkout_coupon input.input-text,
body.dct form.woocommerce-form-coupon input.input-text,
body form.checkout_coupon.woocommerce-form-coupon input.input-text {
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 1px solid #d9ddd2 !important;
    border-radius: 7px !important;
    background: #fff !important;
    font-size: 14px !important;
}

body.dct form.checkout_coupon button.button,
body.dct form.woocommerce-form-coupon button.button,
body form.checkout_coupon.woocommerce-form-coupon button.button {
    width: 100% !important;
    min-height: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: var(--dct-green) !important;
    color: #11160d !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
}

body.dct form.checkout_coupon button.button::after,
body.dct form.woocommerce-form-coupon button.button::after,
body form.checkout_coupon.woocommerce-form-coupon button.button::after {
    content: none !important;
    display: none !important;
}

@media (max-width: 760px) {

    body.dct form.checkout_coupon,
    body.dct form.woocommerce-form-coupon,
    body form.checkout_coupon.woocommerce-form-coupon {
        grid-template-columns: 1fr !important;
        padding: 12px !important;
    }
}


/* 1) Notice Flexible Shipping : conserver le markup natif du plugin. */

body.dct.woocommerce-checkout .dct-fs-notice-v129,
body.dct.woocommerce-checkout .dct-fs-notice {
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
    margin: 0 0 14px !important;
    padding: 14px 18px !important;
    border: 1px solid #dce7c9 !important;
    border-left: 4px solid var(--dct-green) !important;
    border-radius: 10px !important;
    background: #f3f7eb !important;
    box-shadow: none !important;
}

body.dct.woocommerce-checkout .dct-fs-notice-v129 .fs-free-shipping-notice-and-button-wrapper,
body.dct.woocommerce-checkout .dct-fs-notice-v129 .dct-fs-native-layout,
body.dct.woocommerce-checkout .dct-fs-notice .fs-free-shipping-notice-and-button-wrapper {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center !important;
    gap: 10px 16px !important;
    width: 100% !important;
    min-height: 0;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent;
}


/* Annule les classes expérimentales de 1.12.28 si elles restent dans le DOM. */

body.dct.woocommerce-checkout .dct-fs-notice-v129 .fs-free-shipping-notice-progress-bar,
body.dct.woocommerce-checkout .dct-fs-notice .fs-free-shipping-notice-progress-bar {
    order: 3;
    flex: 1 0 100%;
    width: 100% !important;
    max-width: 920px !important;
    height: 8px !important;
    min-height: 8px;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #dfe8d1 !important;
    overflow: hidden !important;
}

body.dct.woocommerce-checkout .dct-fs-notice-v129 .fs-free-shipping-notice-progress-bar > span,
body.dct.woocommerce-checkout .dct-fs-notice .fs-free-shipping-notice-progress-bar > span {
    display: block !important;
    height: 100% !important;
    border-radius: inherit !important;
    background: var(--dct-green) !important;
}

body.dct.woocommerce-checkout .dct-fs-notice-v129 .flexible-shipping-free-shipping-button,
body.dct.woocommerce-checkout .dct-fs-notice-v129 a.button,
body.dct.woocommerce-checkout .dct-fs-notice .flexible-shipping-free-shipping-button {
    margin-left: auto !important;
    min-width: 190px !important;
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: var(--dct-green) !important;
    color: #11160d !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 44px !important;
    text-align: center !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}


/* 2) Le coupon doit rester fermé tant que l'utilisateur ne clique pas. */

body.dct.woocommerce-checkout form.checkout_coupon[style*="display: none"],
body.dct.woocommerce-checkout form.woocommerce-form-coupon[style*="display: none"] {
    display: none !important;
}

body.dct.woocommerce-checkout form.checkout_coupon:not([style*="display: none"]),
body.dct.woocommerce-checkout form.woocommerce-form-coupon:not([style*="display: none"]) {
    display: grid !important;
    grid-template-columns: minmax(260px, 520px) minmax(190px, 310px) !important;
}


/* 3) Récapitulatif : un seul bloc à droite, le titre est intégré au bloc. */

@media (min-width: 981px) {
    body.dct.woocommerce-checkout form.checkout.woocommerce-checkout {
        grid-template-columns: minmax(0, 1.12fr) minmax(380px, .88fr);
        grid-template-areas: "customer review";
        align-items: start;
        column-gap: 30px;
    }

    body.dct.woocommerce-checkout form.checkout #customer_details {
        grid-area: customer;
    }

    body.dct.woocommerce-checkout form.checkout #order_review_heading {
        display: none !important;
    }

    body.dct.woocommerce-checkout form.checkout #order_review {
        grid-area: review;
        position: sticky !important;
        top: 118px;
        align-self: start;
        min-height: 0;
        height: auto !important;
        margin: 0 !important;
        padding: 0 24px 24px;
        border: 1px solid var(--dct-border);
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 10px 32px rgba(18,25,16,.07);
        overflow: visible !important;
    }

    body.dct.woocommerce-checkout form.checkout #order_review::before {
        content: "Votre commande";
        display: block;
        margin: 0 -24px 0;
        padding: 22px 24px 14px;
        border-bottom: 1px solid #ecece5;
        font-size: 17px;
        line-height: 1.25;
        font-weight: 850;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: var(--dct-text);
    }

    body.dct.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table {
        position: static !important;
        inset: auto;
        transform: none;
        float: none;
        width: 100% !important;
        min-height: 0;
        margin: 0 0 18px !important;
        padding-top: 0;
    }
}

@media (max-width: 980px) {
    body.dct.woocommerce-checkout form.checkout #order_review_heading {
        display: block !important;
    }

    body.dct.woocommerce-checkout form.checkout #order_review::before {
        content: none;
        display: none;
    }
}

@media (max-width: 760px) {
    body.dct.woocommerce-checkout .dct-fs-notice-v129 .fs-free-shipping-notice-and-button-wrapper,
    body.dct.woocommerce-checkout .dct-fs-notice-v129 .dct-fs-native-layout {
        display: flex !important;
        flex-direction: column;
        align-items: stretch !important;
    }

    body.dct.woocommerce-checkout .dct-fs-notice-v129 .flexible-shipping-free-shipping-button,
    body.dct.woocommerce-checkout .dct-fs-notice-v129 a.button {
        width: 100% !important;
        margin-left: 0 !important;
    }

    body.dct.woocommerce-checkout form.checkout_coupon:not([style*="display: none"]),
    body.dct.woocommerce-checkout form.woocommerce-form-coupon:not([style*="display: none"]) {
        grid-template-columns: 1fr !important;
    }
}


/* ========================================================================
   Checkout v1.12.30 — coupon réellement replié par défaut
   ===================================================================== */

body.dct.woocommerce-checkout form.checkout_coupon,
body.dct.woocommerce-checkout form.woocommerce-form-coupon {
    display: none !important;
}

body.dct.woocommerce-checkout form.checkout_coupon.dct-coupon-open,
body.dct.woocommerce-checkout form.woocommerce-form-coupon.dct-coupon-open {
    display: grid !important;
    grid-template-columns: minmax(260px, 520px) minmax(190px, 310px) !important;
}

@media (max-width: 760px) {
    body.dct.woocommerce-checkout form.checkout_coupon.dct-coupon-open,
    body.dct.woocommerce-checkout form.woocommerce-form-coupon.dct-coupon-open {
        grid-template-columns: 1fr !important;
    }
}


/* État fermé : ne dépend PAS de body.woocommerce-checkout ni du style inline WooCommerce. */

form.checkout_coupon:not(.dct-coupon-open),
form.woocommerce-form-coupon:not(.dct-coupon-open),
form.checkout_coupon.woocommerce-form-coupon:not(.dct-coupon-open) {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}


/* État ouvert : notre classe est la seule source de vérité. */

form.checkout_coupon.dct-coupon-open,
form.woocommerce-form-coupon.dct-coupon-open,
form.checkout_coupon.woocommerce-form-coupon.dct-coupon-open {
    display: grid !important;
    visibility: visible !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
    grid-template-columns: minmax(260px, 520px) minmax(190px, 310px) !important;
    align-items: center !important;
    justify-content: start !important;
    gap: 12px !important;
    margin: 8px 0 20px !important;
    padding: 14px 16px !important;
    border: 1px solid #e1e4d9 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 5px 15px rgba(23,31,20,.04) !important;
}

@media (max-width:760px) {
    form.checkout_coupon.dct-coupon-open,
    form.woocommerce-form-coupon.dct-coupon-open,
    form.checkout_coupon.woocommerce-form-coupon.dct-coupon-open {
        grid-template-columns: 1fr !important;
    }
}


/* ========================================================================
   Checkout v1.12.33 — coupon natif remplacé + barre livraison nettoyée
   ===================================================================== */

.dct-checkout-coupon {
    margin: 0 0 22px !important;
}

.dct-checkout-coupon__notice {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-height: 54px;
    padding: 12px 18px !important;
    border: 1px solid #dce7c9 !important;
    border-left: 4px solid var(--dct-green) !important;
    border-radius: 10px !important;
    background: #f3f7eb;
    color: var(--dct-text) !important;
    box-shadow: none;
}

.dct-checkout-coupon__question {
    font-size: 15px !important;
    font-weight: 700 !important;
}

.dct-checkout-coupon__toggle,
.dct-checkout-coupon__toggle:hover,
.dct-checkout-coupon__toggle:focus {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #607f1a !important;
    font: inherit !important;
    font-weight: 800 !important;
    line-height: inherit !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

.dct-checkout-coupon__toggle::before,
.dct-checkout-coupon__toggle::after {
    content: none;
    display: none;
}

.dct-checkout-coupon__form:not(.dct-coupon-open) {
    display: none !important;
}

.dct-checkout-coupon__form.dct-coupon-open {
    display: grid !important;
    grid-template-columns: minmax(240px, 1fr) minmax(220px, .62fr) !important;
    gap: 14px !important;
    align-items: center !important;
    margin: 10px 0 0 !important;
    padding: 14px 16px !important;
    border: 1px solid #e1e4d9 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 5px 15px rgba(23,31,20,.04) !important;
}

.dct-checkout-coupon__form .form-row {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.dct-checkout-coupon__form input.input-text {
    width: 100% !important;
    min-height: 48px !important;
}

.dct-checkout-coupon__form button.button {
    width: 100% !important;
    min-height: 48px !important;
    margin: 0 !important;
}


/* Pendant le clic coupon, aucun état CSS/JS ne doit pouvoir afficher Boutique. */

html.dct-checkout-ui-lock .dct-menu > li.dct-menu-shop > .sub-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(8px) !important;
    pointer-events: none !important;
}


/* Flexible Shipping : masque les bornes natives collées (0,00€199,00€). */

.dct-fs-notice-v133 .dct-fs-native-price-bound,
.dct-fs-progress-clean .dct-fs-native-price-bound {
    display: none;
}

.dct-fs-progress-clean {
    position: relative !important;
    display: block;
    width: 100% !important;
}

.dct-fs-progress-clean .fs-free-shipping-notice-progress-bar {
    display: block;
    width: 100% !important;
    max-width: 860px !important;
    margin: 5px 0 0 !important;
}

.dct-fs-goal {
    margin-top: 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: #707968 !important;
}

@media (max-width: 760px) {
    .dct-checkout-coupon__notice {
        display: block !important;
        padding: 12px 14px !important;
    }
    .dct-checkout-coupon__question {
        display: block;
        margin-bottom: 4px !important;
    }
    .dct-checkout-coupon__form.dct-coupon-open {
        grid-template-columns: 1fr !important;
    }
}


/* v1.12.34 — état fermé prioritaire sur l'ancienne règle v1.12.29 (:not([style*="display: none"])). */

body.dct.woocommerce-checkout .dct-checkout-coupon form.dct-checkout-coupon__form:not(.dct-coupon-open) {
    display: none !important;
}
