/* =========================================================
   GECKO 3D — PANIER WOOCOMMERCE MODERNE
   Page panier : ID 3605
   ========================================================= */

body.page-id-3605 {
	--g3d-orange: var(--ast-global-color-0, #f59e0b);
	--g3d-orange-dark: #e58b00;
	--g3d-text: #191c20;
	--g3d-muted: #70757d;
	--g3d-border: #e2e5e9;
	--g3d-background: #f5f6f8;
	--g3d-card: #ffffff;
}

/* =========================================================
   STRUCTURE GÉNÉRALE
   ========================================================= */

body.page-id-3605 #content {
	padding: 22px 0 55px;
	background: var(--g3d-background);
}

body.page-id-3605 #content > .ast-container {
	display: block;
	width: 100%;
	max-width: 1280px;
	padding-right: 20px;
	padding-left: 20px;
}

body.page-id-3605 #primary {
	width: 100% !important;
	margin: 0 !important;
}

body.page-id-3605 .ast-article-single {
	padding: 0 !important;
	background: transparent !important;
}

body.page-id-3605 .entry-header {
	margin: 0 !important;
}

body.page-id-3605 .entry-title {
	margin: 0 0 22px !important;
	color: var(--g3d-text);
	font-size: clamp(30px, 3vw, 42px);
	font-weight: 800;
	letter-spacing: -0.04em;
}

/* =========================================================
   ÉTAPES DU PANIER
   ========================================================= */

body.page-id-3605 #ast-checkout-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 17px;
	min-height: 0;
	margin: 0 0 24px;
	padding: 12px 18px;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid var(--g3d-border);
	border-radius: 17px;
	box-shadow: 0 7px 25px rgba(20, 25, 35, 0.05);
}

body.page-id-3605 #ast-checkout-wrap > a {
	display: flex;
	align-items: center;
	gap: 9px;
	color: #b2b5ba;
	font-size: 13px;
	font-weight: 650;
	text-decoration: none;
}

body.page-id-3605 #ast-checkout-wrap p {
	margin: 0;
}

body.page-id-3605 #ast-checkout-wrap .ast-step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #f0f1f3;
	color: #a7abb1;
	font-size: 13px;
	font-weight: 700;
}

body.page-id-3605 #ast-checkout-wrap .ast-current {
	color: var(--g3d-text);
}

body.page-id-3605 #ast-checkout-wrap .ast-current .ast-step-number {
	background: var(--g3d-orange);
	color: #fff;
}

body.page-id-3605 #ast-checkout-wrap > span {
	opacity: 0.2;
	transform: scale(0.58);
}

/* =========================================================
   COLONNES SUR ORDINATEUR
   ========================================================= */

@media (min-width: 922px) {

	body.page-id-3605 #ast-cart-wrapper {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) 420px !important;
		align-items: start !important;
		gap: 22px !important;
		width: 100% !important;
	}

	body.page-id-3605 #ast-cart-wrapper > .ast-cart-non-sticky,
	body.page-id-3605 #ast-cart-wrapper > .cart-collaterals {
		float: none !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
	}

	body.page-id-3605 #ast-cart-wrapper > .cart-collaterals {
		position: sticky !important;
		top: 22px !important;
	}
}

/* =========================================================
   LISTE DES PRODUITS
   ========================================================= */

body.page-id-3605 .woocommerce-cart-form {
	width: 100%;
	overflow: hidden;
	background: var(--g3d-card);
	border: 1px solid var(--g3d-border);
	border-radius: 19px;
	box-shadow: 0 10px 32px rgba(20, 25, 35, 0.06);
}

body.page-id-3605 table.shop_table {
	width: 100% !important;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: separate;
	border-spacing: 0;
}

body.page-id-3605 table.cart thead {
	background: #f8f9fa;
}

body.page-id-3605 table.cart thead th {
	padding: 14px 10px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--g3d-border) !important;
	color: var(--g3d-muted);
	font-size: 10px;
	font-weight: 750;
	letter-spacing: 0.055em;
	text-transform: uppercase;
}

body.page-id-3605 table.cart td {
	padding: 15px 10px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--g3d-border) !important;
	vertical-align: middle;
}

body.page-id-3605 table.cart tr.cart_item:last-of-type td {
	border-bottom: 0 !important;
}

