/* Shared editor layout: theme, own photo and course voucher. */
.cf-voucher-editor-page{position:relative}
.cf-voucher-editor-page>.breadcrumbs{padding-right:44px}
.cf-voucher-editor-page>.cf-product-wishbar{position:absolute;top:24px;right:0;margin:0}
.cf-voucher-editor-page .cf-voucher-intro{margin:0 0 28px;max-width:none}
.cf-voucher-editor-page .cf-voucher-intro h1{font-size:clamp(30px,3.5vw,46px);line-height:1.12;margin:10px 0 16px;overflow-wrap:break-word}
.cf-voucher-editor-page .cf-voucher-intro p{font-size:16px;line-height:1.65;margin:0;color:#706a7d;max-width:none}
.cf-voucher-editor-page .eyebrow{display:block;color:#248881;font-size:11px;line-height:1.5;letter-spacing:.08em;font-weight:700;margin:0}
.cf-voucher-editor-page .cf-course-gift-modebar{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin:0 0 32px}
.cf-voucher-editor-page :is(.cf-gp-modes,.cf-course-gift-other-modes){display:inline-flex;gap:5px;padding:4px;border:1px solid #e6dfe9;border-radius:30px;margin:0;background:#fff;width:auto}
.cf-voucher-editor-page :is(.cf-gp-modes button,.cf-course-gift-other-modes a){display:inline-flex;align-items:center;justify-content:center;border:0!important;border-radius:24px!important;min-height:44px;padding:11px 22px!important;font-family:inherit;font-size:14px!important;font-weight:400;line-height:22px;white-space:nowrap;text-decoration:none;background:#fff;color:#29213c}
.cf-voucher-editor-page .cf-gp-modes button[aria-pressed=true]{background:#ed3d8e;color:#fff}
.cf-voucher-editor-page .cf-course-gift-entry{min-height:44px;padding:10px 20px;font-size:14px;line-height:22px}
.cf-voucher-editor-page .cf-course-gift-mode-divider{font-size:25px;line-height:1;font-weight:300}
.cf-voucher-editor-page :is(.cf-gift-customizer,[data-gp-home]>.cf-gp-layout,.cf-course-gift-workspace){display:grid;grid-template-columns:minmax(0,1.52fr) minmax(320px,1fr);gap:32px;align-items:start}
.cf-voucher-editor-page :is(.cf-gift-builder-visual,[data-gp-home] .cf-gp-visual,.cf-course-gift-visual){min-width:0;max-width:none;width:100%;padding-top:0;margin:0}
.cf-voucher-editor-page .cf-voucher-preview-heading{margin:0 0 18px}
.cf-voucher-editor-page .cf-voucher-preview-heading h2{font-size:28px;line-height:1.2;margin:8px 0 10px}
.cf-voucher-editor-page .cf-voucher-preview-heading p{font-size:14px;line-height:1.65;margin:0;color:#706a7d}
.cf-voucher-editor-page :is(.cf-gift-live-stage,[data-gp-home] .cf-gp-stage,.cf-course-gift-preview-stage){border:1px solid #e6dfe9;border-radius:10px;padding:0;overflow:hidden;box-shadow:0 5px 18px #39283512;background:#fff7fa}
.cf-voucher-editor-page .cf-course-gift-preview{box-shadow:none}
.cf-voucher-editor-page :is(.cf-gift-builder-form>.cf-gp-controls,[data-gp-home] .cf-gp-controls,.cf-course-gift-controls){padding:28px;border:1px solid #e6dfe9;border-radius:12px;background:#fdf9fb;box-shadow:none;max-width:none;width:100%;margin:0}
.cf-voucher-editor-page :is(.cf-gift-builder-form>.cf-gp-controls,[data-gp-home] .cf-gp-controls,.cf-course-gift-controls)>h2{font-family:Georgia,serif;font-size:28px;line-height:1.2;margin:8px 0 24px}
.cf-voucher-mobile-motifs{display:none;min-width:0;width:100%}
.cf-voucher-photo-help{display:flex;align-items:start;gap:16px;justify-content:space-between;margin-top:14px}
.cf-voucher-photo-help p{font-size:12px;line-height:1.65;margin:0;color:#706a7d}
.cf-voucher-photo-help button{flex-shrink:0}
@media(max-width:1050px){
 .cf-voucher-editor-page :is(.cf-gift-customizer,[data-gp-home]>.cf-gp-layout,.cf-course-gift-workspace){grid-template-columns:minmax(0,1.2fr) minmax(300px,1fr);gap:24px}
 .cf-voucher-editor-page :is(.cf-gift-builder-form>.cf-gp-controls,[data-gp-home] .cf-gp-controls,.cf-course-gift-controls){padding:23px}
}
@media(max-width:800px){
 .cf-voucher-editor-page :is(.cf-gift-customizer,[data-gp-home]>.cf-gp-layout,.cf-course-gift-workspace){grid-template-columns:minmax(0,1fr);gap:28px}
 .cf-voucher-editor-page :is(.cf-gp-modes,.cf-course-gift-other-modes){width:auto}
 .cf-voucher-editor-page .cf-voucher-mobile-motifs:not([hidden]){display:block}
 .cf-voucher-mobile-motifs>h2{font-family:inherit;font-size:14px;line-height:1.5;letter-spacing:0;font-weight:600;margin:0 0 12px}
 .cf-voucher-mobile-motifs .cf-course-gift-themes{margin:0}
 .cf-voucher-mobile-motifs .cf-course-gift-themes legend{font-size:14px;line-height:1.5;margin-bottom:12px}
 .cf-voucher-mobile-motifs .cf-gift-filter{display:flex;flex-wrap:nowrap;gap:7px;overflow-x:auto;margin:0 0 12px;padding:2px 1px 8px;overscroll-behavior-x:contain}
 .cf-voucher-mobile-motifs .cf-gift-filter button{flex:0 0 auto;white-space:nowrap}
 .cf-voucher-mobile-motifs :is(.cf-gift-thumb-grid,.cf-gp-layouts){display:flex;gap:10px;overflow-x:auto;margin:0;padding:3px 2px 12px;scroll-snap-type:x proximity;overscroll-behavior-x:contain}
 .cf-voucher-mobile-motifs .cf-gift-thumb{flex:0 0 132px;scroll-snap-align:start}
 .cf-voucher-mobile-motifs .cf-gift-thumb strong{font-size:11px;line-height:1.4;padding-top:7px}
 .cf-voucher-mobile-motifs .cf-gift-thumb:focus-within{outline:3px solid #278c83;outline-offset:-1px}
 .cf-voucher-mobile-motifs .cf-gp-layouts button{flex:0 0 132px;scroll-snap-align:start}
}
@media(max-width:700px){
 .cf-voucher-editor-page .cf-voucher-intro h1{font-size:31px}
 .cf-voucher-editor-page .cf-voucher-intro p{font-size:14px}
 .cf-voucher-editor-page .cf-course-gift-modebar{gap:10px;margin-bottom:28px}
 .cf-voucher-editor-page :is(.cf-gp-modes,.cf-course-gift-other-modes){display:flex;width:100%}
 .cf-voucher-editor-page :is(.cf-gp-modes button,.cf-course-gift-other-modes a){flex:1;min-width:0;padding:10px 8px!important;font-size:12px!important;line-height:20px;white-space:normal}
 .cf-voucher-editor-page .cf-course-gift-mode-divider{display:none}
 .cf-voucher-editor-page .cf-course-gift-entry{font-size:13px;min-height:44px;padding:10px 18px}
 .cf-voucher-editor-page .cf-voucher-preview-heading h2{font-size:24px}
 .cf-voucher-editor-page :is(.cf-gift-builder-form>.cf-gp-controls,[data-gp-home] .cf-gp-controls,.cf-course-gift-controls){padding:22px 18px}
 .cf-voucher-photo-help{flex-direction:column;gap:10px}
}
