/* =============================================
   Carte Cadeau — Georgio Glacier
   Plugin: Ultimate Gift Cards (wps_wgm)
   ============================================= */

/* ── Labels ────────────────────────────────────────────────────── */
.wps_wgm_added_wrapper .wps_wgc_label {
    font-family: "DM Sans", sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0D345B !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

/* ── Inputs ────────────────────────────────────────────────────── */
.wps_wgm_added_wrapper input[type="text"],
.wps_wgm_added_wrapper input[type="email"],
.wps_wgm_added_wrapper input[type="number"],
.wps_wgm_added_wrapper textarea,
.wps_wgm_added_wrapper .wps_wgm_price,
.wps_wgm_added_wrapper .wps_wgm_from_name,
.wps_wgm_added_wrapper .wps_wgm_to_email,
.wps_wgm_added_wrapper .wps_wgm_message {
    font-family: "DM Sans", sans-serif !important;
    font-size: 15px !important;
    border: 1.5px solid #ddd !important;
    border-radius: 10px !important;
    padding: 13px 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: #fff !important;
    color: #333 !important;
    outline: none !important;
    transition: border-color 0.15s !important;
}

.wps_wgm_added_wrapper input:focus,
.wps_wgm_added_wrapper textarea:focus {
    border-color: #0D345B !important;
}

.wps_wgm_added_wrapper textarea.wps_wgm_message {
    min-height: 100px !important;
    resize: vertical !important;
}

/* ── Prix minimum ──────────────────────────────────────────────── */
.wps_wgm_added_wrapper .wps_wgm_min_user_price {
    font-family: "DM Sans", sans-serif !important;
    font-size: 12px !important;
    color: #aaa !important;
    display: block !important;
    margin-top: 4px !important;
}

/* ── Compteur caractères ───────────────────────────────────────── */
.wps_wgm_added_wrapper .wps_wgm_message_length {
    font-family: "DM Sans", sans-serif !important;
    font-size: 12px !important;
    color: #aaa !important;
}

/* ── Sections spacing ──────────────────────────────────────────── */
.wps_wgm_added_wrapper .wps_wgm_section {
    margin-bottom: 20px !important;
}

.wps_wgm_added_wrapper p {
    margin-bottom: 20px !important;
}

/* ── Méthode de livraison ──────────────────────────────────────── */
.wps_wgm_added_wrapper .wps_wgm_delivery_method {
    background: #fafaf8 !important;
    border: 1.5px solid #ddd !important;
    border-radius: 12px !important;
    padding: 18px 20px !important;
}

.wps_wgm_added_wrapper .wps_wgm_delivery_method .wps_wgm_method {
    font-family: "DM Sans", sans-serif !important;
    font-size: 15px !important;
    color: #0D345B !important;
    font-weight: 500 !important;
}

.wps_wgm_added_wrapper .wps_wgm_delivery_via_email {
    margin-top: 12px !important;
}

.wps_wgm_added_wrapper .wps_wgm_msg_info,
.wps_wgm_added_wrapper .wps_wgm_msg_info_multiple_name {
    font-family: "DM Sans", sans-serif !important;
    font-size: 13px !important;
    color: #aaa !important;
    display: block !important;
    margin-top: 6px !important;
}

/* ── Bouton Aperçu ─────────────────────────────────────────────── */
.wps_wgm_added_wrapper .mwg_wgm_preview_email a,
.wps_wgm_added_wrapper #mwg_wgm_preview_email {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-family: "DM Sans", sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #0D345B !important;
    background: #E7C141 !important;
    border: none !important;
    border-radius: 15px !important;
    padding: 14px 0 !important;
    cursor: pointer !important;
    transition: background 0.15s !important;
    margin: 20px 0 !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-sizing: border-box !important;
}

.wps_wgm_added_wrapper .mwg_wgm_preview_email a:hover {
    background: #ccab32 !important;
}

/* ── Bouton Ajouter au panier ──────────────────────────────────── */
.wps_wgm_added_wrapper .single_add_to_cart_button,
.wps_wgm_elementor .single_add_to_cart_button {
    font-family: "DM Sans", sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #fff !important;
    background: #0D345B !important;
    border: none !important;
    border-radius: 15px !important;
    padding: 16px 40px !important;
    cursor: pointer !important;
    transition: background 0.15s !important;
    text-transform: none !important;
}

.wps_wgm_added_wrapper .single_add_to_cart_button:hover,
.wps_wgm_elementor .single_add_to_cart_button:hover {
    background: #0a2944 !important;
}

/* ── Quantité input ────────────────────────────────────────────── */
.wps_wgm_elementor .quantity .qty {
    font-family: "DM Sans", sans-serif !important;
    font-size: 15px !important;
    border: 1.5px solid #ddd !important;
    border-radius: 10px !important;
    padding: 10px !important;
    width: 60px !important;
    text-align: center !important;
}

/* ── Preview wrapper (sous l'image) ────────────────────────────── */
.wps_wgm_wrapper_for_preview {
    font-family: "DM Sans", sans-serif !important;
    padding: 20px !important;
}

.wps_wgm_wrapper_for_preview h2 {
    font-family: "DM Sans", sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0D345B !important;
    margin-bottom: 12px !important;
}

.wps_wgm_wrapper_for_preview h2 span {
    float: right !important;
    color: #E7C141 !important;
}

.wps_wgm_wrapper_for_preview p {
    font-family: "DM Sans", sans-serif !important;
    font-size: 14px !important;
    color: #555 !important;
    margin-bottom: 4px !important;
}

.wps_wgm_wrapper_for_preview .wps_text_style {
    color: #888 !important;
}

/* ── Mobile ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .wps_wgm_added_wrapper .wps_wgm_delivery_method {
        padding: 14px 16px !important;
    }
}
