/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* modal minimal */
.rwm-gift-container {
	display: flex;
	gap: 10px;
}
.rwm-gift-option {
	text-align: center;
}
.rwm-gift-container input {
	visibility: hidden;
}

.rwm-choose-gift-submit{
	padding: 10px 20px !important;
    border: 1px solid;
    display: block;
    margin-left: auto;
    margin-top: 50px;
}


/* Style par défaut de la vignette */
.rwm-gift-option img {
	border: 2px solid transparent;
	border-radius: 8px;
	transition: all 0.2s ease;
}

/* Quand l'image est survolée */
.rwm-gift-option:hover img {
	border-color: #ccc;
}

/* Quand l'input est sélectionné */
.rwm-gift-option input[type=radio]:checked + .rwm-gift-thumb img {
	border-color: #2a8a2a; /* ta couleur principale */
	box-shadow: 0 0 0 3px rgba(42,138,42,0.2);
}


.rwm-gift-title {
	padding: 10px;
	display: block;
}
.rwm-gift-modal {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.5);
	z-index: 99999;
	display:flex;
	align-items:center;
	justify-content:center;
	padding:20px;
}
.rwm-gift-dialog {
	background:#fff;
	padding:18px;
	border-radius:8px;
	max-width:600px;
	width:100%;
	position:relative;
	box-shadow:0 8px 30px rgba(0,0,0,.2);
}
.rwm-gift-dialog h3 { margin-top:0; font-size:18px; }
.rwm-gift-close { position:absolute; right:10px; top:8px; cursor:pointer; font-size:18px; }
.rwm-change-gift-button {
	background:#2a8a2a;
	color:#fff;
	border:0;
	padding:7px 10px;
	border-radius:6px;
	cursor:pointer;
	font-size:13px;
}
.rwm-change-gift-button:hover { opacity: .9; }
button.rwm-change-gift-button {
    padding: 4px;
    position: absolute;
    transform: translateY(-50%);
}

tr.woocommerce-cart-form__cart-item cart_item {
	position: relative;
}

@media screen and (max-width:769px) {
	.rwm-change-gift-button {
		right: 0;
	}
}

.shop_table.woocommerce-checkout-review-order-table {
	display: flex;
	flex-direction: column;
}

#custom-validation .shop_table.woocommerce-checkout-review-order-table tbody {
	display: flex;
	flex-direction: column;
	gap: 7px;
    margin-bottom: 15px;
}

#custom-validation .shop_table.woocommerce-checkout-review-order-table .cart_item {
	display: flex;
    justify-content: space-between;
	padding: 0;
}

#custom-validation .shop_table.woocommerce-checkout-review-order-table thead {
	display: none;
}

#custom-validation .shop_table.woocommerce-checkout-review-order-table .cart_item td {
	padding: 0;
}

#custom-validation .shop_table.woocommerce-checkout-review-order-table .product-name {
	max-width: 100% !important;
}

#custom-validation .cart-subtotal {
	background: #FAFAFA;
	display: flex;
    justify-content: space-between;
	padding: 0 10px;
	border-radius: 5px;
}

#custom-validation .cart-subtotal td {
	padding-right: 0;
}

#custom-validation .shipping {
	display: flex;
	flex-direction: column;
}

#custom-validation .shipping td{
	display: block;
	max-width: 100%;
}

#custom-validation .shop_table.woocommerce-checkout-review-order-table .product-total {
	padding-right: 0;
}

#custom-validation .order-total {
	display: flex;
    padding: 10px;
    background: aliceblue;
    align-items: center;
	justify-content: space-between;
	border-radius: 5px;
}

#custom-validation .order-total td, #custom-validation .order-total th {
	padding: 0;
}