/* Largeurs des colonnes */

body.page-id-3605 table.cart .product-remove {
	width: 48px;
}

body.page-id-3605 table.cart .product-thumbnail {
	width: 94px;
}

body.page-id-3605 table.cart .product-name {
	min-width: 0;
}

body.page-id-3605 table.cart .product-price {
	width: 110px;
}

body.page-id-3605 table.cart .product-quantity {
	width: 130px;
	white-space: nowrap;
}

body.page-id-3605 table.cart .product-subtotal {
	width: 125px;
}

/* Bouton supprimer */

body.page-id-3605 table.cart .product-remove {
	padding-left: 12px !important;
	text-align: center;
}

body.page-id-3605 table.cart .product-remove .remove {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid #f0c7c3;
	border-radius: 50%;
	background: #fff;
	color: #da7168 !important;
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

body.page-id-3605 table.cart .product-remove .remove:hover {
	border-color: #d75349;
	background: #d75349;
	color: #fff !important;
}

body.page-id-3605 table.cart .product-remove svg {
	width: 13px;
	height: 13px;
}

/* Image produit */

body.page-id-3605 table.cart .product-thumbnail img {
	display: block;
	width: 76px !important;
	height: 76px !important;
	padding: 7px;
	object-fit: contain;
	background: #f7f7f8;
	border: 1px solid #e9eaec;
	border-radius: 15px;
}

/* Nom du produit */

body.page-id-3605 table.cart .product-name a {
	color: var(--g3d-text);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
}

body.page-id-3605 table.cart .product-name a:hover {
	color: var(--g3d-orange-dark);
}

/* Prix */

body.page-id-3605 table.cart .product-price,
body.page-id-3605 table.cart .product-subtotal {
	color: var(--g3d-text);
	font-size: 13px;
	font-weight: 650;
	white-space: nowrap;
}

/*
 * Les boutons + et - ne sont volontairement pas modifiés.
 * Ils conservent le style global actuel du site.
 */

/* =========================================================
   ACTIONS SOUS LES PRODUITS
   ========================================================= */

body.page-id-3605 table.cart td.actions {
	padding: 13px 15px !important;
	background: #fafafa;
	border-top: 1px solid var(--g3d-border) !important;
	border-bottom: 0 !important;
}

/* Masque le coupon WooCommerce en double */

body.page-id-3605 .woocommerce-cart-form td.actions > .coupon {
	display: none !important;
}

body.page-id-3605 button[name="update_cart"] {
	float: right !important;
	min-height: 40px;
	margin: 0 !important;
	padding: 8px 15px !important;
	border: 1px solid var(--g3d-border) !important;
	border-radius: 10px !important;
	background: #fff !important;
	color: var(--g3d-text) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
}

body.page-id-3605 button[name="update_cart"]:not(:disabled):hover {
	border-color: var(--g3d-orange) !important;
	color: var(--g3d-orange-dark) !important;
}

body.page-id-3605 button[name="update_cart"]:disabled {
	opacity: 0.45;
}

/* =========================================================
   CARTE TOTAL PANIER
   ========================================================= */

body.page-id-3605 .cart_totals {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 22px 22px !important;
	background: var(--g3d-card);
	border: 1px solid var(--g3d-border);
	border-radius: 19px;
	box-shadow: 0 10px 32px rgba(20, 25, 35, 0.06);
	overflow: hidden;
}

body.page-id-3605 .cart_totals h2 {
	margin: 0 -22px 16px !important;
	padding: 18px 22px !important;
	border-bottom: 1px solid var(--g3d-border);
	color: var(--g3d-text);
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.025em;
}

body.page-id-3605 .cart_totals table {
	width: 100%;
	margin: 0 0 14px !important;
	border: 0 !important;
}

body.page-id-3605 .cart_totals table th,
body.page-id-3605 .cart_totals table td {
	padding: 13px 0 !important;
	border: 0 !important;
	border-bottom: 1px solid var(--g3d-border) !important;
	background: transparent !important;
	vertical-align: top;
}

body.page-id-3605 .cart_totals table th {
	width: 30% !important;
	padding-right: 14px !important;
	color: var(--g3d-muted);
	font-size: 13px;
	font-weight: 650;
	text-align: left;
}

body.page-id-3605 .cart_totals table td {
	width: 70% !important;
	color: var(--g3d-text);
	font-size: 13px;
	font-weight: 600;
	text-align: right;
}

/* =========================================================
   MODE DE RÉCEPTION
   ========================================================= */

body.page-id-3605 .cart_totals tr.woocommerce-shipping-totals,
body.page-id-3605 .cart_totals tr.shipping {
	display: table-row !important;
}

body.page-id-3605 .cart_totals tr.woocommerce-shipping-totals th,
body.page-id-3605 .cart_totals tr.woocommerce-shipping-totals td,
body.page-id-3605 .cart_totals tr.shipping th,
body.page-id-3605 .cart_totals tr.shipping td {
	display: table-cell !important;
	padding-top: 13px !important;
	padding-bottom: 13px !important;
	vertical-align: top !important;
	text-align: left !important;
}

body.page-id-3605 .cart_totals tr.woocommerce-shipping-totals th,
body.page-id-3605 .cart_totals tr.shipping th {
	width: 30% !important;
	padding-right: 14px !important;
}

body.page-id-3605 .cart_totals tr.woocommerce-shipping-totals td,
body.page-id-3605 .cart_totals tr.shipping td {
	width: 70% !important;
}

body.page-id-3605 #shipping_method {
	margin: 0 !important;
	padding: 0 !important;
}

