.gift-background { padding:20px; border:1px solid #d6c6b7; border-radius:7px; background:#f0e7de; color:#513c31 }
.gift-background-heading { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:14px }
.gift-background-heading h3 { margin:0; font:400 24px/1.15 Georgia,serif }
.gift-background-heading>span { color:#796759; font:500 10px/1.4 Arial,sans-serif; text-transform:uppercase; letter-spacing:.12em }
.gift-main .gift-background-upload { display:grid; gap:9px; font-size:13px; font-weight:500 }
.gift-main .gift-background input[type=file] { width:100%; min-height:45px; padding:0; border:1px solid #c7b4a3; border-radius:4px; background:#fffdf9; color:#6d5849; font:400 12px/1.5 Arial,sans-serif }
.gift-background input[type=file]::file-selector-button { min-height:43px; margin-right:10px; padding:10px 13px; border:0; border-right:1px solid #c7b4a3; background:#e4d4c5; color:#513c31; font:500 12px/1.5 Arial,sans-serif; cursor:pointer }
.gift-background-help,.gift-background-local,.gift-background-status { margin:9px 0 0; font:400 11px/1.65 Arial,sans-serif; color:#736052; overflow-wrap:anywhere }
.gift-background-local { padding-top:13px; margin-top:13px; border-top:1px solid #d6c6b7 }
.gift-background-status:empty { display:none }
.gift-background-status.is-error { color:#963d2c }
.gift-background-editor { display:grid; gap:16px; margin-top:19px; padding-top:18px; border-top:1px solid #d6c6b7 }
.gift-background-sliders { display:grid; gap:14px }
.gift-main .gift-background-sliders label { display:grid; gap:6px; color:#5b4436; font-size:12px; font-weight:400 }
.gift-main .gift-background input[type=range] { width:100%; height:22px; min-height:0; padding:0; border:0; background:transparent; accent-color:#805140; cursor:pointer }
.gift-main .gift-background-contrast { display:flex; flex-wrap:wrap; gap:10px 23px; margin:0; padding:0; border:0 }
.gift-main .gift-background-contrast legend { margin-bottom:9px; font-size:12px; font-weight:500 }
.gift-main .gift-background-contrast label,.gift-main .gift-background-soften { display:flex; align-items:center; gap:8px; margin:0; font-size:12px; font-weight:400; line-height:1.6 }
.gift-main .gift-background input[type=radio],.gift-main .gift-background input[type=checkbox] { width:17px; height:17px; min-height:0; padding:0; margin:0; accent-color:#805140; flex:0 0 auto }
.gift-background .gift-text-button { margin-top:9px; min-height:38px; font-size:11px }
.gift-background input:disabled { opacity:.55; cursor:not-allowed }
@media(max-width:480px) { .gift-background { padding:17px } .gift-background-heading h3 { font-size:23px } }

.gift-main .gift-background-consent { display:flex;align-items:flex-start;gap:9px;margin:12px 0;font-size:12px;line-height:1.55; }
.gift-main .gift-background-consent input { flex:0 0 auto;margin-top:2px; }
[dir=rtl] .gift-background input[type=file]::file-selector-button { margin-right:0;margin-left:10px;border-right:0;border-left:1px solid #c7b4a3; }
