/* =============================================================================
   Bon Cadeau — gift a soin. Two-column (visual + form), brand palette.
   Loaded automatically for page slug "bon-cadeau" (page_css).
   ========================================================================== */

.giftcard-section { padding: 24px 0 90px; }
.giftcard-section .gift-row { max-width: 1280px; margin: 0 auto; align-items: stretch; }

/* ── Left visual ─────────────────────────────────────────────────────────── */
.gift-visual-col { padding: 0 24px 30px; }
.gift-visual {
    position: relative; height: 100%; min-height: 540px; max-height: 550px;
    overflow: hidden; background: #889FC1;
    display: flex; align-items: center; justify-content: center;
}
.gift-visual-inner {
    width: 80%; max-width: 470px; aspect-ratio: 1 / 1; background: #f3f1ec;
    display: flex; flex-direction: column; align-items: center; justify-content: space-evenly;
    gap: 24px; padding: 30px; text-align: center;
}
.gift-visual-inner svg {
    color: #889FC1;
    font-size: 60px;
}
.gift-visual-icon { width: 86px; height: auto; }
.gift-visual-title { font-size: 55px; line-height: 0.94; letter-spacing: 4px; color: #1d3c34; }
.gift-visual-logo { width: 200px; height: auto; margin-top: 6px; }

/* ── Right form ──────────────────────────────────────────────────────────── */
.gift-form-col { padding: 0 24px; }
.gift-title { font-size: 44px; line-height: 1.05; color: #1d3c34; margin: 0 0 14px; }
.gift-intro {
    font-family: "Hero New Light"; font-size: 15px; line-height: 26px;
    color: #6f6f6f; margin: 0 0 30px; max-width: 540px;
}

.gift-field { margin-bottom: 22px; }
.gift-field > label {
    display: block; font-family: "Hero New Light"; font-size: 12px; letter-spacing: 2px;
    text-transform: uppercase; color: #1d3c34; margin-bottom: 10px;
}

.gift-select-wrap { position: relative; }
.gift-select-wrap::after {
    content: ""; position: absolute; right: 20px; top: 50%;
    width: 9px; height: 9px; border-right: 2px solid #889FC1; border-bottom: 2px solid #889FC1;
    transform: translateY(-65%) rotate(45deg); pointer-events: none;
}

.gift-select, .gift-input, .gift-textarea {
    width: 100%; border: 1px solid #d8dde6; padding: 15px 18px;
    font-family: "Hero New Light"; font-size: 15px; color: #3f3f3f; background: #fff;
}
.gift-select { -webkit-appearance: none; -moz-appearance: none; appearance: none; padding-right: 44px; cursor: pointer; }
.gift-textarea { resize: vertical; min-height: 130px; }
.gift-select:focus, .gift-input:focus, .gift-textarea:focus { outline: none; border-color: #889FC1; }
.gift-input::placeholder, .gift-textarea::placeholder { color: #b2b2b2; font-style: italic; }
.gift-hint { display: block; margin-top: 8px; font-family: "Hero New Light"; font-size: 12px; color: #9a9a9a; }
.gift-optional { text-transform: none; letter-spacing: 0; color: #b2b2b2; font-size: 11px; }

/* Delivery target (bénéficiaire / moi-même) */
.gift-radios { display: flex; flex-direction: column; gap: 10px; }
.gift-radio { display: flex; align-items: center; gap: 10px; font-family: "Hero New Light"; font-size: 14px; color: #3f3f3f; cursor: pointer; }
.gift-radio input { accent-color: #1d3c34; flex: none; }
.gift-radio em { font-style: normal; color: #9a9a9a; }
.gift-recipient-only[hidden] { display: none; }

.gift-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.gift-price-row {
    display: flex; align-items: baseline; justify-content: space-between;
    padding: 14px 0 22px; border-bottom: 1px solid #ececec; margin-bottom: 26px;
}
.gift-price-label { font-family: "Hero New Light"; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: #6f6f6f; }
.gift-price-value { font-family: "FreightBig Pro"; font-size: 30px; color: #1d3c34; }

.gift-error { color: #c0392b; font-family: "Hero New Light"; font-size: 14px; margin: 0 0 14px; display: none; }
.gift-error.is-shown { display: block; }

.gift-success { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 14px 18px; background: #eef3ec; border-left: 3px solid #1d3c34; border-radius: 0 6px 6px 0; font-family: "Hero New Light"; }
.gift-success[hidden] { display: none; }
.gift-success i { color: #1d7a4d; font-size: 18px; flex: none; }
.gift-success-text { font-size: 14px; color: #1d3c34; }
.gift-success-link { margin-left: auto; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: #1d3c34; text-decoration: underline; white-space: nowrap; }
.gift-success-link:hover { color: #16302a; }

.gift-submit {
    display: inline-flex; align-items: center; gap: 12px; background: #1d3c34; color: #fff;
    border: none; padding: 18px 42px; cursor: pointer;
    font-family: "Hero New Light"; font-size: 14px; letter-spacing: 2px; text-transform: uppercase;
    transition: background .2s ease;
}
.gift-submit:hover { background: #16302a; }
.gift-submit.is-loading { opacity: .65; pointer-events: none; }
.gift-submit-ico { width: 22px; height: auto; filter: brightness(0) invert(1); }

.gift-footnote {
    display: flex; align-items: center; gap: 12px; margin-top: 26px;
    font-family: "Hero New Light"; font-size: 12px; letter-spacing: 1px; color: #6f6f6f;
}
.gift-empty { font-family: "Hero New Light"; font-size: 16px; color: #6f6f6f; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1199px) {
    .giftcard-section { padding: 210px 0 90px; }
}
@media (max-width: 991px) {
    .gift-visual { min-height: 400px; }
    .gift-visual-title { font-size: 54px; }
    .gift-form-col { padding-top: 10px; }

}
@media (max-width: 767px) {
    .gift-grid { grid-template-columns: 1fr; }
    .gift-title { font-size: 34px; }
    .gift-visual-title { font-size: 46px; }
    .gift-visual-inner { width: 86%; }
}
