/*
--------------------------------------
Container
--------------------------------------
*/

.woocommerce-page .ast-container {
	max-width: 100%;
	padding: 0;
}

.entry-content[data-ast-blocks-layout] > * {
	max-width: 100%;
}

.woocommerce-cart .entry-content .cart-inner-container {
	display: grid;
	grid-template-columns: 1fr;
	grid-row-gap: 30px;
	background: var(--color-primary);
	max-width: 1445px;
	padding: 5em calc(55px + (150 - 55) * ((100vw - 320px) / (1920 - 320)));
	margin: auto;
}

.cart-inner-container .actions {
	display: none;
}

/*
--------------------------------------
Item
--------------------------------------
*/

.woocommerce-cart-form .e-cart-section {
	padding: 0;
}

.cart_item {
	display: grid;
	grid-template-columns: 0.5fr 1fr 1.5fr 1fr 1fr 0.5fr;
}

.woosb-item-parent .cart-item-element {
	max-height: 48px !important;
}

/*Image*/

.woosb-item-parent .product-thumbnail img {
	max-width: 48px;
}

/*Prix unitaire*/

.product-price.cart-item-element {
	display: flex;
	justify-content: center;
}

/*Qté*/

.woosb-item-parent .quantity br {
	display: none;
}

/*
--------------------------------------
Details children
--------------------------------------
*/

/*Main container*/

.woocommerce .cart-details-container {
	padding: 2em;
}

/*Elements à masquer*/

.woocommerce-page .woosb-item-child .product-thumbnail,
.woocommerce-page .woosb-item-child .product-thumbnail img,
.woocommerce-page .woosb-item-child .product-price,
.woocommerce-page .woosb-item-child .product-subtotal {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	height: 0 !important;
}

.cart_item p {
	display: none;
}

/*Elements*/

.woocommerce .cart-details-container {
	font-family: var(--typo-secondary);
	color: #fff;
	border: 1px solid #fff;
}

.cart-item-element {
	display: flex;
	align-items: center;
	justify-content: center;
}

/*Remove*/

.woocommerce-cart-form__cart-item a.remove {
	color: #fff;
	opacity: 1;
}

.woocommerce-js a.remove:before {
	border: 1px solid #fff;
}

/*Name*/

.product-name a {
	font-family: var(--typo-primary);
	font-weight: 100;
	font-size: 18px;
	color: #fff !important;
}

/*Qty*/

.product-quantity .quantity .input-text {
	background: transparent;
	border: 1px solid #fff;
	color: #fff;
}

.product-quantity .quantity br {
	display: none;
}

/*Subtotal*/

.product-subtotal {
	font-weight: 700;
}

/*
--------------------------------------
Action
--------------------------------------
*/

.actions > p {
	margin-top: 2em;
}

.cart-inner-container .actions .button {
	position: relative;
	z-index: 1;
	display: inline-flex;
	font-family: var(--typo-primary);
	font-weight: 600;
	overflow: hidden;
	background-color: transparent !important;
	background-image: linear-gradient(to right, #773d20, #c26335, #a4562f, #fd9967, #bd6940);
	color: #fff;
	border-radius: 26px;
}

.cart-inner-container .actions .button:before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: transparent !important;
	background-image: linear-gradient(to left, #773d20, #c26335, #a4562f, #fd9967, #bd6940);
	z-index: -1;
	transition: opacity 350ms ease;
	opacity: 0;
}

.cart-inner-container .actions .button:hover::before {
	opacity: 1;
}

.elementor-widget-woocommerce-cart .woocommerce .remove {
	color: #fff !important;
	width: 24px;
	height: 24px;
}

/*
--------------------------------------
Info
--------------------------------------
*/

.cart-info-container {
	border: 1px solid #fff;
	margin-top: 2em;
	padding: 2em;
}

.cart-info-container p {
	margin-bottom: 0;
}

.cart-info-title {
	font-family: var(--typo-primary);
	font-size: 20px;
	font-weight: 100;
	color: #fff;
}

.woocommerce-js ul#shipping_method label,
.cart-info-description {
	font-family: var(--typo-secondary);
	color: #fff;
	margin-top: 1em;
}

/*
--------------------------------------
Totals
--------------------------------------
*/

/*Element*/

.subtotal-element {
	font-family: var(--typo-secondary);
	display: flex;
	justify-content: space-between;
}

.subtotal-element p {
	display: none;
}

/*Totals*/

.woocommerce-cart .cart-collaterals .cart_totals {
	float: unset;
	width: 100%;
}

.woocommerce-cart .cart-collaterals .cart_totals h2,
.subtotal-element,
.subtotals-container {
	font-weight: 600;
	background-color: transparent;
	color: #fff;
	border-bottom: none;
}

.woocommerce-cart .cart-collaterals .cart_totals h2 {
	font-family: var(--typo-primary);
	font-weight: 100;
}

/*Expédition*/

.woocommerce-shipping-totals {
	font-family: var(--typo-secondary);
	padding: 1em 0;
}

.woocommerce-shipping-totals .woocommerce-shipping-title {
	font-weight: 700;
	color: #fff;
}

ul.woocommerce-shipping-methods {
	padding: 1em 0 !important;
}

.woocommerce-shipping-methods label {
	font-family: var(--typo-secondary);
	color: #fff;
	padding-left: 1em;
}

.woocommerce-shipping-methods p {
	margin-bottom: 0 !important;
}

.woocommerce-shipping-destination .e-checkout-message {
	color: #fff;
}

.subtotals-container p {
	font-family: var(--typo-secondary);
	margin-bottom: 0;
}

/*Total*/

.order-total {
	padding-top: 1em;
}

/*Btn*/

.wc-proceed-to-checkout .checkout-button {
	font-size: 20px !important;
}

.checkout-button br {
	display: none !important;
}