/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Description: Thème enfant de Hello Elementor — Carte cadeau Alovive
Author: Serge Yondo
Author URI: https://wa.me/237673315886
Template: hello-elementor
Version: 1.1.1
Text Domain: hello-elementor-child
*/

/* ============================================================
 * Styles personnalisés de la carte cadeau Alovive
 * ============================================================ */

.single-product-gift .container-gift {
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px 16px;
}

.single-product-gift h1 {
	font-size: 28px;
	margin-bottom: 24px;
}

.details-product {
	display: flex;
	gap: 32px;
	flex-wrap: wrap;
}

.details-product .left {
	flex: 1 1 480px;
	min-width: 280px;
}

.details-product .right {
	flex: 1 1 380px;
	min-width: 280px;
}

.form-astra-group {
	margin-bottom: 16px;
}

.form-astra-group label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	font-size: 14px;
}

.form-astra-group input[type="text"],
.form-astra-group input[type="email"],
.form-astra-group textarea,
.form-astra-group select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 15px;
	font-family: inherit;
	box-sizing: border-box;
}

.form-astra-group textarea {
	resize: vertical;
	min-height: 80px;
}

.right-detail {
	margin-bottom: 24px;
}

.right-detail h3 {
	font-size: 16px;
	margin: 0 0 6px 0;
}

button[name="validate-product"] {
	background: #000;
	color: #fff;
	border: 0;
	padding: 14px 28px;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
	width: 100%;
}

button[name="validate-product"]:hover {
	background: #333;
}

/* Aperçu de la carte cadeau */
.alovive-gift-preview {
	position: relative;
	max-width: 100%;
	border-radius: 8px;
	overflow: hidden;
	background: #f5f5f5;
}

.alovive-slide-inner {
	position: relative;
}

.alovive-slide-inner > img {
	display: block;
	width: 100%;
	height: auto;
}

.alovive-text-overlay {
	position: absolute;
	transform: translate(-50%, -50%);
	white-space: pre-wrap;
	word-wrap: break-word;
	pointer-events: none;
	line-height: 1.2;
	max-width: 80%;
	font-family: Arial, sans-serif;
	display: none;
}

.alovive-text-overlay.is-visible {
	display: block;
}

.gift-model-select select {
	max-width: 100%;
}

.details-product form{
    display: flex;;
    gap: 20px;
}