body.page-id-3605 #shipping_method li {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.45;
}

body.page-id-3605 #shipping_method label {
	display: block;
	color: var(--g3d-text);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
	word-break: normal;
	overflow-wrap: break-word;
}

/* Adresse actuelle */

body.page-id-3605 .woocommerce-shipping-destination {
	display: block;
	margin: 10px 0 0 !important;
	padding: 10px 12px !important;
	background: #f5f6f7;
	border-radius: 10px;
	color: var(--g3d-muted);
	font-size: 12px;
	line-height: 1.45;
	text-align: left;
}

body.page-id-3605 .shipping-calculator-button {
	display: inline-block;
	margin-top: 10px;
	color: var(--g3d-orange-dark);
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

body.page-id-3605 .shipping-calculator-button:hover {
	color: var(--g3d-orange);
}

/* =========================================================
   TOTAL FINAL
   ========================================================= */

body.page-id-3605 .cart_totals .order-total th,
body.page-id-3605 .cart_totals .order-total td {
	padding-top: 16px !important;
	padding-bottom: 16px !important;
	border-bottom: 0 !important;
	color: var(--g3d-text);
}

body.page-id-3605 .cart_totals .order-total th {
	font-size: 16px;
	font-weight: 750;
}

body.page-id-3605 .cart_totals .order-total td {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.03em;
	white-space: nowrap;
}

/* =========================================================
   CODE COUPON
   ========================================================= */

body.page-id-3605 #ast-checkout-coupon {
	width: 100%;
	margin: 4px 0 16px !important;
}

body.page-id-3605 #ast-coupon-trigger {
	margin: 0 0 9px !important;
	color: var(--g3d-muted);
	font-size: 12px;
	font-weight: 650;
	cursor: pointer;
}

body.page-id-3605 #ast-checkout-coupon .coupon {
	position: static !important;
	width: 100% !important;
	margin: 0 !important;
	gap: 7px;
	align-items: stretch;
}

body.page-id-3605 #ast-checkout-coupon .coupon:not([style]),
body.page-id-3605 #ast-checkout-coupon .coupon[style*="display: block"],
body.page-id-3605 #ast-checkout-coupon .coupon[style*="display:block"] {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 100px !important;
}

body.page-id-3605 #ast-checkout-coupon .ast-coupon-label {
	display: none !important;
}

body.page-id-3605 #ast-coupon-code {
	position: static !important;
	width: 100% !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 12px !important;
	border: 1px solid var(--g3d-border) !important;
	border-radius: 11px !important;
	background: #fff !important;
	box-shadow: none !important;
	font-size: 12px !important;
}

body.page-id-3605 #ast-coupon-code:focus {
	border-color: var(--g3d-orange) !important;
	outline: 0;
}

