/* ============================================================
   HILO Care — Gift Card fields CSS v2.1
   !important systématique pour écraser Elementor / WooCommerce
   ============================================================ */

/* ── Wrapper ── */
.hilo-gc-wrap {
    margin: 24px 0 16px;
    font-family: 'Work Sans', sans-serif;
}

/* ── Notice inline ── */
.hilo-gc-notice {
    padding: 10px 16px;
    margin-bottom: 16px;
    font-size: 13px !important;
    font-weight: 300 !important;
    line-height: 1.6;
    border-radius: 0 !important;
}
.hilo-gc-notice-error {
    background: #fafafa !important;
    border-left: 2px solid #2F2F2F !important;
    color: #2F2F2F !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
}

/* ── Labels de section ── */
.hilo-gc-block {
    margin-bottom: 28px;
}
.hilo-gc-block-title {
    font-family: 'Work Sans', sans-serif !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: #999 !important;
    margin-bottom: 12px !important;
}
.hilo-gc-hint {
    font-size: 13px !important;
    font-weight: 300 !important;
    color: #999 !important;
    line-height: 1.6 !important;
    margin: 0 0 14px !important;
    font-style: normal !important;
}

/* ══════════════════════════════════════
   BOUTONS MONTANT
   ══════════════════════════════════════ */
.hilo-gc-amounts-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
}
.hilo-gc-amount {
    font-family: 'Work Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    color: #2F2F2F !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 0.8px solid #D0CBC4 !important;
    padding: 10px 20px !important;
    cursor: pointer !important;
    transition: border-color .15s ease, background .15s ease, color .15s ease !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    display: inline-block !important;
    line-height: 1 !important;
}
.hilo-gc-amount:hover {
    border-color: #2F2F2F !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #2F2F2F !important;
}
.hilo-gc-amount.hilo-active {
    background: #2F2F2F !important;
    background-color: #2F2F2F !important;
    color: #ffffff !important;
    border-color: #2F2F2F !important;
}

/* ── Montant libre ── */
.hilo-gc-custom-row {
    margin-top: 8px;
}
.hilo-gc-custom-input {
    font-family: 'Work Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    color: #2F2F2F !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 0.8px solid #D0CBC4 !important;
    padding: 10px 14px !important;
    width: 220px !important;
    outline: none !important;
    border-radius: 0 !important;
    -webkit-appearance: none !important;
    box-shadow: none !important;
}
.hilo-gc-custom-input:focus {
    border-color: #2F2F2F !important;
    box-shadow: none !important;
    color: #2F2F2F !important;
    background: #ffffff !important;
}
.hilo-gc-input-error {
    border-color: #2F2F2F !important;
    background: #f9f9f9 !important;
}

/* ══════════════════════════════════════
   BOUTONS ZONE / LIVRAISON
   ══════════════════════════════════════ */
.hilo-gc-type-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
}

.hilo-gc-type {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 5px !important;
    font-family: 'Work Sans', sans-serif !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 0.8px solid #D0CBC4 !important;
    padding: 18px 20px !important;
    cursor: pointer !important;
    transition: border-color .15s ease, background .15s ease !important;
    text-align: left !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    position: relative !important;
    width: 100% !important;
    -webkit-appearance: none !important;
}
.hilo-gc-type:hover {
    border-color: #2F2F2F !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
}

/* ── État NON sélectionné : texte sombre sur fond blanc ── */
.hilo-gc-type .hilo-gc-type-label {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #2F2F2F !important;
    line-height: 1 !important;
    transition: color .15s !important;
}
.hilo-gc-type .hilo-gc-type-sub {
    font-size: 12px !important;
    font-weight: 300 !important;
    color: #aaa !important;
    line-height: 1.4 !important;
    transition: color .15s !important;
}

/* ── État SÉLECTIONNÉ : fond sombre, texte blanc ── */
.hilo-gc-type.hilo-active {
    background: #2F2F2F !important;
    background-color: #2F2F2F !important;
    border-color: #2F2F2F !important;
}
.hilo-gc-type.hilo-active .hilo-gc-type-label {
    color: #ffffff !important;
}
.hilo-gc-type.hilo-active .hilo-gc-type-sub {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Point indicateur quand sélectionné */
.hilo-gc-type.hilo-active::after {
    content: '' !important;
    position: absolute !important;
    top: 14px !important;
    right: 16px !important;
    width: 6px !important;
    height: 6px !important;
    background: #ffffff !important;
    border-radius: 50% !important;
    opacity: 0.6 !important;
}

/* ══════════════════════════════════════
   CHAMPS TEXTE / EMAIL / TEXTAREA
   ══════════════════════════════════════ */
.hilo-gc-field {
    margin-bottom: 14px;
}
.hilo-gc-field label {
    display: block !important;
    font-family: 'Work Sans', sans-serif !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #666 !important;
    margin-bottom: 7px !important;
}
.hilo-req {
    color: #2F2F2F !important;
    font-weight: 600 !important;
}
.hilo-opt {
    color: #bbb !important;
    font-weight: 300 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 11px !important;
}

/* Inputs et textarea */
.hilo-gc-field input[type="text"],
.hilo-gc-field input[type="email"],
.hilo-gc-field textarea {
    width: 100% !important;
    font-family: 'Work Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    color: #2F2F2F !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 0.8px solid #D0CBC4 !important;
    padding: 11px 14px !important;
    border-radius: 0 !important;
    outline: none !important;
    transition: border-color .15s ease !important;
    -webkit-appearance: none !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}
.hilo-gc-field input[type="text"]:focus,
.hilo-gc-field input[type="email"]:focus,
.hilo-gc-field textarea:focus {
    border-color: #2F2F2F !important;
    box-shadow: none !important;
    color: #2F2F2F !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    outline: none !important;
}

/* Placeholder */
.hilo-gc-field input::placeholder,
.hilo-gc-field textarea::placeholder {
    color: #bbb !important;
    font-weight: 300 !important;
    opacity: 1 !important;
}

.hilo-gc-field textarea {
    resize: vertical !important;
    min-height: 88px !important;
    line-height: 1.6 !important;
}
.hilo-gc-charcount {
    font-size: 11px !important;
    font-weight: 300 !important;
    color: #bbb !important;
    text-align: right !important;
    margin-top: 4px !important;
}

/* ── Ligne postcode + ville ── */
.hilo-gc-field-row {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}
.hilo-gc-field-row .hilo-gc-field { margin-bottom: 0; }
.hilo-gc-field-sm { flex: 0 0 120px; }
.hilo-gc-field-lg { flex: 1; }

/* ── Responsive ── */
@media (max-width: 600px) {
    .hilo-gc-type-grid    { grid-template-columns: 1fr !important; }
    .hilo-gc-custom-input { width: 100% !important; }
    .hilo-gc-field-row    { flex-direction: column; }
    .hilo-gc-field-sm     { flex: none; }
}