body.page-id-3605 #ast-apply-coupon {
	position: static !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100px !important;
	min-width: 100px !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 8px !important;
	border: 0 !important;
	border-radius: 11px !important;
	background: #eceef1 !important;
	color: var(--g3d-text) !important;
	font-size: 11px !important;
	font-weight: 750 !important;
	text-align: center;
}

/* =========================================================
   BOUTON PASSER À LA COMMANDE
   ========================================================= */

body.page-id-3605 .wc-proceed-to-checkout {
	margin: 12px 0 0 !important;
	padding: 0 0 5px !important;
}

body.page-id-3605 .checkout-button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 54px;
	margin: 0 !important;
	padding: 12px 18px !important;
	border: 0 !important;
	border-radius: 14px !important;
	background: var(--g3d-orange) !important;
	box-shadow: 0 8px 20px rgba(245, 158, 11, 0.22);
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	transition:
		background 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

body.page-id-3605 .checkout-button:hover {
	background: var(--g3d-orange-dark) !important;
	box-shadow: 0 10px 24px rgba(245, 158, 11, 0.28);
	transform: translateY(-1px);
}

/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 921px) {

	body.page-id-3605 #ast-cart-wrapper {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 18px !important;
	}

	body.page-id-3605 #ast-cart-wrapper > .ast-cart-non-sticky,
	body.page-id-3605 #ast-cart-wrapper > .cart-collaterals {
		position: static !important;
		float: none !important;
		width: 100% !important;
		margin: 0 !important;
	}
}

/* =========================================================
   TÉLÉPHONE
   ========================================================= */

@media (max-width: 767px) {

	body.page-id-3605 #content {
		padding-top: 15px;
		padding-bottom: 35px;
	}

	body.page-id-3605 #content > .ast-container {
		padding-right: 13px;
		padding-left: 13px;
	}

	body.page-id-3605 .entry-title {
		margin-bottom: 15px !important;
		font-size: 30px;
	}

	/* Étapes */

	body.page-id-3605 #ast-checkout-wrap {
		justify-content: space-between;
		gap: 2px;
		margin-bottom: 16px;
		padding: 10px 7px;
	}

	body.page-id-3605 #ast-checkout-wrap > span {
		display: none;
	}

	body.page-id-3605 #ast-checkout-wrap > a {
		flex: 1;
		flex-direction: column;
		gap: 4px;
		min-width: 0;
		font-size: 9px;
		line-height: 1.2;
		text-align: center;
	}

	body.page-id-3605 #ast-checkout-wrap .ast-step-number {
		width: 28px;
		height: 28px;
		font-size: 11px;
	}

	/* Retire l'apparence de tableau */

	body.page-id-3605 .woocommerce-cart-form {
		overflow: visible;
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	body.page-id-3605 table.cart,
	body.page-id-3605 table.cart tbody {
		display: block;
		width: 100%;
	}

	body.page-id-3605 table.cart thead {
		display: none;
	}

	/* Carte produit */

	body.page-id-3605 table.cart tr.cart_item {
		position: relative;
		display: grid !important;
		grid-template-columns: 74px minmax(0, 1fr);
		grid-template-areas:
			"image name"
			"image price"
			"image quantity"
			"image subtotal";
		column-gap: 12px;
		row-gap: 7px;
		margin-bottom: 11px;
		padding: 13px;
		background: #fff;
		border: 1px solid var(--g3d-border);
		border-radius: 17px;
		box-shadow: 0 7px 22px rgba(20, 25, 35, 0.05);
	}

	body.page-id-3605 table.cart tr.cart_item td {
		display: block !important;
		width: auto !important;
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
		text-align: left !important;
	}

	body.page-id-3605 table.cart tr.cart_item td::before {
		display: none !important;
		content: none !important;
	}

	/* Image */

	body.page-id-3605 table.cart .product-thumbnail {
		grid-area: image;
	}

	body.page-id-3605 table.cart .product-thumbnail img {
		width: 68px !important;
		height: 68px !important;
		padding: 5px;
	}

	/* Nom */

	body.page-id-3605 table.cart .product-name {
		grid-area: name;
		padding-right: 30px !important;
	}

	body.page-id-3605 table.cart .product-name a {
		font-size: 13px;
		line-height: 1.35;
	}

	/* Supprimer */

	body.page-id-3605 table.cart .product-remove {
		position: absolute;
		z-index: 2;
		top: 9px;
		right: 9px;
		width: auto;
	}

	body.page-id-3605 table.cart .product-remove .remove {
		width: 28px;
		height: 28px;
	}

	/* Prix */

	body.page-id-3605 table.cart .product-price {
		grid-area: price;
	}

	body.page-id-3605 table.cart .product-quantity {
		grid-area: quantity;
	}

	body.page-id-3605 table.cart .product-subtotal {
		grid-area: subtotal;
		padding-top: 7px !important;
		border-top: 1px solid var(--g3d-border) !important;
		font-weight: 750;
	}

	body.page-id-3605 table.cart .product-price,
	body.page-id-3605 table.cart .product-quantity,
	body.page-id-3605 table.cart .product-subtotal {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		width: 100% !important;
	}

	body.page-id-3605 table.cart .product-price::before {
		display: block !important;
		content: "Prix" !important;
		color: var(--g3d-muted);
		font-size: 11px;
		font-weight: 500;
	}

	body.page-id-3605 table.cart .product-quantity::before {
		display: block !important;
		content: "Quantité" !important;
		color: var(--g3d-muted);
		font-size: 11px;
		font-weight: 500;
	}

	body.page-id-3605 table.cart .product-subtotal::before {
		display: block !important;
		content: "Sous-total" !important;
		color: var(--g3d-muted);
		font-size: 11px;
		font-weight: 600;
	}

	/* Mise à jour du panier */

	body.page-id-3605 table.cart tr:last-child {
		display: block !important;
	}

	body.page-id-3605 table.cart td.actions {
		display: block !important;
		margin-top: 3px;
		padding: 11px !important;
		background: #fff;
		border: 1px solid var(--g3d-border) !important;
		border-radius: 14px;
	}

	body.page-id-3605 button[name="update_cart"] {
		float: none !important;
		width: 100%;
	}

	/* Total panier */

	body.page-id-3605 .cart_totals {
		padding: 0 18px 18px !important;
		border-radius: 17px;
	}

	body.page-id-3605 .cart_totals h2 {
		margin: 0 -18px 14px !important;
		padding: 16px 18px !important;
	}

	body.page-id-3605 .cart_totals table th {
		width: 34% !important;
		font-size: 12px;
	}

	body.page-id-3605 .cart_totals table td {
		width: 66% !important;
		font-size: 12px;
	}

	/* Mode de réception sur toute la largeur */

	body.page-id-3605 .cart_totals tr.woocommerce-shipping-totals,
	body.page-id-3605 .cart_totals tr.shipping {
		display: block !important;
		padding: 12px 0 !important;
		border-bottom: 1px solid var(--g3d-border) !important;
	}

	body.page-id-3605 .cart_totals tr.woocommerce-shipping-totals th,
	body.page-id-3605 .cart_totals tr.woocommerce-shipping-totals td,
	body.page-id-3605 .cart_totals tr.shipping th,
	body.page-id-3605 .cart_totals tr.shipping td {
		display: block !important;
		width: 100% !important;
		padding: 0 !important;
		border: 0 !important;
		text-align: left !important;
	}

	body.page-id-3605 .cart_totals tr.woocommerce-shipping-totals th,
	body.page-id-3605 .cart_totals tr.shipping th {
		margin-bottom: 8px;
	}

	body.page-id-3605 #shipping_method label {
		font-size: 12px;
	}

	body.page-id-3605 .woocommerce-shipping-destination {
		font-size: 11px;
	}

	body.page-id-3605 .cart_totals .order-total th {
		font-size: 16px;
	}

	body.page-id-3605 .cart_totals .order-total td {
		font-size: 20px;
	}

	/* Coupon */

	body.page-id-3605 #ast-checkout-coupon .coupon:not([style]),
	body.page-id-3605 #ast-checkout-coupon .coupon[style*="display: block"],
	body.page-id-3605 #ast-checkout-coupon .coupon[style*="display:block"] {
		grid-template-columns: minmax(0, 1fr) 92px !important;
	}

	body.page-id-3605 #ast-apply-coupon {
		width: 92px !important;
		min-width: 92px !important;
	}

	/* Bouton commander */

	body.page-id-3605 .wc-proceed-to-checkout {
		margin-top: 12px !important;
		padding-bottom: 6px !important;
	}
}