@font-face{font-family:RFCPlayfair;src:url(../assets/fonts/Arvo-Bold.ttf) format("truetype");font-weight:900;font-display:swap}@font-face{font-family:RFCArchivo;src:url(../assets/fonts/ArchivoBlack-Regular.ttf) format("truetype");font-weight:900;font-display:swap}

@font-face{font-family:NikkelHand;src:url(../assets/Sacramento.ttf) format("truetype");font-display:swap}
#rfc-page{font-family:Arial,Helvetica,sans-serif;color:#292b32;background:#f5f7fa}#rfc-page *{box-sizing:border-box}#rfc-page{margin:0}#rfc-page button,#rfc-page input,#rfc-page select{font:inherit}#rfc-page button{cursor:pointer}#rfc-page .promo{height:31px;background:#232433;color:#fff;font-size:11px;display:flex;align-items:center;justify-content:center;letter-spacing:.03em}#rfc-page .nav{height:67px;background:#fff;display:flex;align-items:center;padding:0 max(28px,calc((100vw - 1400px)/2));border-bottom:1px solid #e0e2e6}#rfc-page .logo{font-size:28px;letter-spacing:-.08em;font-weight:300;color:#262731}#rfc-page .logo b{font-family:Georgia,serif;color:#aa2a34;font-style:italic;font-weight:700;letter-spacing:-.09em;margin-left:3px}#rfc-page .nav-note{margin-left:auto;font-size:12px;color:#6b6d74}#rfc-page .shell{max-width:1440px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 435px;min-height:calc(100vh - 98px)}#rfc-page .showcase{padding:34px 40px 60px;background:#f5f7fa}#rfc-page .form{background:#fff;border-left:1px solid #e3e5e9;padding:44px 38px 80px}#rfc-page .eyebrow{color:#7c7f88;letter-spacing:.15em;text-transform:uppercase;font-size:11px;font-weight:700}#rfc-page .showcase h1{font-family:Georgia,serif;font-size:44px;line-height:1.11;letter-spacing:-.04em;font-weight:400;margin:12px 0 13px}#rfc-page .intro{font-size:15px;line-height:1.6;color:#656873;max-width:680px;margin:0 0 21px}#rfc-page .hero-preview{background:#eef1f5;border:1px solid #e4e7eb;padding:22px;min-height:400px;display:grid;place-items:center}#rfc-page .hero-preview .paper{border:8px solid #fff;box-shadow:0 20px 42px #24263526,0 0 0 1px #dfe1e3}#rfc-page .paper{position:relative;width:min(100%,650px);aspect-ratio:1.5;background:#fff;box-shadow:0 14px 32px #24263524,0 0 0 1px #e5e5e5;overflow:hidden}#rfc-page .slot{position:absolute;background:#fff;overflow:hidden}#rfc-page .slot-num{display:none}#rfc-page .slot.circle{border-radius:50%}#rfc-page .slot.diamond{clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}#rfc-page .slot.hex{clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)}#rfc-page .heart-photos,#rfc-page .letter-photos{position:absolute;inset:0}#rfc-page .heart-photos{clip-path:polygon(50% 26%,60% 6%,76% 6%,91% 17%,96% 35%,88% 55%,50% 90%,12% 55%,4% 35%,9% 17%,24% 6%,40% 6%)}#rfc-page .kind-film:before{content:"";position:absolute;left:0;top:12%;width:100%;height:58%;background:#202126}#rfc-page .kind-film:after{content:"";position:absolute;z-index:2;pointer-events:none;left:0;top:13.5%;width:100%;height:55%;background:repeating-linear-gradient(90deg,#fff 0 1.35%,transparent 1.35% 3.2%) top/100% 5.5% no-repeat,repeating-linear-gradient(90deg,#fff 0 1.35%,transparent 1.35% 3.2%) bottom/100% 5.5% no-repeat}#rfc-page .kind-film .slot{z-index:1}#rfc-page .kind-film .paper-title{z-index:3}#rfc-page .hero-preview .paper.kind-film{border-left:0;border-right:0}#rfc-page .kind-film.no-title:before{top:12%;height:76%}#rfc-page .kind-film.no-title:after{top:13.5%;height:73%}#rfc-page .kind-scrapbook .slot{border:4px solid #fff;box-shadow:0 4px 9px #0003}#rfc-page .kind-scrapbook .scrapbook-title-card{position:absolute;background:#fff;box-shadow:0 4px 12px #0002;transform:rotate(-3deg);z-index:3}#rfc-page .kind-scrapbook .scrapbook-title-card .paper-title{z-index:1;padding:4px}#rfc-page .kind-scrapbook .scrapbook-title-card .ornament-on-paper{z-index:2}#rfc-page .kind-tree .slot{border:3px solid #fff;box-shadow:0 3px 8px #0002}#rfc-page .kind-scrapbook .slot:nth-child(odd){transform:rotate(-4deg)}#rfc-page .kind-scrapbook .slot:nth-child(even){transform:rotate(4deg)}#rfc-page .kind-stairs .slot{border:3px solid #fff;box-shadow:0 2px 6px #0002}#rfc-page .kind-seasons:after{content:"";position:absolute;left:34%;top:34%;width:32%;height:32%;border-radius:50%;background:#fff;z-index:1}#rfc-page .kind-seasons .paper-title{z-index:2}#rfc-page .slot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}#rfc-page .paper-title{position:absolute;font-family:NikkelHand,"Segoe Script",cursive;color:#2e3035;font-size:clamp(14px,2.2vw,28px);line-height:1.15;text-align:center;letter-spacing:0;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:visible}#rfc-page .paper-title span{white-space:nowrap;max-width:100%}#rfc-page .template-name{display:flex;justify-content:space-between;align-items:baseline;margin-top:20px}#rfc-page .template-name strong{font-family:Georgia,serif;font-size:23px;font-weight:400}#rfc-page .template-name span{color:#71747c;font-size:13px}#rfc-page .subline{font-size:13px;color:#6b6e77;margin-top:7px}#rfc-page .product-assurance{display:flex;gap:26px;border-top:1px solid #e1e4e8;margin-top:26px;padding-top:17px;color:#747780;font-size:11px}#rfc-page .product-assurance span:before{content:"✓";color:#a92b35;margin-right:7px}#rfc-page .gallery-head{display:flex;justify-content:space-between;align-items:center;margin:0 0 13px}#rfc-page .gallery-head h2{font-family:Georgia,serif;font-weight:400;font-size:21px;margin:0}#rfc-page .gallery-head span{font-size:12px;color:#777a83}#rfc-page .filters{display:flex;gap:7px;flex-wrap:wrap;margin:-2px 0 17px}#rfc-page .filters button{border:1px solid #d6d9df;background:#fff;padding:8px 11px;color:#555963;font-size:11px}#rfc-page .filters button.active{border-color:#a92b35;color:#a92b35}#rfc-page .template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:470px;overflow-y:auto;padding:2px 4px 18px 2px;scroll-padding-bottom:18px;scrollbar-color:#c9cbd0 transparent;scrollbar-width:thin}#rfc-page .template-grid:after{content:"Alle ontwerpen bekeken";grid-column:1/-1;display:block;margin-top:5px;padding:14px 4px 3px;border-top:1px solid #e1e4e8;color:#8a8d95;font-size:10px;letter-spacing:.08em;text-align:center;text-transform:uppercase}#rfc-page .template{border:1px solid #e0e2e7;background:#fff;padding:7px;text-align:left;transition:border-color .15s,box-shadow .15s}#rfc-page .template:hover{border-color:#9da1aa}#rfc-page .template.active{border:2px solid #a92b35;padding:6px;box-shadow:0 0 0 3px #a92b3514}#rfc-page .template .paper{width:100%;box-shadow:none;border:1px solid #e8e8e8}#rfc-page .template .slot-num{font-size:13px}#rfc-page .template .paper-title{font-size:10px}#rfc-page .template strong{display:block;font-family:Georgia,serif;font-size:13px;font-weight:400;margin:7px 1px 3px}#rfc-page .template small{color:#858791;font-size:10px}#rfc-page .design-step{margin-bottom:22px}#rfc-page .change-design{display:block;border:0;background:none;color:#a52a34;font-size:12px;font-weight:700;padding:10px 0 0;text-decoration:underline}#rfc-page .form{position:sticky;top:0;height:calc(100vh - 98px);overflow-y:auto}#rfc-page .form h2{font-family:Georgia,serif;font-size:28px;font-weight:400;line-height:1.2;margin:8px 0 20px}#rfc-page .steps{display:flex;border-bottom:1px solid #e2e4e8;gap:4px;margin-bottom:28px}#rfc-page .steps span{flex:1;font-size:10px;color:#a0a2a9;padding:0 0 13px;text-transform:uppercase;letter-spacing:.04em}#rfc-page .steps span.active{color:#a52a34;border-bottom:2px solid #a52a34}#rfc-page .steps b{display:inline-grid;place-items:center;border:1px solid currentColor;border-radius:50%;width:21px;height:21px;font-size:11px;margin-right:4px}#rfc-page .block{border-top:1px solid #e7e8eb;margin-top:28px;padding-top:24px}#rfc-page .block:first-of-type{border:0;margin-top:0;padding-top:0}#rfc-page .label{display:block;text-transform:uppercase;font-size:11px;font-weight:700;letter-spacing:.06em;margin:0 0 10px;color:#34363d}#rfc-page .muted{color:#787b83;font-size:12px;line-height:1.5}#rfc-page .selected{padding:15px;border:1px solid #e2e4e9;background:#f8f9fa;margin-bottom:20px}#rfc-page .selected strong{font-family:Georgia,serif;font-size:19px;font-weight:400}#rfc-page .selected span{font-size:12px;color:#7a7d86;float:right}#rfc-page .file{display:block;position:relative;border:1px dashed #aeb1ba;background:#fafbfc;padding:27px 18px;text-align:center;cursor:pointer}#rfc-page .file strong{display:block;margin-bottom:5px}#rfc-page .file input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}#rfc-page .warning{color:#a52a34;font-size:12px;min-height:18px;margin-top:10px}#rfc-page .field{width:100%;height:46px;border:1px solid #d7d9df;padding:0 13px;background:white;color:#292b32}#rfc-page .field:focus{outline:2px solid #b5444c;outline-offset:1px}#rfc-page .caption-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px}#rfc-page .caption-fields label{font-size:11px;color:#6f727b}#rfc-page .caption-fields input{height:39px;margin-top:5px}#rfc-page .sizes{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}#rfc-page .sizes.four{grid-template-columns:repeat(2,1fr)}#rfc-page .sizes button,#rfc-page .colors button{background:#fff;border:1px solid #d7d9df;padding:10px 5px;font-size:12px}#rfc-page .sizes button.active,#rfc-page .colors button.active{border-color:#aa2a34;color:#a52a34;box-shadow:inset 0 0 0 1px #aa2a34}#rfc-page .colors{display:flex;gap:7px}#rfc-page .colors button{padding:10px 15px}#rfc-page .dimensions{display:grid;grid-template-columns:1fr 1fr;gap:10px}#rfc-page .primary{width:100%;background:#ae2c36;color:#fff;border:0;padding:16px;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;margin-top:22px}#rfc-page .primary:disabled{opacity:.5;cursor:wait}#rfc-page .download{display:none;text-align:center;color:#a52a34;font-size:13px;font-weight:700;margin-top:18px}#rfc-page .status{min-height:20px;color:#5e626b;font-size:12px;margin-top:14px}#rfc-page .placeholder-note{text-align:center;color:#898c95;font-size:12px;margin-top:16px}#rfc-page .hidden{display:none!important}@media(max-width:1080px){#rfc-page .shell{grid-template-columns:1fr}#rfc-page .form{order:-1;position:static;height:auto;overflow:visible;border-left:0;border-bottom:1px solid #e3e5e9;padding:28px}#rfc-page .showcase{order:2;padding:30px}#rfc-page .template-grid{grid-template-columns:repeat(3,1fr);max-height:400px}}@media(max-width:650px){#rfc-page .showcase,#rfc-page .form{padding:26px 18px}#rfc-page .showcase h1{font-size:34px}#rfc-page .hero-preview{padding:15px;min-height:270px}#rfc-page .template-grid{grid-template-columns:repeat(2,1fr);max-height:320px}#rfc-page .product-assurance{flex-wrap:wrap;gap:10px}#rfc-page .nav{padding:0 18px}#rfc-page .nav-note{display:none}}

#rfc-page .step-actions{display:grid;grid-template-columns:1fr 1.5fr;gap:8px;margin-top:22px}#rfc-page .step-actions .primary{margin-top:0}#rfc-page .secondary{border:1px solid #cfd2d9;background:#fff;color:#555963;padding:13px 10px;font-size:12px;font-weight:700}#rfc-page .back-step{margin-bottom:20px}#rfc-page .caption-fields label{display:grid;grid-template-columns:50px 1fr;column-gap:8px;align-items:center}#rfc-page .caption-fields label>span{grid-column:1/-1}#rfc-page .caption-thumb{width:50px;height:50px;object-fit:cover;border:1px solid #d7d9df;margin-top:5px}#rfc-page .caption-fields input{min-width:0}
#rfc-page .slot-number-layer{position:absolute;inset:0;z-index:30;pointer-events:none}#rfc-page .preview-photo-hitbox{position:absolute;z-index:1;margin:0;padding:0;border:2px solid transparent;background:transparent;color:#a52a34;pointer-events:auto;cursor:grab}#rfc-page .preview-photo-hitbox:active{cursor:grabbing}#rfc-page .preview-photo-hitbox:hover,#rfc-page .preview-photo-hitbox:focus-visible{border-color:#fff;box-shadow:inset 0 0 0 2px #aa2a34;outline:0}#rfc-page .preview-photo-hitbox.dragging{opacity:.45}#rfc-page .preview-photo-hitbox.drop-target{border-color:#fff;background:#aa2a3426;box-shadow:inset 0 0 0 3px #aa2a34}#rfc-page .preview-photo-hitbox.is-static{pointer-events:none}#rfc-page .preview-slot-number{position:absolute;left:9px;top:9px;display:grid;place-items:center;width:clamp(18px,3.4cqw,25px);aspect-ratio:1;border:1.5px solid #aa2a34;border-radius:50%;background:#fffffff0;color:#a52a34;box-shadow:0 1px 5px #0004;font:700 clamp(9px,1.8cqw,12px)/1 Arial,sans-serif;pointer-events:none}#rfc-page .preview-photo-hitbox.shape-hex .preview-slot-number{left:25%;top:8%}#rfc-page .preview-photo-hitbox.shape-circle .preview-slot-number{left:15%;top:13%}#rfc-page .preview-photo-hitbox.shape-diamond .preview-slot-number,#rfc-page .preview-photo-hitbox.shape-poly .preview-slot-number{left:22%;top:15%}#rfc-page .template .slot-number-layer{display:none}
#rfc-page .upload-arrow{display:grid;place-items:center;width:44px;height:44px;margin:0 auto 10px;border:2px solid #aa2a34;border-radius:50%;color:#aa2a34;background:#fff;font-size:29px;line-height:1;transition:transform .18s,background .18s,color .18s}#rfc-page .file:hover .upload-arrow,#rfc-page .file:focus-within .upload-arrow{transform:translateY(-3px);background:#aa2a34;color:#fff}#rfc-page .file{transition:border-color .18s,background .18s}#rfc-page .file:hover,#rfc-page .file:focus-within{border-color:#aa2a34;background:#fffafa}
#rfc-page .crop-list{grid-template-columns:1fr!important}#rfc-page .crop-item{position:relative;grid-template-columns:82px minmax(0,1fr)!important;min-height:98px;padding:8px!important;cursor:grab;transition:border-color .15s,box-shadow .15s,transform .15s}#rfc-page .crop-item:active{cursor:grabbing}#rfc-page .crop-item:hover{border-color:#9297a0;box-shadow:0 3px 10px #27293412}#rfc-page .crop-item img{width:82px!important;height:82px!important}#rfc-page .crop-item.is-selected{border-color:#84aa96;background:#f8fcf9;box-shadow:inset 4px 0 0 #2f6b4f}#rfc-page .crop-item.is-spare{background:#fff}#rfc-page .photo-choice{position:absolute;left:68px;top:5px;z-index:2;width:24px;height:24px;border:1px solid #aeb2ba;border-radius:50%;background:#fff;color:#686c74;font-weight:700;line-height:1;padding:0;box-shadow:0 1px 4px #0002}#rfc-page .photo-choice[aria-pressed="true"]{border-color:#2f6b4f;background:#2f6b4f;color:#fff}#rfc-page .photo-selection-state{display:inline-block!important;width:max-content;margin:1px 0 7px!important;padding:3px 7px;border-radius:999px;background:#e2f0e8;font-size:9px!important;font-weight:700;color:#2f6b4f!important}#rfc-page .crop-item.is-spare .photo-selection-state{background:#eef0f3;color:#656a72!important}#rfc-page .selection-help{grid-column:1/-1;font-size:11px;line-height:1.5;color:#50555e;background:#f5f7f8;border:1px solid #d9dde2;padding:11px}#rfc-page .auto-fill{margin:12px 0 2px;width:100%;border:1px solid #a52a34;background:#fff;color:#a52a34;padding:12px;font-size:12px;font-weight:700;text-transform:uppercase}#rfc-page .auto-fill:hover{background:#fff7f7}#rfc-page .crop-item.dragging{opacity:.45;transform:scale(.98)}#rfc-page .preview-photo-hitbox.photo-drop-target{border-color:#fff!important;background:#2f6b4f38!important;box-shadow:inset 0 0 0 4px #2f6b4f!important}@media(min-width:651px){#rfc-page .crop-item .photo-position{display:none}#rfc-page .crop-item .crop-edit{max-width:160px}#rfc-page .crop-list{grid-template-columns:1fr 1fr!important}#rfc-page .selection-help{grid-column:1/-1}}
#rfc-page .crop-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}#rfc-page .crop-item{display:block!important;position:relative;min-height:0!important;aspect-ratio:1.12;padding:0!important;overflow:hidden;cursor:grab;border:1px solid #d9dde2!important;background:#fff!important;box-shadow:none!important;transition:border-color .15s,box-shadow .15s,transform .15s}#rfc-page .crop-item:hover{border-color:#8f959e!important;box-shadow:0 4px 12px #2729341c!important}#rfc-page .crop-item img{display:block;width:100%!important;height:100%!important;object-fit:cover}#rfc-page .crop-item.is-selected{border:2px solid #2f6b4f!important}#rfc-page .photo-choice{position:absolute;left:7px;top:7px;z-index:3;width:29px;height:29px;border:1px solid #aeb2ba;border-radius:50%;background:#fff;color:#555b64;font-size:18px;font-weight:700;line-height:1;padding:0;box-shadow:0 2px 6px #0003}#rfc-page .photo-choice[aria-pressed="true"]{border-color:#2f6b4f;background:#2f6b4f;color:#fff}#rfc-page .crop-item>.remove-photo{position:absolute;right:7px;top:7px;z-index:3;width:29px;height:29px;padding:6px;border:0;background:#fffffff2;color:#626871;border-radius:2px;box-shadow:0 2px 6px #0002}#rfc-page .crop-item>.remove-photo:hover{color:#a52a34;background:#fff}#rfc-page .selection-help{grid-column:1/-1;font-size:11px;line-height:1.5;color:#50555e;background:#f5f7f8;border:1px solid #d9dde2;padding:11px}#rfc-page .auto-fill{margin:12px 0 2px;width:100%;border:1px solid #a52a34;background:#fff;color:#a52a34;padding:12px;font-size:12px;font-weight:700;text-transform:uppercase}#rfc-page .auto-fill:hover{background:#fff7f7}#rfc-page .crop-item.dragging{opacity:.45;transform:scale(.98)}#rfc-page .preview-photo-hitbox.photo-drop-target{border-color:#fff!important;background:#2f6b4f38!important;box-shadow:inset 0 0 0 4px #2f6b4f!important}#rfc-page .preview-photo-hitbox.empty-slot{pointer-events:auto;background:#fff!important;border:2px dashed #aeb3bb!important;box-shadow:inset 0 0 0 1px #fff!important}#rfc-page .preview-photo-hitbox.empty-slot.photo-drop-target{background:#e7f2eb!important;box-shadow:inset 0 0 0 4px #2f6b4f!important}#rfc-page .preview-photo-hitbox.empty-slot:after{content:"+";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:34px;height:34px;border:1px solid #aeb3bb;border-radius:50%;background:#fff;color:#777d85;font:400 24px/1 Arial}@media(max-width:650px){#rfc-page .crop-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
#rfc-page .upload-block-ready .file{display:flex;align-items:center;justify-content:center;gap:10px;padding:11px 14px;border-style:solid;background:#fff}#rfc-page .upload-block-ready .file .upload-arrow{width:28px;height:28px;font-size:21px;margin:0}#rfc-page .upload-block-ready .file strong{margin:0;font-size:12px;color:#a52a34}#rfc-page .upload-block-ready .file .muted{display:none}#rfc-page .upload-block-ready>.label{margin-bottom:8px}#rfc-page .upload-block-ready .crop-list{margin-top:12px}#rfc-page .photo-overflow{margin-top:16px!important}#rfc-page .overflow-toggle{width:100%;border:1px solid #cfd2d9;background:#fff;color:#a52a34;padding:9px 10px;text-align:left;font-size:11px;font-weight:700}#rfc-page .overflow-toggle:after{content:"+";float:right;font-size:16px;line-height:11px}#rfc-page .overflow-toggle[aria-expanded="true"]:after{content:"−"}#rfc-page .overflow-toggle+.overflow-templates{margin-top:7px}@media(max-width:650px){#rfc-page .upload-block-ready .file{justify-content:flex-start}#rfc-page .upload-block-ready .file strong{text-align:left}}
#rfc-page .product-grid{display:grid;gap:7px}#rfc-page .product-choice{display:grid;grid-template-columns:54px 1fr;gap:12px;align-items:center;border:1px solid #d7d9df;background:#fff;padding:11px;text-align:left;color:#292b32}#rfc-page .product-choice.active{border-color:#aa2a34;box-shadow:inset 0 0 0 1px #aa2a34;background:#fffafa}#rfc-page .product-icon{width:48px;height:42px;border:1px solid #bcc1c5;background:#f2f0eb;box-shadow:5px 5px 0 #e3ddd3}#rfc-page .product-choice[data-product="framed"] .product-icon{border:8px solid #252627;background:#f2f0eb;box-shadow:none}#rfc-page .product-choice[data-product="aluminium"] .product-icon{background:linear-gradient(135deg,#eef2f3,#c6ced1);box-shadow:none}#rfc-page .product-choice[data-product="plexiglas"] .product-icon{background:linear-gradient(135deg,#fff,#dcebed);box-shadow:4px 4px 0 #d7e2e4}#rfc-page .product-choice[data-product="poster"] .product-icon{background:#fff;box-shadow:3px 3px 0 #ddd}#rfc-page .product-choice strong{display:block;font-size:13px}#rfc-page .product-choice small{display:block;color:#777b82;font-size:10px;margin-top:3px;line-height:1.35}#rfc-page .size-section{margin-top:19px}#rfc-page .size-section .sizes{margin-top:8px}
#rfc-page .background-choices{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}#rfc-page .background-choice{border:0;background:none;padding:0;color:#35373d;font-size:9px;text-align:center}#rfc-page .background-choice .swatch{display:block;width:43px;height:43px;margin:0 auto 5px;border:1px solid #c8cdd0;border-radius:50%;background:var(--swatch)}#rfc-page .background-choice.active .swatch{outline:3px solid #aa2a34;outline-offset:2px}#rfc-page .background-choice.custom .swatch{position:relative;background:conic-gradient(red,#ff0,#0f0,#0ff,#00f,#f0f,red);border:3px solid #fff;box-shadow:0 0 0 2px #aa2a34}#rfc-page .background-choice.custom .swatch:after{content:"";position:absolute;inset:9px;border-radius:50%;background:var(--custom,#dcecf1);border:2px solid #fff}#rfc-page .custom-color-panel{margin-top:12px;padding:14px;background:#36383c;color:#fff;border-radius:10px}#rfc-page .custom-color-panel label{display:grid;gap:7px;font-size:11px;font-weight:700;margin-bottom:12px}#rfc-page .custom-color-panel input[type="range"]{width:100%;accent-color:#aa2a34}#rfc-page .hue-range{appearance:none;height:10px;border-radius:999px;background:linear-gradient(90deg,red,#ff0,#0f0,#0ff,#00f,#f0f,red)}#rfc-page .quick-colors{display:flex;justify-content:space-between;gap:7px}#rfc-page .quick-color{width:29px;height:29px;border:1px solid #ffffff88;border-radius:50%;background:var(--quick);padding:0}#rfc-page .quick-color:focus-visible{outline:2px solid #fff;outline-offset:2px}
#rfc-page .site-gallery,#rfc-page .materials-showcase{max-width:1440px;margin:0 auto;padding:72px 40px}#rfc-page .site-gallery{background:#fff}#rfc-page .section-kicker{text-transform:uppercase;letter-spacing:.15em;font-size:11px;font-weight:700;color:#a52a34}#rfc-page .site-gallery h2,#rfc-page .materials-showcase h2{font:400 36px/1.15 Georgia,serif;margin:10px 0}#rfc-page .section-intro{max-width:690px;color:#6c7078;line-height:1.6;margin:0 0 26px}#rfc-page .site-collage-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}#rfc-page .site-collage-card{border:1px solid #e0e2e6;background:#fff;padding:10px;text-align:left}#rfc-page .site-collage-card:hover{border-color:#aa2a34}#rfc-page .site-collage-card .paper{width:100%;box-shadow:none}#rfc-page .site-collage-card strong{display:block;font:400 17px Georgia,serif;margin-top:10px}#rfc-page .site-collage-card small{color:#777b82}#rfc-page .materials-showcase{background:#f4f5f6}#rfc-page .material-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}#rfc-page .material-card{background:#fff;border:1px solid #e0e2e6;padding:18px}#rfc-page .material-card .product-icon{margin-bottom:15px}#rfc-page .material-card h3{font-size:16px;margin:0 0 7px}#rfc-page .material-card p{font-size:11px;line-height:1.5;color:#747780;margin:0}@media(max-width:900px){#rfc-page .site-collage-grid{grid-template-columns:repeat(2,1fr)}#rfc-page .material-cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:520px){#rfc-page .site-gallery,#rfc-page .materials-showcase{padding:48px 18px}#rfc-page .site-collage-grid,#rfc-page .material-cards{grid-template-columns:1fr}#rfc-page .background-choices{grid-template-columns:repeat(3,1fr)}}


#rfc-page .ornament-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}#rfc-page .ornament-choice{min-height:76px;border:1px solid #d9dce1;background:#fff;color:#38343b;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:11px}#rfc-page .ornament-choice svg{width:30px;height:30px}#rfc-page .ornament-choice[aria-pressed="true"]{border-color:#a92b35;box-shadow:inset 0 0 0 1px #a92b35;background:#fff9f8}#rfc-page .ornament-choice:focus-visible{outline:2px solid #a92b35;outline-offset:2px}#rfc-page .ornament-on-paper{position:absolute;z-index:5;color:#38343b;overflow:visible;pointer-events:none}#rfc-page .paper{container-type:inline-size}#rfc-page .slot-caption{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background:#fff;color:#38343b;font-family:NikkelHand,cursive;font-size:clamp(6px,2.8cqw,23px);white-space:nowrap;overflow:hidden}#rfc-page .paper-subtitle{position:absolute;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;font-family:Georgia,serif;font-size:clamp(8px,2cqw,16px);line-height:1.15;color:#38343b;overflow:hidden}
#rfc-page .crop-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}#rfc-page .crop-item{display:grid;grid-template-columns:54px 1fr;gap:8px;align-items:center;border:1px solid #dde0e5;padding:7px;background:#fff}#rfc-page .crop-item img{width:54px;height:54px;object-fit:cover}#rfc-page .crop-item span{display:block;font-size:11px;color:#6f727b;margin-bottom:5px}#rfc-page .photo-position{width:100%;border:1px solid #cfd2d9;background:#fff;font-size:11px;padding:5px;margin-bottom:5px}#rfc-page .crop-edit{width:100%;border:1px solid #b7bac2;background:#fff;color:#34363d;font-size:11px;padding:6px 8px}#rfc-page .remove-photo{width:100%;border:0;background:none;color:#747780;font-size:10px;text-decoration:underline;padding:6px 0 0}#rfc-page .crop-modal{position:fixed;inset:0;z-index:50;background:#20232bcc;display:grid;place-items:center;padding:10px}#rfc-page .crop-dialog{width:min(560px,96vw);max-height:calc(100dvh - 20px);overflow:hidden;background:#fff;padding:16px;box-shadow:0 24px 60px #0005}#rfc-page .crop-dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}#rfc-page .crop-dialog h3{font-family:Georgia,serif;font-size:21px;font-weight:400;margin:0}#rfc-page .crop-close{border:0;background:none;font-size:24px;color:#555}#rfc-page .crop-stage{position:relative;margin:0 auto;background:#eef0f3;overflow:hidden;cursor:grab;touch-action:none}#rfc-page .crop-stage:active{cursor:grabbing}#rfc-page .crop-stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;user-select:none;pointer-events:none;transform-origin:center}#rfc-page .crop-help{font-size:11px;color:#747780;margin:7px 0}#rfc-page .crop-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}#rfc-page .crop-tools button{border:1px solid #d3d6dc;background:#fff;padding:6px}#rfc-page .crop-zoom{display:grid;grid-template-columns:auto 1fr;gap:9px;align-items:center;margin:8px 0;font-size:11px}#rfc-page .crop-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}#rfc-page .crop-actions button{padding:9px;border:1px solid #cfd2d9;background:#fff;font-weight:700}#rfc-page .crop-actions .save-crop{background:#ae2c36;color:#fff;border-color:#ae2c36}@media(max-width:650px){#rfc-page .crop-list{grid-template-columns:1fr}#rfc-page .crop-dialog{padding:12px}#rfc-page .crop-help{margin:5px 0}}
#rfc-page .warning{color:#656a72}#rfc-page .warning.success{color:#2f6b4f}#rfc-page .warning.error{color:#a52a34}#rfc-page .photo-overflow{border:1px solid #e1c8ca;background:#fffafa;padding:13px;margin:10px 0 14px}#rfc-page .photo-overflow strong{display:block;font-size:12px;margin-bottom:8px}#rfc-page .photo-overflow p{font-size:11px;line-height:1.45;color:#656873;margin:8px 0}#rfc-page .overflow-templates{display:grid;gap:6px}#rfc-page .overflow-template{border:1px solid #cfd2d9;background:#fff;color:#34363d;padding:9px 10px;text-align:left;font-size:11px}#rfc-page .overflow-template b{font-family:Georgia,serif;font-size:13px;font-weight:400;margin-right:5px}#rfc-page .crop-item>div{position:relative;padding-right:24px}#rfc-page .remove-photo{position:absolute;right:0;top:-4px;width:24px;height:24px;padding:3px;border:0;background:#fff;color:#686c74;text-decoration:none;display:grid;place-items:center}#rfc-page .remove-photo:hover,#rfc-page .remove-photo:focus-visible{color:#a52a34;background:#fff3f3;outline:1px solid #d9aeb2}#rfc-page .remove-photo svg{width:15px;height:15px}
#rfc-page .top-back{width:100%;margin:0 0 20px;text-align:left}
#rfc-page .hero-preview .paper{border:0}
#rfc-page .photo-memory-note{margin:-5px 0 12px;padding:9px 10px;background:#eef7f1;color:#35634a;border:1px solid #cfe2d5;font-size:11px;line-height:1.4}
#rfc-page .steps span.step-link{cursor:pointer;color:#6f727b}#rfc-page .steps span.step-link:hover{color:#a52a34}#rfc-page .steps span.step-link:focus-visible{outline:2px solid #b5444c;outline-offset:4px}#rfc-page .steps span[aria-disabled="true"]{cursor:not-allowed;color:#b1b3b9}#rfc-page .steps span.active{color:#a52a34}

/* The shop builder uses the system Arial and Georgia families; no late webfont swap. */
body[id^="module-resfotocollage-"][id$="design"] #wrapper>.container{width:100%;max-width:none;padding:0}
body[id^="module-resfotocollage-"][id$="design"] #wrapper{padding-top:0;background:#fff}
#rfc-page{--ink:#172126;--muted:#667176;--preview:#edf1f1;--warm:#f5f1ea;--line:#d9dedf;--control:#cbd1d2;--red:#d61f2c;--red-hover:#bd1823;--white:#fff;--ui:"DM Sans",Arial,sans-serif;--serif:"Playfair Display",Georgia,serif;width:100%;max-width:100%;overflow-x:clip;background:#fff;color:var(--ink);font:14px/1.5 var(--ui)}
#rfc-page>.promo,#rfc-page>.nav{display:none}
#rfc-page .shell{width:100%;max-width:none;margin:0;grid-template-columns:minmax(0,1.16fr) minmax(0,.84fr);min-height:790px;border-bottom:1px solid var(--line)}
#rfc-page .showcase{display:flex;min-width:0;flex-direction:column;align-items:stretch;padding:52px clamp(28px,4vw,64px);background:var(--preview)}
#rfc-page .form{position:relative;top:auto;height:auto;min-width:0;overflow:visible;padding:52px clamp(28px,4vw,64px);border-left:1px solid var(--line);background:#fff}
#rfc-page .eyebrow{font:700 12px/1.2 var(--ui);letter-spacing:.14em;color:#7b858a}
#rfc-page .showcase h1,#rfc-page .form>h2{font-family:var(--serif);font-weight:400;letter-spacing:-.025em;color:var(--ink)}
#rfc-page .showcase h1{font-size:clamp(36px,3vw,52px);line-height:1.08;margin:14px 0 14px}
#rfc-page .form>h2{font-size:clamp(34px,3vw,46px);line-height:1.08;margin:12px 0 25px}
#rfc-page .intro{max-width:780px;color:var(--muted);font-size:15px}
#rfc-page .hero-preview{flex:1;min-height:480px;padding:clamp(24px,3vw,46px);border:1px solid #e1e7e7;background:#e8eded}
#rfc-page .hero-preview .paper{width:min(100%,820px)}
#rfc-page .steps{gap:0;margin-bottom:36px}
#rfc-page .steps span{font:600 11px/1.2 var(--ui);letter-spacing:.02em;padding-bottom:15px;text-align:left}
#rfc-page .steps span.active{color:var(--red);border-color:var(--red)}
#rfc-page .steps b{width:27px;height:27px;margin-right:7px}
#rfc-page .file{min-height:128px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-color:#aeb8ba;background:#f8fafa}
#rfc-page .upload-arrow{border-color:var(--red);color:var(--red)}
#rfc-page .file:hover .upload-arrow,#rfc-page .file:focus-within .upload-arrow{background:var(--red)}
#rfc-page .primary{background:var(--red);min-height:58px}
#rfc-page .primary:hover{background:var(--red-hover)}
#rfc-page .template-grid{max-height:56vh;gap:12px}
#rfc-page .template{padding:10px}
#rfc-page .template.active{border-color:var(--red);box-shadow:0 0 0 2px #d61f2c18}
#rfc-page .crop-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
#rfc-page .crop-item{aspect-ratio:1}
#rfc-page .site-gallery,#rfc-page .materials-showcase{max-width:100%;padding:80px clamp(28px,6vw,96px)}
#rfc-page .crop-dialog{width:min(920px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;padding:28px}
#rfc-page .crop-stage{max-width:100%}
@media(min-width:1081px){#rfc-page .form{height:calc(100vh - 90px);min-height:790px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c4cbcd transparent}}
@media(max-width:1080px){#rfc-page .shell{grid-template-columns:1fr}#rfc-page .form{order:-1;min-height:0;border-left:0;border-bottom:1px solid var(--line)}#rfc-page .showcase{order:2}}
@media(max-width:650px){#rfc-page .showcase,#rfc-page .form{padding:30px 18px}#rfc-page .crop-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
#rfc-page .crop-modal{padding:16px;background:#172126b8;backdrop-filter:blur(3px)}
#rfc-page .crop-dialog{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.72fr);grid-template-areas:"head head" "stage help" "stage tools" "stage zoom" "actions actions";gap:0 28px;width:min(1040px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:30px;background:#fff;box-shadow:0 24px 80px #0e171b55}
#rfc-page .crop-dialog-head{grid-area:head;margin:0 0 24px;padding:0 0 20px;border-bottom:1px solid var(--line)}
#rfc-page .crop-dialog-head h3{margin:0;font:400 32px/1.1 var(--serif);letter-spacing:-.02em;color:var(--ink)}
#rfc-page .crop-close{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--ink);font-size:24px}
#rfc-page .crop-close:hover{border-color:var(--red);color:var(--red)}
#rfc-page .crop-stage{grid-area:stage;align-self:start;justify-self:center;max-width:100%;max-height:55vh;background:#e8eded;box-shadow:inset 0 0 0 1px #d7dede}
#rfc-page .crop-help{grid-area:help;align-self:end;margin:0 0 18px;padding:14px 16px;background:#f3f6f6;color:var(--muted);font-size:12px;line-height:1.55}
#rfc-page .crop-tools{grid-area:tools;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;align-self:start}
#rfc-page .crop-tools button{min-height:43px;border:1px solid var(--control);background:#fff;color:var(--ink);font-weight:600}
#rfc-page .crop-tools button:hover{border-color:var(--red);color:var(--red);background:#fff8f8}
#rfc-page .crop-zoom{grid-area:zoom;align-self:start;margin-top:20px;color:var(--ink);font-size:12px;font-weight:700}
#rfc-page .crop-zoom input{width:100%;margin-top:10px;accent-color:var(--red)}
#rfc-page .crop-actions{grid-area:actions;display:flex;justify-content:flex-end;gap:10px;margin-top:26px;padding-top:20px;border-top:1px solid var(--line)}
#rfc-page .crop-actions button{min-width:180px;min-height:48px;border:1px solid var(--control);background:#fff;font-weight:700}
#rfc-page .crop-actions .save-crop{border-color:var(--red);background:var(--red);color:#fff}
#rfc-page .crop-actions .save-crop:hover{background:var(--red-hover)}
@media(max-width:780px){#rfc-page .crop-dialog{display:flex;flex-direction:column;gap:14px;padding:20px;overflow:auto}#rfc-page .crop-dialog-head{margin-bottom:0}#rfc-page .crop-stage{max-height:43vh}#rfc-page .crop-help{margin:0}#rfc-page .crop-actions{position:sticky;bottom:-20px;margin-top:4px;background:#fff}#rfc-page .crop-actions button{min-width:0;flex:1}}

/* Compact photo library, single preview surface and the shared Nikkel Art crop editor. */
#rfc-page .hero-preview{min-height:480px;padding:18px 0;border:0;background:transparent}
#rfc-page .hero-preview .paper{box-shadow:0 18px 42px rgba(23,33,38,.18),0 0 0 1px #d9dedf}
#rfc-page .crop-list{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important;margin-top:10px}
#rfc-page .crop-item{aspect-ratio:1!important}
#rfc-page .photo-choice,#rfc-page .crop-item>.remove-photo{top:5px;width:25px;height:25px}
#rfc-page .photo-choice{left:5px;font-size:16px}
#rfc-page .crop-item>.remove-photo{right:5px;padding:5px}
#rfc-page .selection-help{font-size:10px;padding:9px 10px}
#rfc-page .auto-fill:not(.hidden){position:sticky;top:-1px;z-index:12;margin:10px 0 0;border-color:var(--red);background:var(--red);color:#fff;box-shadow:0 5px 14px rgba(23,33,38,.16)}
#rfc-page .auto-fill:not(.hidden):hover{background:var(--red-hover)}

#rfc-page .crop-modal{z-index:10000;padding:24px;background:rgba(13,20,24,.72);backdrop-filter:none}
#rfc-page .crop-dialog{display:block;width:min(920px,100%);max-height:calc(100vh - 48px);overflow:auto;padding:0;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.38)}
#rfc-page .crop-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0;padding:24px 28px;border-bottom:1px solid var(--line)}
#rfc-page .crop-eyebrow{margin:0 0 5px;color:#597078;font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}
#rfc-page .crop-dialog-head h3{margin:0;font:400 32px/1.1 var(--serif);letter-spacing:-.02em;color:var(--ink)}
#rfc-page .crop-close{flex:0 0 42px;width:42px;height:42px;border:1px solid var(--line);border-radius:0;background:#fff;color:var(--ink);font-size:28px;line-height:1}
#rfc-page .crop-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);gap:28px;padding:28px}
#rfc-page .crop-stage-wrap{display:grid;min-height:430px;place-items:center;background:#edf0f1;padding:28px}
#rfc-page .crop-stage{margin:0;max-width:100%;max-height:none;background:#fff;box-shadow:0 8px 28px rgba(23,33,38,.2)}
#rfc-page .crop-controls{display:flex;flex-direction:column;gap:22px;padding-top:4px}
#rfc-page .crop-range>span{display:flex;justify-content:space-between;margin-bottom:8px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
#rfc-page .crop-range input[type="range"]{width:100%;accent-color:var(--red)}
#rfc-page .crop-range output{color:var(--red)}
#rfc-page .crop-help{margin:0;color:var(--muted);background:none;padding:0;font-size:13px;line-height:1.55}
#rfc-page .crop-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0;padding:20px 28px;border-top:1px solid var(--line)}
#rfc-page .crop-actions>div{display:flex;gap:10px}
#rfc-page .crop-actions button{min-width:0;min-height:46px;padding:10px 18px;border:1px solid var(--control);background:#fff;color:var(--ink);font-weight:500}
#rfc-page .crop-actions .save-crop{border-color:var(--red);background:var(--red);color:#fff}
#rfc-page .crop-actions .save-crop:hover{background:var(--red-hover)}
@media(max-width:1180px) and (min-width:1081px){#rfc-page .crop-list{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(max-width:1080px){#rfc-page .crop-list{grid-template-columns:repeat(6,minmax(0,1fr))!important}}
@media(max-width:760px){#rfc-page .crop-modal{padding:10px}#rfc-page .crop-dialog{max-height:calc(100vh - 20px)}#rfc-page .crop-dialog-head{padding:18px}#rfc-page .crop-dialog-head h3{font-size:26px}#rfc-page .crop-layout{grid-template-columns:1fr;gap:20px;padding:18px}#rfc-page .crop-stage-wrap{min-height:300px;padding:18px}#rfc-page .crop-actions{position:static;align-items:stretch;flex-direction:column;padding:16px 18px}#rfc-page .crop-actions>div{display:grid;grid-template-columns:1fr 1.3fr}#rfc-page .crop-actions button{width:100%}#rfc-page .crop-list{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:480px){#rfc-page .crop-list{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

/* 0.9.4 — interactive preview, bounded crop stage and persistent photo actions. */
#rfc-page .paper.server-preview:before,
#rfc-page .paper.server-preview:after{display:none!important}
#rfc-page .preview-edit-pencil{position:absolute;right:7px;top:7px;z-index:5;display:grid;place-items:center;width:30px;height:30px;border:2px solid #fff;border-radius:50%;background:var(--red,#d61f2c);color:#fff;font:700 18px/1 Arial;box-shadow:0 2px 7px rgba(0,0,0,.24);pointer-events:none;transition:transform .15s,background .15s}
#rfc-page .preview-photo-hitbox:hover .preview-edit-pencil{transform:scale(1.08);background:var(--red-hover,#b71924)}
#rfc-page .crop-stage-wrap{min-width:0;overflow:hidden}
#rfc-page .crop-stage{max-width:100%!important;overflow:hidden!important}
#rfc-page .crop-stage img{max-width:none;max-height:none;will-change:transform,object-position}
#rfc-page .upload-block-ready{padding-bottom:0}
#rfc-page #photo-next:not(.hidden){position:static;width:100%;margin:0}
@media(max-width:760px){#rfc-page .preview-edit-pencil{width:26px;height:26px;font-size:16px;right:5px;top:5px}}


/* 0.9.6 — one full-height editor rail and clickable controls on round photos. */
#rfc-page .preview-photo-hitbox.shape-circle .preview-edit-pencil{right:12%;top:12%}
@media(min-width:1081px){
  #rfc-page .form{position:sticky;top:0;height:100vh;height:100dvh;min-height:0;overflow-y:auto;overscroll-behavior:contain}
  #rfc-page .template-grid{max-height:none;overflow:visible;padding-right:2px;padding-bottom:96px;scroll-padding-bottom:96px}
}

/* 1.9.29-final — Safari sticky preview and contained mobile dock price. */
@media(max-width:760px){
  html,body#module-resfotocollage-design,body#module-resfotocollage-design #rfc-page{overflow-x:clip!important;overflow-y:visible!important}
  #rfc-page .shell{overflow:visible}
  #rfc-page.mobile-preview-active .showcase{position:-webkit-sticky!important;position:sticky!important;top:0;align-self:flex-start}
}
@media(max-width:700px){
  #rfc-page .design-step-cta .design-action-bar{grid-template-columns:minmax(136px,.76fr) minmax(0,1.24fr)}
  #rfc-page .design-step-cta .photo-price{min-width:0;padding-right:8px;padding-left:8px;overflow:hidden}
  #rfc-page .design-step-cta .photo-price>.promo-price-pair{gap:5px!important}
  #rfc-page .design-step-cta .photo-price .promo-price-new{font-size:21px!important}
  #rfc-page .design-step-cta .photo-price .promo-price-old{font-size:10px!important}
}

/* 1.9.21 — curtain-style pinned preview while editing on mobile. */
@media(max-width:760px){
  #rfc-page.mobile-preview-active .showcase{height:38svh;max-height:360px;min-height:220px;padding:7px 12px}
  #rfc-page.mobile-preview-active .hero-preview{height:100%;max-height:100%;min-height:0}
  #rfc-page.mobile-preview-active .hero-preview .paper{height:min(calc(38svh - 16px),344px)!important;max-height:min(calc(38svh - 16px),344px)}
  #rfc-page.mobile-preview-active #upload-block,#rfc-page.mobile-preview-active #personalize-block,#rfc-page.mobile-preview-active #product-block{scroll-margin-top:calc(min(38svh,360px) + 14px)}
}

/* 1.9.31 — stable preview size and compositing during mobile Safari scrolling. */
@media(max-width:760px){
  #rfc-page.mobile-preview-active .showcase{height:var(--rfc-preview-height,300px)!important;max-height:var(--rfc-preview-height,300px)!important;min-height:0!important;overflow:hidden;transform:translateZ(0);backface-visibility:hidden}
  body #rfc-page.mobile-preview-active .hero-preview .paper{height:calc(var(--rfc-preview-height,300px) - 16px)!important;max-height:calc(var(--rfc-preview-height,300px) - 16px)!important}
  #rfc-page.mobile-preview-active #upload-block,#rfc-page.mobile-preview-active #personalize-block,#rfc-page.mobile-preview-active #product-block{scroll-margin-top:calc(var(--rfc-preview-height,300px) + 14px)!important}
}
/* 1.9.30 — the theme's outer main must not trap the sticky preview. */
@media(max-width:760px){
  body#module-resfotocollage-design > main{overflow-x:clip!important;overflow-y:visible!important}
}

/* 1.9.29 — make the editor preview truly sticky in mobile Safari and contain the dock price. */
@media(max-width:760px){
  html,body#module-resfotocollage-design,body#module-resfotocollage-design #rfc-page{overflow-x:clip!important;overflow-y:visible!important}
  #rfc-page .shell{overflow:visible}
  #rfc-page.mobile-preview-active .showcase{position:-webkit-sticky!important;position:sticky!important;top:0;align-self:flex-start}
}
@media(max-width:700px){
  #rfc-page .design-step-cta .design-action-bar{grid-template-columns:minmax(136px,.76fr) minmax(0,1.24fr)}
  #rfc-page .design-step-cta .photo-price{min-width:0;padding-right:8px;padding-left:8px;overflow:hidden}
  #rfc-page .design-step-cta .photo-price>.promo-price-pair{gap:5px!important}
  #rfc-page .design-step-cta .photo-price .promo-price-new{font-size:21px!important}
  #rfc-page .design-step-cta .photo-price .promo-price-old{font-size:10px!important}
}

/* 1.9.28 — keep both design-step prices inside the mobile dock. */
@media(max-width:700px){
  #rfc-page .design-step-cta .design-action-bar{grid-template-columns:minmax(136px,.76fr) minmax(0,1.24fr)}
  #rfc-page .design-step-cta .photo-price{min-width:0;padding-right:8px;padding-left:8px;overflow:hidden}
  #rfc-page .design-step-cta .photo-price>.promo-price-pair{gap:5px!important}
  #rfc-page .design-step-cta .photo-price .promo-price-new{font-size:21px!important}
  #rfc-page .design-step-cta .photo-price .promo-price-old{font-size:10px!important}
}

/* 1.9.22 — start the classic collage creator directly at the form on mobile. */
@media(max-width:760px){
  #rfc-page[data-creator-mode="classic"]:not(.mobile-preview-active) .showcase{display:none}
  #rfc-page[data-creator-mode="classic"] .form{padding-top:20px}
  #rfc-page[data-creator-mode="classic"]:not(.mobile-preview-active) .form{border-top:0}
  #rfc-page[data-creator-mode="classic"] .form>h2{margin-top:0}
  html[lang^="nl"] #rfc-page[data-creator-mode="classic"] .form>h2{font-size:clamp(25px,6.7vw,28px);letter-spacing:-.04em;white-space:nowrap}
}

/* 1.9.25 — keep auto-fill prominent and move repeat upload below the mobile photo library. */
@media(max-width:760px){
  #rfc-page #upload-block:has(.crop-list:not(.hidden)){display:flex;flex-direction:column}
  #rfc-page #upload-block>.label{order:1}
  #rfc-page #upload-block>.warning{order:2}
  #rfc-page #upload-block>.draft-status{order:3}
  #rfc-page #upload-block>.auto-fill{order:4}
  #rfc-page #upload-block>.crop-list{order:5}
  #rfc-page #upload-block>.photo-overflow{order:6}
  #rfc-page #upload-block>.file{order:7;margin-top:14px}
  #rfc-page #upload-block>.photo-action-bar{order:8}
  #rfc-page #upload-block>.rfc-step-trust{display:none!important}
}

/* 1.0.0 — price and next-step dock matching the Nikkel Art ordering flow. */
#rfc-page .photo-action-bar{display:grid;grid-template-columns:minmax(155px,.86fr) minmax(220px,1.14fr);gap:12px;align-items:stretch}
#rfc-page .photo-action-bar:has(#photo-next.hidden){display:none}
#rfc-page .photo-price{min-width:0;min-height:78px;padding:12px 16px 10px;border:1px solid var(--line,#d6dcde);border-left:4px solid var(--red,#dc1f2c);background:#f7f4ee;color:var(--ink,#172328);display:flex;flex-direction:column;justify-content:center}
#rfc-page .photo-price>div{display:flex;align-items:baseline;gap:8px;white-space:nowrap}
#rfc-page .photo-price span{font-size:12px;color:var(--muted,#66737a)}
#rfc-page .photo-price strong{font:400 clamp(24px,2.25vw,34px)/1 Georgia,serif;letter-spacing:.01em}
#rfc-page .photo-price small{margin-top:5px;font-size:10px;color:var(--muted,#66737a)}
#rfc-page #photo-next:not(.hidden){position:static;width:100%;min-height:78px;margin:0;padding:12px 15px 12px 20px;border:0;background:var(--red,#dc1f2c);color:#fff;box-shadow:0 8px 22px rgba(220,31,44,.18);display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left;text-transform:none;letter-spacing:0}
#rfc-page #photo-next>span{display:flex;flex-direction:column;gap:3px;min-width:0}
#rfc-page #photo-next small{font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;opacity:.9}
#rfc-page #photo-next strong{font-size:17px;line-height:1.1}
#rfc-page #photo-next>b{flex:0 0 38px;width:38px;height:38px;display:grid;place-items:center;border:1px solid #ffffff80;border-radius:50%;font-size:23px;font-weight:400;line-height:1}
#rfc-page .photo-action-bar{position:static;margin:22px 0 0}
@media(max-width:520px){#rfc-page .photo-action-bar{grid-template-columns:1fr;gap:8px}#rfc-page .photo-price,#rfc-page #photo-next:not(.hidden){min-height:72px}}

/* 1.0.1 — one editor field for every text rendered by the selected collage. */
#rfc-page #caption-note:not(.hidden){margin:0 0 14px;padding:11px 13px;border-left:3px solid var(--red,#dc1f2c);background:#f7f8f8;color:var(--ink,#172328)}
#rfc-page .caption-fields{gap:12px;margin-bottom:18px}
#rfc-page .caption-fields label{padding:10px;border:1px solid var(--line,#d6dcde);background:#fff}
#rfc-page .caption-fields label>span{margin-bottom:4px;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink,#172328)}
#rfc-page .caption-fields .field{height:44px;margin-top:5px}
#rfc-page .caption-without-thumb{grid-column:1/-1}
@media(max-width:650px){#rfc-page .caption-fields{grid-template-columns:1fr}}

/* 1.0.2 — the action cards keep their own opaque backgrounds. */
#rfc-page .photo-action-bar{padding:0;background:transparent;border:0;box-shadow:none}

/* 1.0.3 — consistent previous/next actions throughout the configurator. */
#rfc-page .step-actions{grid-template-columns:minmax(170px,.82fr) minmax(230px,1.18fr);gap:12px;align-items:stretch}
#rfc-page .step-actions>button,#rfc-page #create.flow-next{min-height:78px;margin:0;padding:12px 15px 12px 20px;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left;text-transform:none;letter-spacing:0}
#rfc-page .flow-next{border:1px solid var(--red,#dc1f2c)!important;background:var(--red,#dc1f2c)!important;color:#fff!important;box-shadow:0 8px 22px rgba(220,31,44,.16)}
#rfc-page .flow-back{border:1px solid var(--control,#c8d0d3)!important;background:#fff!important;color:var(--ink,#172328)!important}
#rfc-page .flow-next>span,#rfc-page .flow-back>span{display:flex;min-width:0;flex-direction:column;gap:3px}
#rfc-page .flow-next small,#rfc-page .flow-back small{font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;opacity:.78}
#rfc-page .flow-next strong,#rfc-page .flow-back strong{font-size:17px;line-height:1.1}
#rfc-page .flow-next>b,#rfc-page .flow-back>b{flex:0 0 38px;width:38px;height:38px;display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;font-size:23px;font-weight:400;line-height:1;opacity:.8}
#rfc-page #create.create-flow{width:100%;margin-top:22px}
#rfc-page .top-back,#rfc-page .back-step{min-height:48px;border-color:var(--control,#c8d0d3);background:#fff;color:var(--ink,#172328);font-weight:600}
@media(max-width:520px){#rfc-page .step-actions{grid-template-columns:1fr}#rfc-page .step-actions>button,#rfc-page #create.flow-next{min-height:72px}}

/* 1.1.0 — reusable Font Awesome decorations with direct positioning. */
@font-face{font-family:FontAwesomeRFC;src:url("../assets/fontawesome-webfont.ttf") format("truetype");font-weight:normal;font-style:normal;font-display:block}
#rfc-page .ornament-grid{grid-template-columns:repeat(auto-fit,minmax(104px,1fr));gap:8px;max-height:360px;overflow-y:auto;padding:2px}
#rfc-page .ornament-choice{position:relative;min-height:116px;padding:0;gap:0;overflow:hidden}
#rfc-page .ornament-main{width:100%;min-height:76px;padding:9px 5px 7px;border:0;background:transparent;color:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:12px}
#rfc-page .ornament-main:hover{background:#fff5f4}
#rfc-page .ornament-main .fa-ornament-glyph{font-size:27px;line-height:1}
#rfc-page .ornament-stepper{width:100%;height:38px;border-top:1px solid #d9dce1;display:grid;grid-template-columns:38px minmax(28px,1fr) 38px;align-items:stretch;background:#fff}
#rfc-page .ornament-quantity{border:0;background:#f6f7f8;color:#34363d;font-size:22px;line-height:1;padding:0}
#rfc-page .ornament-quantity:hover:not(:disabled){background:#a92b35;color:#fff}
#rfc-page .ornament-quantity:disabled{color:#b9bdc3;cursor:not-allowed}
#rfc-page .ornament-count{position:static;display:grid;place-items:center;min-width:28px;height:auto;padding:0;border-right:1px solid #d9dce1;border-left:1px solid #d9dce1;border-radius:0;background:#fff;color:#34363d;font-size:13px;font-weight:700;line-height:1}
#rfc-page .preview-photo-hitbox.empty-slot{cursor:pointer}
#rfc-page .preview-photo-hitbox.empty-slot:hover:after,#rfc-page .preview-photo-hitbox.empty-slot:focus-visible:after{border-color:#a52a34;background:#a52a34;color:#fff}
#rfc-page .fa-ornament-glyph{font-family:FontAwesomeRFC,FontAwesome!important;font-style:normal;font-weight:normal;speak:none}
#rfc-page .ornament-on-paper{display:grid;place-items:center;overflow:visible;line-height:1}
#rfc-page .ornament-on-paper>.fa-ornament-glyph{font-size:100%;line-height:1;color:inherit}
#rfc-page .ornament-on-paper.is-editable{pointer-events:auto;cursor:grab;touch-action:none;border:1px dashed transparent;border-radius:3px}
#rfc-page .ornament-on-paper.is-editable:hover,#rfc-page .ornament-on-paper.is-editable.dragging{border-color:var(--red,#dc1f2c);background:#ffffffb8;box-shadow:0 2px 8px #0002}
#rfc-page .ornament-on-paper.dragging{cursor:grabbing;z-index:12}
#rfc-page .ornament-remove{position:absolute;right:-10px;top:-10px;display:none;width:20px;height:20px;padding:0;border:1px solid #fff;border-radius:50%;background:var(--red,#dc1f2c);color:#fff;font:700 15px/18px Arial!important;box-shadow:0 1px 5px #0003}
#rfc-page .ornament-on-paper.is-editable:hover .ornament-remove,#rfc-page .ornament-on-paper.is-editable:focus-within .ornament-remove{display:block}
#rfc-page .ornament-guide{position:absolute;z-index:11;display:block;pointer-events:none;background:rgba(220,31,44,.8);box-shadow:0 0 0 1px #fff8}
#rfc-page .ornament-guide.vertical{top:0;bottom:0;width:1px}
#rfc-page .ornament-guide.horizontal{left:0;right:0;height:1px}
@media(max-width:520px){#rfc-page .ornament-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-height:260px}#rfc-page .ornament-choice{min-height:58px}#rfc-page .ornament-remove{display:block}}

/* 1.1.2 — mobile follows the customer journey: preview, controls, actions. */
@media(max-width:1080px){
  #rfc-page .shell{display:flex;min-height:0;flex-direction:column}
  #rfc-page .showcase{order:1;min-height:0}
  #rfc-page .form{order:2;min-height:0;border-top:1px solid var(--line);border-bottom:0}
}
@media(max-width:650px){
  #rfc-page .showcase{padding:30px 18px 28px}
  #rfc-page .form{padding:30px 18px 42px}
  #rfc-page .showcase h1{margin:10px 0 10px;font-size:clamp(34px,11vw,46px);line-height:1.02}
  #rfc-page .intro{margin:0 0 20px;font-size:14px;line-height:1.55}
  #rfc-page .hero-preview{flex:none;min-height:0;padding:10px 0}
  #rfc-page .template-name{margin-top:15px}
  #rfc-page .product-assurance{margin-top:20px;padding-top:14px}
  #rfc-page .form>h2{font-size:34px;margin:8px 0 22px}
  #rfc-page .steps{margin-bottom:28px}
  #rfc-page .steps span{min-width:0;font-size:9px;text-align:center}
  #rfc-page .steps b{display:grid;margin:0 auto 5px}
  #rfc-page .photo-action-bar{margin-top:20px}
}
@media(max-width:520px){
  #rfc-page .photo-action-bar{gap:10px}
  #rfc-page .photo-price,#rfc-page #photo-next:not(.hidden){min-height:74px}
}

/* 1.2.0 — shared visual language of the Nikkel Art personalisation builders. */
#rfc-page{
  --ui:Arial,Helvetica,sans-serif;
  --serif:Georgia,serif;
  --preview:#eceff1;
  --red:#d61f2c;
  --red-hover:#bd1823;
  font-family:var(--ui);
}
#rfc-page button,#rfc-page input,#rfc-page select,#rfc-page textarea{font-family:var(--ui)}
#rfc-page .shell{grid-template-columns:minmax(0,58fr) minmax(0,42fr)}
#rfc-page .showcase{padding:52px 48px 48px;background:var(--preview)}
#rfc-page .form{padding:52px clamp(28px,4vw,64px)}
#rfc-page .showcase h1,#rfc-page .form>h2,#rfc-page .gallery-head h2,
#rfc-page .template-name strong,#rfc-page .selected strong,
#rfc-page .site-gallery h2,#rfc-page .materials-showcase h2{font-family:Georgia,serif}
#rfc-page .showcase h1,#rfc-page .form>h2{font-size:clamp(36px,3vw,52px);line-height:1;letter-spacing:-.025em}
#rfc-page .showcase h1{margin:14px 0 14px}
#rfc-page .form>h2{margin:12px 0 0}
#rfc-page .intro{margin:0 0 22px;font-size:13px;line-height:1.5}
#rfc-page .steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;height:58px;margin:34px 0 30px}
#rfc-page .steps span{position:relative;display:flex;min-width:0;align-items:flex-start;gap:6px;padding:0 4px 14px;font-size:10px;line-height:22px;text-align:left}
#rfc-page .steps b{flex:0 0 22px;width:22px;height:22px;margin:0;font-size:10px}
#rfc-page .steps span.active{border-bottom-width:2px}
#rfc-page .hero-preview{background:transparent}
#rfc-page .field{min-height:48px;height:48px;border-color:var(--control);border-radius:0}
#rfc-page .filters button,#rfc-page .secondary,#rfc-page .sizes button{border-radius:0}
#rfc-page .crop-item.is-selected{border-color:var(--red)!important}
#rfc-page .photo-choice[aria-pressed="true"]{border-color:var(--red);background:var(--red)}
#rfc-page .photo-selection-state{background:#fde8ea;color:var(--red)!important}
#rfc-page .preview-photo-hitbox.photo-drop-target{background:rgba(214,31,44,.16)!important;box-shadow:inset 0 0 0 4px var(--red)!important}

#rfc-page .photo-action-bar,#rfc-page .step-actions,#rfc-page .product-action-row{
  display:grid;
  grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);
  gap:12px;
  align-items:stretch;
  margin:22px 0 0;
}
#rfc-page .photo-price{min-height:63px;height:63px;padding:9px 13px;border-left-width:4px}
#rfc-page .photo-price span{font-size:11px}
#rfc-page .photo-price strong{font-size:clamp(23px,2.1vw,31px)}
#rfc-page .photo-price small{margin-top:3px;font-size:9px}
#rfc-page #photo-next:not(.hidden),#rfc-page .step-actions .flow-next,#rfc-page .product-action-row #create.create-flow{
  min-height:63px;
  height:63px;
  margin:0;
  padding:8px 11px 8px 16px;
}
#rfc-page #photo-next strong,#rfc-page .flow-next strong{font-size:16px}
#rfc-page #photo-next>b,#rfc-page .flow-next>b{flex-basis:38px;width:38px;height:38px}
#rfc-page .step-actions #back-photos.hidden{display:none!important}
#rfc-page .product-action-row #create.create-flow{width:100%}

#rfc-page .product-grid{gap:8px}
#rfc-page .product-choice{grid-template-columns:44px minmax(0,1fr);min-height:68px;gap:12px;padding:12px;border-radius:0}
#rfc-page .product-icon{width:44px;height:40px}
#rfc-page .product-choice.active{border-color:var(--red);box-shadow:inset 0 0 0 1px var(--red);background:#fff}
#rfc-page .background-choice .swatch{width:44px;height:44px}
#rfc-page .background-choice.active .swatch{outline-color:var(--red)}
#rfc-page .sizes button.active{border-color:var(--red);color:var(--red);box-shadow:inset 0 0 0 1px var(--red)}
#rfc-page .site-gallery,#rfc-page .materials-showcase{font-family:var(--ui)}

@media(max-width:1180px){
  #rfc-page .shell{display:flex;min-height:0;flex-direction:column}
  #rfc-page .showcase{order:1;min-height:0}
  #rfc-page .form{order:2;min-height:0;height:auto;overflow:visible;border-top:1px solid var(--line);border-right:0;border-bottom:0;border-left:0}
  #rfc-page .template-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-height:none}
}
@media(max-width:700px){
  #rfc-page .showcase{padding:30px 18px 28px}
  #rfc-page .form{padding:30px 18px 42px}
  #rfc-page .showcase h1{font-size:clamp(34px,11vw,46px);line-height:1.02}
  #rfc-page .form>h2{font-size:34px;line-height:1.03}
  #rfc-page .steps{margin:28px 0;height:62px}
  #rfc-page .steps span{display:block;font-size:9px;line-height:1.15;text-align:center}
  #rfc-page .steps b{display:grid;margin:0 auto 6px}
  #rfc-page .template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
  #rfc-page .photo-action-bar,#rfc-page .step-actions,#rfc-page .product-action-row{grid-template-columns:1fr;gap:10px}
  #rfc-page .photo-price,#rfc-page #photo-next:not(.hidden),#rfc-page .step-actions .flow-next,#rfc-page .product-action-row #create.create-flow{min-height:72px;height:auto}
}

/* 1.2.2 — formats open directly below the active material. */
#rfc-page .product-grid>.size-section{margin:-8px 0 0;padding:15px 12px 16px;border:1px solid var(--red);border-top:0;background:#fafbfb}
#rfc-page .product-grid>.size-section .label{margin-bottom:10px}
#rfc-page .product-grid>.size-section .sizes{margin-top:0}
#rfc-page .product-grid>.size-section #format-note{margin:7px 0 0}
@media(max-width:520px){#rfc-page .product-grid>.size-section .sizes{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 1.2.7 — mobile editing flow: photos, fill action, sticky live preview and safe crop actions. */
#rfc-page .crop-source-actions{display:flex;gap:10px}
#rfc-page #crop-replace{border-color:var(--red,#d61f2c);color:var(--red,#d61f2c)}

@media(max-width:760px){
  #rfc-page .auto-fill:not(.hidden){position:static;top:auto;margin:12px 0 2px}

  #rfc-page.mobile-preview-active .showcase{
    position:sticky;
    top:0;
    z-index:90;
    order:1;
    display:flex;
    width:100%;
    height:50vh;
    height:50dvh;
    max-height:50vh;
    max-height:50dvh;
    min-height:0;
    padding:7px 12px;
    overflow:hidden;
    border-bottom:1px solid var(--line,#d6dcde);
    background:var(--preview,#eceff1);
    box-shadow:0 8px 20px rgba(23,33,38,.13);
  }
  #rfc-page.mobile-preview-active .showcase>h1,
  #rfc-page.mobile-preview-active .showcase>.intro,
  #rfc-page.mobile-preview-active .showcase>.template-name,
  #rfc-page.mobile-preview-active .showcase>.subline,
  #rfc-page.mobile-preview-active .showcase>.product-assurance{display:none}
  #rfc-page.mobile-preview-active .hero-preview{
    display:flex;
    flex:1;
    width:100%;
    min-height:0;
    height:100%;
    max-height:100%;
    align-items:center;
    justify-content:center;
    padding:0;
    overflow:hidden;
  }
  #rfc-page.mobile-preview-active .hero-preview .paper{
    width:auto!important;
    height:calc(50dvh - 16px)!important;
    max-width:100%;
    max-height:calc(50dvh - 16px);
    margin:auto;
    box-shadow:0 3px 12px rgba(23,33,38,.16),0 0 0 1px #d9dedf;
  }
  #rfc-page.mobile-preview-active .form{order:2}

  #rfc-page .crop-modal{top:var(--crop-viewport-top,0);right:0;bottom:auto;left:0;width:100%;height:var(--crop-viewport-height,100dvh);padding:0;align-items:stretch}
  #rfc-page .crop-dialog{
    display:flex;
    width:100%;
    height:100%;
    max-height:100%;
    flex-direction:column;
    overflow:hidden;
  }
  #rfc-page .crop-dialog-head{flex:0 0 auto;padding:14px 16px}
  #rfc-page .crop-layout{flex:1 1 auto;min-height:0;overflow-y:auto;padding:14px 16px 18px}
  #rfc-page .crop-stage-wrap{min-height:230px;padding:12px}
  #rfc-page .crop-stage{max-height:38dvh}
  #rfc-page .crop-actions{
    position:relative;
    bottom:auto;
    z-index:3;
    flex:0 0 auto;
    gap:8px;
    padding:10px 16px calc(24px + env(safe-area-inset-bottom));
    background:#fff;
    box-shadow:0 -8px 18px rgba(23,33,38,.08);
  }
  #rfc-page .crop-actions>div,#rfc-page .crop-actions>.crop-source-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  #rfc-page .crop-actions button{min-height:48px;padding:9px 8px;font-size:14px}
  #rfc-page #upload-block{scroll-margin-top:16px}

  #rfc-page input:not([type="range"]):not([type="file"]),
  #rfc-page textarea,
  #rfc-page select{font-size:16px!important}
}

/* 1.3.4 — smooth heart silhouette; the global mask supplies the rounded edge. */
#rfc-page .heart-photos{clip-path:none}

#rfc-page .product-price{display:block;margin-top:7px;color:var(--red,#dc1f2c);font-style:normal;font-size:12px;font-weight:700}
#rfc-page .product-choice.unavailable{opacity:.48;background:#f3f3f3;cursor:not-allowed}
#rfc-page .product-choice.unavailable .product-price{color:var(--muted,#66737a)}
#rfc-page .draft-status{margin:8px 0 14px;font-size:12px;color:#66737a}
#rfc-page .save-account{display:block;width:100%;margin-top:12px;border:1px solid #b91f2b;background:#fff;color:#b91f2b;padding:10px 14px;font-weight:700;cursor:pointer}
#rfc-page .save-account:disabled{opacity:.55;cursor:wait}
#rfc-page .selected .save-account-status{float:none;display:block;margin-top:7px;color:#66737a;font-size:12px;line-height:1.35}

/* 1.3.17 — compact mobile photo markers and extra clearance above the favourites bar. */
@media(max-width:760px){
  #rfc-page .preview-slot-number{
    width:17px;
    height:17px;
    left:3px;
    top:3px;
    border-width:1px;
    box-shadow:0 1px 3px rgba(0,0,0,.22);
    font-size:8px;
  }
  #rfc-page .preview-edit-pencil{
    width:19px;
    height:19px;
    right:3px;
    top:3px;
    border-width:1px;
    box-shadow:0 1px 4px rgba(0,0,0,.2);
    font-size:11px;
  }
  #rfc-page .crop-layout{padding-bottom:6px}
  #rfc-page .crop-actions{
    margin-bottom:48px;
    padding-top:6px;
    padding-bottom:calc(8px + env(safe-area-inset-bottom));
  }
}

/* 1.3.22 — centered editorial introduction above the collage. */
@media(min-width:1081px){
  #rfc-page .showcase h1{
    max-width:none;
    margin:12px auto 10px;
    text-align:center;
    white-space:nowrap;
    font-size:clamp(34px,2.3vw,44px);
  }
  #rfc-page .showcase .intro{
    max-width:760px;
    margin:0 auto 26px;
    text-align:center;
  }
}
@media(max-width:1080px){
  #rfc-page .showcase h1,
  #rfc-page .showcase .intro{text-align:center}
  #rfc-page .showcase .intro{margin-left:auto;margin-right:auto}
}

/* 1.3.23 — use one page scrollbar so the wheel works over both columns. */
@media(min-width:1181px){
  #rfc-page .form{
    position:relative;
    top:auto;
    height:auto;
    min-height:0;
    overflow:visible;
    overscroll-behavior:auto;
  }
}

/* Visible progress while the server analyses and places uploaded photos. */
#rfc-page .auto-fill.is-loading{min-height:66px;padding:12px 14px 11px!important;cursor:wait;opacity:1!important;background:var(--red)!important;color:#fff!important;pointer-events:none}
#rfc-page .auto-fill-row{display:flex;align-items:center;gap:9px;width:100%;text-align:left}
#rfc-page .auto-fill-label{flex:1;letter-spacing:.035em}
#rfc-page .auto-fill-percent{min-width:42px;text-align:right;font-size:14px;font-variant-numeric:tabular-nums}
#rfc-page .auto-fill-spinner{width:17px;height:17px;flex:0 0 17px;border:2px solid rgba(255,255,255,.38);border-top-color:#fff;border-radius:50%;animation:rfc-auto-fill-spin .72s linear infinite}
#rfc-page .auto-fill-bar{display:block;height:6px;margin-top:10px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.3);box-shadow:inset 0 1px 2px rgba(0,0,0,.12)}
#rfc-page .auto-fill-bar span{display:block;width:0;height:100%;border-radius:inherit;background:#fff;transition:width .22s ease-out}
@keyframes rfc-auto-fill-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#rfc-page .auto-fill-spinner{animation-duration:1.5s}#rfc-page .auto-fill-bar span{transition:none}}

#rfc-page .add-cart{display:block;width:100%;margin-top:12px;border:0;background:#d91f2b;color:#fff;padding:16px 18px;font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.035em;cursor:pointer}
#rfc-page .add-cart:hover{background:#bd1924}
#rfc-page .add-cart:disabled{opacity:.6;cursor:wait}

/* 1.3.31 — keep the preview at the top of the left column when the design catalog is taller. */
@media(min-width:1081px){
  #rfc-page .shell{background:var(--preview)}
  #rfc-page .showcase{align-self:start}
  #rfc-page .hero-preview{flex:none;min-height:0}
}

/* 1.3.38 — search-led editorial content, related products and FAQ. */
#rfc-page .hero-kicker{margin:0 0 8px;color:var(--red,#a52a34);font-size:11px;font-weight:700;letter-spacing:.15em;text-transform:uppercase}
#rfc-page .rfc-content-section,#rfc-page .rfc-related,#rfc-page .rfc-faq{max-width:100%;margin:0;padding:80px clamp(28px,6vw,96px);font-family:var(--ui,Arial,Helvetica,sans-serif)}
#rfc-page .rfc-content-section h2,#rfc-page .rfc-related h2,#rfc-page .rfc-faq h2{max-width:920px;margin:10px 0 14px;font:400 clamp(30px,3vw,42px)/1.14 Georgia,serif;letter-spacing:-.025em;color:#292b32}
#rfc-page .rfc-content-section h3,#rfc-page .rfc-related h3{color:#292b32}
#rfc-page .rfc-content-section p,#rfc-page .rfc-related p,#rfc-page .rfc-faq p{font-size:15px;line-height:1.72;color:#646872}
#rfc-page .rfc-content-section a,#rfc-page .rfc-related a,#rfc-page .rfc-faq a{color:#9f2631;text-decoration:underline;text-underline-offset:3px}
#rfc-page .rfc-how{background:#fff}
#rfc-page .rfc-step-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:34px}
#rfc-page .rfc-step-grid article{min-height:245px;padding:26px 24px;border:1px solid #e0e2e6;background:#fafbfc}
#rfc-page .rfc-step-grid article>span{display:block;margin-bottom:34px;color:#a52a34;font:400 30px/1 Georgia,serif}
#rfc-page .rfc-step-grid h3{margin:0 0 10px;font:400 20px/1.25 Georgia,serif}
#rfc-page .rfc-step-grid p{margin:0;font-size:13px;line-height:1.65}
#rfc-page .rfc-layout-guide{background:#f4f5f6}
#rfc-page .rfc-layout-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:34px}
#rfc-page .rfc-layout-grid article{padding:26px;border:1px solid #dfe2e6;background:#fff}
#rfc-page .rfc-layout-grid article>strong{display:block;color:#a52a34;font:400 36px/1 Georgia,serif}
#rfc-page .rfc-layout-grid h3{margin:16px 0 8px;font:400 20px/1.25 Georgia,serif}
#rfc-page .rfc-layout-grid p{margin:0;font-size:13px}
#rfc-page .rfc-tips{display:grid;grid-template-columns:minmax(250px,.72fr) minmax(0,1.6fr);gap:40px;margin-top:24px;padding:38px;background:#24272d;color:#fff;border-top:4px solid #b52a35}
#rfc-page .rfc-tips-heading{align-self:start;max-width:360px}
#rfc-page .rfc-tips-kicker{display:block;margin-bottom:12px;color:#ef8d95;font-size:10px;font-weight:800;letter-spacing:.18em}
#rfc-page .rfc-tips h3{margin:0;color:#fff;font:400 27px/1.2 Georgia,serif}
#rfc-page .rfc-tips-heading p{margin:16px 0 0;color:#c9cdd3;font-size:13px;line-height:1.65}
#rfc-page .rfc-tips-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}
#rfc-page .rfc-tips-list li{display:flex;gap:14px;min-width:0;margin:0;padding:18px;background:#2e3239;border:1px solid #414650;color:#fff}
#rfc-page .rfc-tips-list li>span{flex:0 0 auto;color:#ef8d95;font-size:11px;font-weight:800;letter-spacing:.08em;line-height:1.45}
#rfc-page .rfc-tips-list strong{display:block;margin-bottom:7px;color:#fff;font-size:13px;line-height:1.35}
#rfc-page .rfc-tips-list p{margin:0;color:#d7dae0;font-size:12px;line-height:1.55}
#rfc-page .materials-showcase .section-intro{max-width:820px}
#rfc-page .material-card p{font-size:13px;line-height:1.65}

/* Material close-ups: the image makes surface, edge and finish comparable at a glance. */
#rfc-page .material-card{display:flex;min-width:0;flex-direction:column;padding:0;overflow:hidden}
#rfc-page .material-card-image{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;background:#f0f1f2;border-bottom:1px solid #e0e2e6}
#rfc-page .material-card h3{margin:0;padding:17px 18px 7px}
#rfc-page .material-card p{padding:0 18px 18px}
@media(max-width:520px){
  #rfc-page .material-cards{display:flex;grid-template-columns:none;gap:14px;margin:0 -18px;padding:0 18px 8px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  #rfc-page .material-cards::-webkit-scrollbar{display:none}
  #rfc-page .material-card{flex:0 0 86%;scroll-snap-align:start}
}
#rfc-page .rfc-occasions{background:#fff}
#rfc-page .rfc-occasion-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-top:32px;background:#e0e2e6;border:1px solid #e0e2e6}
#rfc-page .rfc-occasion-grid article{padding:26px;background:#fff}
#rfc-page .rfc-occasion-grid h3{margin:0 0 9px;font:400 20px/1.25 Georgia,serif}
#rfc-page .rfc-occasion-grid p{margin:0;font-size:13px}
#rfc-page .rfc-quality{background:#292b32}
#rfc-page .rfc-quality .section-kicker{color:#e2aab0}
#rfc-page .rfc-quality h2,#rfc-page .rfc-quality .section-intro{color:#fff}
#rfc-page .rfc-quality .section-intro{opacity:.82}
#rfc-page .rfc-check-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:32px}
#rfc-page .rfc-check-grid article{padding:22px;border:1px solid #4d4f58;background:#343640}
#rfc-page .rfc-check-grid strong{display:block;margin-bottom:10px;color:#fff;font-size:14px}
#rfc-page .rfc-check-grid p{margin:0;color:#d8d9dd;font-size:12px;line-height:1.6}
#rfc-page .rfc-trust-copy{max-width:1000px;margin:28px 0 0;color:#d8d9dd!important}
#rfc-page .rfc-quality a{color:#fff;text-decoration-color:#c87079}
#rfc-page .rfc-related{background:#fff}
#rfc-page .rfc-related-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-top:32px}
#rfc-page .rfc-related-card{display:flex;min-width:0;overflow:hidden;flex-direction:column;border:1px solid #e0e2e6;background:#fff;color:inherit!important;text-decoration:none!important;transition:transform .18s ease,box-shadow .18s ease}
#rfc-page .rfc-related-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px #27293416}
#rfc-page .rfc-related-media{display:block;aspect-ratio:1.25;overflow:hidden;background:#eef0f2}
#rfc-page .rfc-related-media img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
#rfc-page .rfc-related-card:hover img{transform:scale(1.025)}
#rfc-page .rfc-related-body{display:flex;flex:1;flex-direction:column;padding:20px}
#rfc-page .rfc-related-body small{color:#a52a34;font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
#rfc-page .rfc-related-body h3{margin:9px 0 8px;font:400 19px/1.22 Georgia,serif}
#rfc-page .rfc-related-body p{margin:0 0 18px;font-size:12px;line-height:1.58}
#rfc-page .rfc-related-body>span{margin-top:auto;color:#9f2631;font-size:12px;font-weight:700}
#rfc-page .rfc-related-context{margin:24px 0 0}
#rfc-page .rfc-faq{background:#f4f5f6}
#rfc-page .rfc-faq-list{max-width:980px;margin-top:30px;border-top:1px solid #d7dade}
#rfc-page .rfc-faq details{border-bottom:1px solid #d7dade}
#rfc-page .rfc-faq summary{position:relative;padding:22px 48px 22px 0;list-style:none;cursor:pointer;color:#292b32;font-size:16px;font-weight:700}
#rfc-page .rfc-faq summary::-webkit-details-marker{display:none}
#rfc-page .rfc-faq summary span:before,#rfc-page .rfc-faq summary span:after{content:"";position:absolute;right:12px;top:50%;width:14px;height:1px;background:#a52a34}
#rfc-page .rfc-faq summary span:after{transform:rotate(90deg);transition:transform .18s ease}
#rfc-page .rfc-faq details[open] summary span:after{transform:rotate(0)}
#rfc-page .rfc-faq details p{max-width:850px;margin:0;padding:0 0 22px;font-size:14px;line-height:1.7}
#rfc-page .rfc-review-line{margin:0;padding:22px clamp(28px,6vw,96px);border-top:1px solid #e0e2e6;background:#fff;color:#777b83;font-size:11px;text-align:center}
@media(max-width:1100px){#rfc-page .rfc-step-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#rfc-page .rfc-check-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#rfc-page .rfc-related-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(260px,42vw);overflow-x:auto;scroll-snap-type:inline mandatory;padding-bottom:14px}#rfc-page .rfc-related-card{scroll-snap-align:start}}
@media(max-width:760px){#rfc-page .rfc-content-section,#rfc-page .rfc-related,#rfc-page .rfc-faq{padding:56px 22px}#rfc-page .rfc-step-grid,#rfc-page .rfc-layout-grid,#rfc-page .rfc-occasion-grid,#rfc-page .rfc-check-grid{grid-template-columns:1fr}#rfc-page .rfc-step-grid article{min-height:0}#rfc-page .rfc-step-grid article>span{margin-bottom:20px}#rfc-page .rfc-tips{grid-template-columns:1fr;gap:26px;padding:28px 22px}#rfc-page .rfc-tips-list{display:flex;gap:12px;margin-right:-22px;padding-right:22px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}#rfc-page .rfc-tips-list::-webkit-scrollbar{display:none}#rfc-page .rfc-tips-list li{flex:0 0 84%;scroll-snap-align:start}#rfc-page .rfc-related-grid{grid-auto-columns:minmax(260px,82vw);margin-right:-22px;padding-right:22px}#rfc-page .rfc-faq summary{font-size:15px}#rfc-page .rfc-review-line{padding:20px 22px}}

/* 1.3.40 — three template cards per row on wide desktop screens. */
@media(min-width:1181px){
  #rfc-page .template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}


/* 1.3.42 — promotional price hierarchy shared with Maanposter and the other personalisation builders. */
#rfc-page .promo-price-pair{display:flex!important;align-items:baseline!important;gap:9px!important;white-space:nowrap}
#rfc-page .promo-price-new{display:inline-flex;align-items:baseline;gap:.16em;color:var(--red,#d61f2c);font-family:Georgia,serif;font-size:27px;font-weight:600;line-height:.95;text-decoration:none;white-space:nowrap}
#rfc-page .promo-price-currency,#rfc-page .promo-price-amount{display:inline-block;line-height:1}
#rfc-page .promo-price-currency{transform:translateY(.14em)}
#rfc-page .promo-price-old{color:#667176;font-family:Arial,sans-serif;font-size:13px;font-weight:400;text-decoration-thickness:1px}
#rfc-page .photo-price>div{align-items:baseline}
#rfc-page .photo-price .promo-price-label{flex:0 0 auto}
#rfc-page .photo-price .promo-price-pair{font-family:Georgia,serif;font-size:25px;font-weight:500;line-height:1}
#rfc-page .photo-price .promo-price-new{font-size:27px;line-height:.95}
#rfc-page .product-choice{grid-template-columns:44px minmax(0,1fr) auto}
#rfc-page .product-price{display:flex;flex-direction:column;align-items:flex-end;gap:3px;margin:0;color:var(--muted,#667176);font-style:normal;line-height:1.05;white-space:nowrap}
#rfc-page .product-price>span:first-child{font-size:9px;font-weight:400}
#rfc-page .promo-material-price{display:flex;flex-direction:column;align-items:flex-end;gap:2px;font-style:normal;line-height:1.1}
#rfc-page .promo-material-price del{color:#667176;font-size:10px;font-weight:400;text-decoration-thickness:1px}
#rfc-page .promo-material-price ins{color:var(--red,#d61f2c);font-size:13px;font-weight:700;text-decoration:none}
#rfc-page .rfc-discount-trust{display:flex;flex-wrap:wrap;gap:7px 18px;margin:14px 0 0;color:#4e595e;font-size:10px;line-height:1.45}
#rfc-page .rfc-discount-trust span{white-space:normal}
@media(max-width:520px){
  #rfc-page .promo-price-pair{gap:7px!important}
  #rfc-page .photo-price .promo-price-new{font-size:25px}
  #rfc-page .promo-price-old{font-size:12px}
  #rfc-page .product-choice{grid-template-columns:40px minmax(0,1fr) auto;gap:9px;padding:10px 9px}
  #rfc-page .product-price>span:first-child{display:none}
  #rfc-page .promo-material-price del{font-size:9px}
  #rfc-page .promo-material-price ins{font-size:12px}
}

/* 1.3.48 — match the Maanposter material and promotional price presentation. */
#rfc-page .product-grid{
  display:flex;
  flex-direction:column;
  gap:0;
  border-top:1px solid var(--line,#d7d9df);
}
#rfc-page .product-choice{
  display:grid;
  grid-template-columns:44px minmax(0,1fr) auto;
  min-height:68px;
  gap:12px;
  align-items:center;
  padding:14px 12px;
  border:1px solid transparent;
  border-bottom-color:var(--line,#d7d9df);
  background:#fff;
  box-shadow:none;
}
#rfc-page .product-choice:hover{background:#f8f9f9}
#rfc-page .product-choice.active{
  border-color:var(--red,#d61f2c);
  background:#fffafa;
  box-shadow:none;
}
#rfc-page .product-price{justify-self:end}
#rfc-page .product-price>span:first-child{display:none}
#rfc-page .promo-material-price del{font-size:11px}
#rfc-page .promo-material-price ins{font-size:14px}
#rfc-page .product-grid>.size-section{
  margin:0;
  border-color:var(--red,#d61f2c);
  border-top:0;
}
#rfc-page .product-action-row{
  grid-template-columns:minmax(175px,.88fr) minmax(245px,1.12fr);
}
#rfc-page .product-action-row .photo-price{
  display:flex;
  min-height:59px;
  height:59px;
  flex-direction:column;
  justify-content:center;
  padding:8px 14px 9px;
  border:1px solid var(--line,#d7d9df);
  background:#faf8f4;
  box-shadow:inset 4px 0 0 var(--red,#d61f2c);
}
#rfc-page .product-action-row .photo-price>div{display:flex;align-items:baseline}
#rfc-page .product-action-row .promo-price-new{font-size:27px;font-weight:600}
#rfc-page .product-action-row .promo-price-old{font-size:13px}
#rfc-page .product-action-row .promo-price-label,#rfc-page .product-action-row .photo-price>small{display:none}
#rfc-page .product-action-row #create.create-flow{min-height:59px;height:59px}
#rfc-page .rfc-discount-trust{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px 18px;
  margin:14px 0 0;
  color:#4a575c;
  font-size:13px;
  line-height:1.4;
}
#rfc-page .rfc-discount-trust span{white-space:nowrap}
@media(max-width:520px){
  #rfc-page .product-choice{grid-template-columns:40px minmax(0,1fr) auto;gap:9px;padding:11px 9px}
  #rfc-page .product-action-row{grid-template-columns:1fr}
  #rfc-page .product-action-row .photo-price{min-height:72px;height:auto}
  #rfc-page .rfc-discount-trust{justify-content:flex-start}
}

/* 1.3.48 — prevent the legacy .photo-price span rule from shrinking the promotional amount. */
#rfc-page .photo-price .promo-price-new .promo-price-currency,#rfc-page .photo-price .promo-price-new .promo-price-amount{font-size:inherit;color:inherit}

/* 1.3.49 — match the desktop step navigation typography used by Maanposter. */
@media(min-width:701px){
  #rfc-page .steps span{
    align-items:center;
    justify-content:center;
    gap:5px;
    white-space:nowrap;
    font-size:14px;
    font-weight:500;
    line-height:21px;
    letter-spacing:0;
  }
  #rfc-page .steps b{
    flex:0 0 22px;
    width:22px;
    height:22px;
    margin:0;
    font-size:14px;
    font-weight:500;
    line-height:1;
  }
}

/* Letter- en woordcollage 1.4.0 */
#rfc-page[data-creator-mode="letters"] .word-builder{border:1px solid #e0e2e7;background:#f8f7f4;padding:18px;margin:0 0 18px}
#rfc-page[data-creator-mode="letters"] .word-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch}
#rfc-page[data-creator-mode="letters"] #shape-text{height:52px;font-family:Arial Black,Arial,sans-serif;font-size:24px;font-weight:900;letter-spacing:.045em;text-transform:uppercase}
#rfc-page[data-creator-mode="letters"] #use-word-design{width:auto;min-width:185px;margin:0;padding:0 18px}
#rfc-page[data-creator-mode="letters"] .word-examples{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:12px;color:#787b83;font-size:11px}
#rfc-page[data-creator-mode="letters"] .word-examples button{border:1px solid #d6d9df;background:#fff;color:#a52a34;padding:5px 9px;font-weight:700}
#rfc-page[data-creator-mode="letters"] #word-photo-count{margin:10px 0 0}
#rfc-page[data-creator-mode="letters"] .template-grid{display:none}
#rfc-page[data-creator-mode="letters"] .template-grid:after{display:none}
#rfc-page[data-creator-mode="letters"] .template .paper{aspect-ratio:1.5}
#rfc-page[data-creator-mode="letters"] .kind-word .paper-title{display:none}
#rfc-page[data-creator-mode="letters"] .site-gallery,#rfc-page[data-creator-mode="letters"] .rfc-layout-guide{display:none}
#rfc-page .word-photos{position:absolute;inset:0}
#rfc-page .word-symbol{position:absolute;z-index:4;display:flex;align-items:center;justify-content:center;color:#b7a18d;font-family:Georgia,serif;font-size:clamp(22px,5.4cqw,58px);line-height:1;pointer-events:none}
#rfc-page[data-creator-mode="letters"] .hero-preview{min-height:430px}
#rfc-page[data-creator-mode="letters"] .hero-preview .paper{width:min(100%,920px)}
#rfc-page[data-creator-mode="letters"] .word-builder{margin-bottom:0}
#rfc-page #photo-next:disabled{cursor:not-allowed;background:#aeb5b7;box-shadow:none;opacity:.82}
@media(max-width:650px){#rfc-page[data-creator-mode="letters"] .word-input-row{grid-template-columns:1fr}#rfc-page[data-creator-mode="letters"] #use-word-design{height:48px;width:100%}}

/* Letter creator: keep the full value readable and give the primary action a clear row. */
#rfc-page[data-creator-mode="letters"] .word-input-row{grid-template-columns:1fr}
#rfc-page[data-creator-mode="letters"] #shape-text{font-size:25px;letter-spacing:.02em}
#rfc-page[data-creator-mode="letters"] #use-word-design{width:100%;min-height:52px;margin-top:0}
#rfc-page[data-creator-mode="letters"] #shape-text{font-family:RFCArchivo,Arial Black,Arial,sans-serif;font-weight:900;letter-spacing:.02em}
#rfc-page .word-empty-message{position:absolute;inset:0;z-index:8;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#697278;pointer-events:none}
#rfc-page .word-empty-message strong{font:700 18px/1.3 Arial,sans-serif;color:#343b3f}
#rfc-page .word-empty-message span{margin-top:6px;font:13px/1.4 Arial,sans-serif}

/* Three per-glyph collage compositions. */
#rfc-page[data-creator-mode="letters"] .word-layout-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 14px}
#rfc-page[data-creator-mode="letters"] .word-layout-picker button{min-width:0;border:1px solid #d7dade;background:#fff;padding:10px 8px;text-align:left;color:#343b3f;transition:border-color .15s,box-shadow .15s,background .15s}
#rfc-page[data-creator-mode="letters"] .word-layout-picker button.active{border:2px solid #d9212d;padding:9px 7px;background:#fffafa;box-shadow:0 0 0 2px rgba(217,33,45,.08)}
#rfc-page[data-creator-mode="letters"] .word-layout-picker strong,#rfc-page[data-creator-mode="letters"] .word-layout-picker small{display:block}
#rfc-page[data-creator-mode="letters"] .word-layout-picker strong{margin-top:7px;font:700 12px/1.25 Arial,sans-serif}
#rfc-page[data-creator-mode="letters"] .word-layout-picker small{margin-top:3px;color:#757a80;font:10px/1.3 Arial,sans-serif}
#rfc-page[data-creator-mode="letters"] .word-layout-icon{display:grid;width:100%;height:42px;overflow:hidden;clip-path:polygon(28% 0,72% 0,100% 100%,72% 100%,59% 58%,41% 58%,28% 100%,0 100%);gap:2px;background:#f2eee8}
#rfc-page[data-creator-mode="letters"] .word-layout-icon i{display:block;background:linear-gradient(135deg,#95b4c0,#d5aa78 52%,#667e68)}
#rfc-page[data-creator-mode="letters"] .word-layout-icon.mosaic{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}
#rfc-page[data-creator-mode="letters"] .word-layout-icon.hero{grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr}
#rfc-page[data-creator-mode="letters"] .word-layout-icon.hero i:first-child{grid-row:1/3}
#rfc-page[data-creator-mode="letters"] .word-layout-icon.minimal{display:block}
#rfc-page[data-creator-mode="letters"] .word-layout-icon.minimal i{width:100%;height:100%}
@media(max-width:650px){#rfc-page[data-creator-mode="letters"] .word-layout-picker{grid-template-columns:1fr}.word-layout-icon{height:36px}}


/* 1.5.8 — benefits directly below the next-step actions. */
#rfc-page .rfc-step-trust{display:flex;flex-wrap:wrap;justify-content:center;gap:9px 24px;margin:16px 2px 0;color:#4a575c;font-size:13px;line-height:1.45;text-align:center}
#rfc-page .rfc-step-trust span{white-space:nowrap}
#rfc-page .photo-action-bar:has(#photo-next.hidden)+.rfc-step-trust{display:none}
@media(max-width:620px){#rfc-page .rfc-step-trust{justify-content:flex-start;gap:8px 16px;font-size:12px;text-align:left}#rfc-page .rfc-step-trust span{white-space:normal}}

/* 1.7.3 — keep the design catalogue compact and scroll it inside its own field. */
#rfc-page .template-grid{
  max-height:460px;
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  padding:10px;
  border:1px solid #d9dedf;
  background:#fff;
  scrollbar-gutter:stable;
}
@media(max-width:700px){
  #rfc-page .template-grid{max-height:420px;padding:8px}
}
/* Links from the creator hub to the material-specific guides. */
.materials-showcase .rfc-material-guide-link{color:inherit;text-decoration:none;text-underline-offset:3px}
.materials-showcase .rfc-material-guide-link:after{color:#d61f2c;content:" →"}
.materials-showcase .rfc-material-guide-link:hover{text-decoration:underline}
.materials-showcase .rfc-material-guide-link:focus-visible{outline:2px solid #d61f2c;outline-offset:4px}

/* Expanded examples module on the NL creator hub. */
#rfc-page #fotocollage-voorbeelden{scroll-margin-top:24px}
#rfc-page .rfc-layout-option{margin-top:16px;padding-top:16px;border-top:1px solid #e0e2e6}
#rfc-page .rfc-layout-option b{display:block;margin-bottom:6px;color:#202728;font-size:14px;line-height:1.35}
#rfc-page .rfc-layout-option p{color:#5a6468;line-height:1.55}
@media(max-width:540px){#rfc-page .rfc-layout-grid{display:flex;gap:14px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:6px}#rfc-page .rfc-layout-grid::-webkit-scrollbar{display:none}#rfc-page .rfc-layout-grid article{flex:0 0 86%;scroll-snap-align:start;scroll-snap-stop:always}}
/* Mobile carousel for the examples gallery. */
@media(max-width:540px){#rfc-page .site-collage-grid{display:flex;grid-template-columns:none;gap:14px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:6px}#rfc-page .site-collage-grid::-webkit-scrollbar{display:none}#rfc-page .site-collage-card{flex:0 0 86%;scroll-snap-align:start;scroll-snap-stop:always}}
/* Compact example cards on the NL hub. */
@media(min-width:1101px){#rfc-page .site-collage-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}}
@media(min-width:901px) and (max-width:1100px){#rfc-page .site-collage-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}}
@media(max-width:540px){#rfc-page .site-collage-card{flex-basis:72%;padding:9px}#rfc-page .site-collage-card strong{font-size:16px}}
/* Extra compact example cards on the NL hub. */
@media(min-width:1101px){#rfc-page .site-collage-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}}
@media(min-width:901px) and (max-width:1100px){#rfc-page .site-collage-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}}
@media(min-width:541px) and (max-width:900px){#rfc-page .site-collage-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}}
@media(max-width:540px){#rfc-page .site-collage-card{flex-basis:64%;padding:8px}#rfc-page .site-collage-card strong{font-size:15px}}
/* Small thumbnail cards on the NL hub. */
@media(min-width:1200px){#rfc-page .site-collage-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:10px}#rfc-page .site-collage-card{padding:8px}#rfc-page .site-collage-card strong{font-size:14px;line-height:1.25}#rfc-page .site-collage-card small{font-size:10px}}
@media(min-width:901px) and (max-width:1199px){#rfc-page .site-collage-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}}
@media(max-width:540px){#rfc-page .site-collage-card{flex-basis:56%;padding:7px}#rfc-page .site-collage-card strong{font-size:14px;line-height:1.25}#rfc-page .site-collage-card small{font-size:10px}}
/* Center the second row of the 12 compact examples on wide screens. */
@media(min-width:1200px){#rfc-page .site-collage-card:nth-child(9){grid-column:3}}
/* Final compact sizing for 12 example cards. */
@media(min-width:1200px){#rfc-page .site-collage-grid{grid-template-columns:repeat(9,minmax(0,1fr));gap:9px}#rfc-page .site-collage-card{padding:7px}#rfc-page .site-collage-card:nth-child(9){grid-column:auto}#rfc-page .site-collage-card:nth-child(10){grid-column:4}#rfc-page .site-collage-card strong{font-size:13px}#rfc-page .site-collage-card small{font-size:9px}}
@media(min-width:901px) and (max-width:1199px){#rfc-page .site-collage-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}}
@media(max-width:540px){#rfc-page .site-collage-card{flex-basis:48%;padding:6px}#rfc-page .site-collage-card strong{font-size:13px}#rfc-page .site-collage-card small{font-size:9px}}
/* Balanced rows for 16 compact example cards. */
@media(min-width:1200px){#rfc-page .site-collage-card:nth-child(10){grid-column:2}}
@media(min-width:901px) and (max-width:1199px){#rfc-page .site-collage-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:9px}}
/* Two complete rows for 20 compact example cards. */
@media(min-width:1200px){#rfc-page .site-collage-grid{grid-template-columns:repeat(10,minmax(0,1fr));gap:8px}#rfc-page .site-collage-card:nth-child(10){grid-column:auto}#rfc-page .site-collage-card strong{font-size:12px}#rfc-page .site-collage-card small{font-size:9px}}
/* 1.8.4 — compact cadeau assortment beneath the NL collage guide. */
#rfc-page .rfc-related-intro{max-width:760px;margin:0;color:#646872;font-size:15px;line-height:1.72}
@media(min-width:1280px){#rfc-page .rfc-related-grid{grid-template-columns:repeat(5,minmax(0,220px));gap:14px}}
#rfc-page .rfc-related-grid{margin-top:26px}
#rfc-page .rfc-related-media{aspect-ratio:1.45}
#rfc-page .rfc-related-body{padding:14px}
#rfc-page .rfc-related-body small{font-size:8px;line-height:1.35}
#rfc-page .rfc-related-body h3{margin:7px 0 6px;font-size:17px;line-height:1.22}
#rfc-page .rfc-related-body p{margin-bottom:13px;font-size:11.5px;line-height:1.5}
#rfc-page .rfc-related-body>span{font-size:11px}
@media(max-width:1100px){#rfc-page .rfc-related-grid{scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}#rfc-page .rfc-related-grid::-webkit-scrollbar{display:none}#rfc-page .rfc-related-card{scroll-snap-align:start;scroll-snap-stop:always}}
@media(max-width:760px){#rfc-page .rfc-related-grid{display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;padding-bottom:8px}#rfc-page .rfc-related-card{flex:0 0 78%;min-width:0}}
/* 1.8.5 — let the two five-card cadeau rows use the complete content width. */
@media(min-width:1101px){#rfc-page .rfc-related-grid{width:100%;grid-template-columns:repeat(5,minmax(0,1fr))}}
/* 1.8.6 — ten compact cadeau cards in one horizontal desktop row. */
@media(min-width:1101px){
  #rfc-page .rfc-related-grid{
    display:grid;
    width:100%;
    grid-template-columns:repeat(10,minmax(180px,220px));
    grid-auto-flow:row;
    justify-content:space-between;
    gap:14px;
    overflow-x:auto;
    overflow-y:hidden;
    overscroll-behavior-inline:contain;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
    padding-bottom:10px;
  }
  #rfc-page .rfc-related-card{scroll-snap-align:start;scroll-snap-stop:always}
}
/* Related gifts: keep the complete birth cushion visible inside its tile. */
#rfc-page .rfc-related-card-cushion .rfc-related-media{background:#fff}
#rfc-page .rfc-related-card-cushion .rfc-related-media img{
  object-fit:contain;
  box-sizing:border-box;
  padding:10px 14px;
}
@media(max-width:760px){
  #rfc-page .rfc-related-card-cushion .rfc-related-media img{padding:12px 18px}
}
/* Related gifts v2: add more breathing room so the complete birth cushion is visible. */
#rfc-page .rfc-related-card-cushion .rfc-related-media img{padding:18px 24px}
@media(max-width:760px){
  #rfc-page .rfc-related-card-cushion .rfc-related-media img{padding:16px 20px}
}
/* Center the FAQ content while preserving the full-width section background. */
#rfc-page .rfc-faq > .section-kicker,
#rfc-page .rfc-faq > h2,
#rfc-page .rfc-faq > .rfc-faq-list{
  width:100%;
  max-width:980px;
  margin-left:auto;
  margin-right:auto;
}
#rfc-page .rfc-faq > h2{max-width:980px}
/* Prevent the mobile gift carousel from widening the page viewport. */
@media(max-width:760px){
  #rfc-page .rfc-related{overflow-x:clip}
  #rfc-page .rfc-related-grid{
    width:100%;
    max-width:100%;
    margin-right:0;
    overscroll-behavior-inline:contain;
  }
}
/* Keep the page viewport fixed while preserving horizontal scrolling inside carousels. */
body#module-resfotocollage-design{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}
body#module-resfotocollage-design #rfc-page{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}
body#module-resfotocollage-design #rfc-page .rfc-layout-grid,
body#module-resfotocollage-design #rfc-page .site-collage-grid,
body#module-resfotocollage-design #rfc-page .rfc-related-grid{
  overscroll-behavior-inline:contain;
}
/* The document root is the horizontal scrolling element in mobile Safari. */
html{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  overscroll-behavior-x:none;
}
body#module-resfotocollage-design{
  position:relative;
  overscroll-behavior-x:none;
}
/* Remove the Bootstrap 15px row overhang on the full-width fotocollage route. */
body#module-resfotocollage-design #wrapper>.container>.row,
body#module-resfotocollage-design footer#footer>.container>.row,
body#module-resfotocollage-design footer#footer .footer-bottom>.row{
  margin-left:0!important;
  margin-right:0!important;
}
body#module-resfotocollage-design #content-wrapper{
  width:100%!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
}


/* 1.9.8 — price, next-step action and benefits below the design catalogue. */
#rfc-page .design-step-cta{margin-top:18px}
#rfc-page .design-step-cta .photo-action-bar{margin-top:0}
#rfc-page #design-next{position:static;width:100%;min-height:78px;margin:0;padding:12px 15px 12px 20px;border:0;background:var(--red,#dc1f2c);color:#fff;box-shadow:0 8px 22px rgba(220,31,44,.18);display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left;text-transform:none;letter-spacing:0}
#rfc-page #design-next>span{display:flex;flex-direction:column;gap:3px;min-width:0}
#rfc-page #design-next small{font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;opacity:.9}
#rfc-page #design-next strong{font-size:17px;line-height:1.1}
#rfc-page #design-next>b{flex:0 0 38px;width:38px;height:38px;display:grid;place-items:center;border:1px solid #ffffff80;border-radius:50%;font-size:23px;font-weight:400;line-height:1}
#rfc-page #design-next:disabled{cursor:not-allowed;background:#aeb5b7;box-shadow:none;opacity:.82}
@media(max-width:520px){#rfc-page #design-next{min-height:72px}}

/* 1.9.9 — remove a photo directly from its collage slot. */
#rfc-page .preview-remove-photo{position:absolute;right:43px;top:7px;z-index:6;display:grid;place-items:center;width:30px;height:30px;border:2px solid #fff;border-radius:50%;background:var(--red,#d61f2c);color:#fff;font:700 21px/1 Arial;box-shadow:0 2px 7px rgba(0,0,0,.24);cursor:pointer;transition:transform .15s,background .15s}
#rfc-page .preview-remove-photo:hover,#rfc-page .preview-remove-photo:focus-visible{transform:scale(1.08);background:var(--red-hover,#b71924);outline:2px solid #fff;outline-offset:1px}
#rfc-page .preview-photo-hitbox.shape-circle .preview-remove-photo{right:calc(12% + 36px);top:12%}
@media(max-width:760px){#rfc-page .preview-remove-photo{right:37px;top:5px;width:26px;height:26px;font-size:19px}#rfc-page .preview-photo-hitbox.shape-circle .preview-remove-photo{right:calc(12% + 32px)}}

/* 1.9.10 — keep the removed end-of-list marker hidden on NL too. */
#rfc-page .template-grid:after{display:none!important}

/* 1.9.11 — match the shared configurator price, CTA and trust pattern. */
#rfc-page .design-step-cta{margin-top:18px}
#rfc-page .design-step-cta .design-action-bar{grid-template-columns:minmax(175px,.88fr) minmax(245px,1.12fr);align-items:stretch;gap:12px;margin-top:0}
#rfc-page .design-step-cta .photo-price{display:flex;min-height:54px;flex-direction:column;justify-content:center;align-items:stretch;gap:4px;padding:8px 14px 9px;border:1px solid #d9dedf;background:#faf8f4;box-shadow:inset 3px 0 0 var(--red,#d61f2c)}
#rfc-page .design-step-cta .photo-price>.promo-price-label{align-self:flex-start;color:#667176;font-size:9px;font-weight:700;line-height:1;letter-spacing:.11em;text-transform:uppercase;white-space:nowrap}
#rfc-page .design-step-cta .photo-price>.promo-price-pair{display:flex!important;flex-direction:row!important;align-items:baseline!important;gap:9px!important;margin:0!important;white-space:nowrap!important;font-family:Georgia,serif;font-size:25px;font-weight:500;line-height:1;letter-spacing:normal}
#rfc-page .design-step-cta .photo-price .promo-price-new{display:inline-flex!important;align-items:baseline!important;gap:.16em!important;margin:0!important;color:#d61f2c!important;font:600 27px/.95 Georgia,serif!important;text-decoration:none!important;white-space:nowrap!important}
#rfc-page .design-step-cta .photo-price .promo-price-old{display:inline-block!important;margin:0!important;color:#667176!important;font:400 13px/1 Arial,sans-serif!important;text-decoration:line-through 1px!important;white-space:nowrap!important}
#rfc-page .design-step-cta .photo-price>small{display:none}
#rfc-page #design-next{width:auto;min-height:54px;padding:8px 11px 8px 16px;gap:14px;box-shadow:0 5px 14px rgba(214,31,44,.18);transition:background .18s,transform .18s,box-shadow .18s}
#rfc-page #design-next>span{gap:0;line-height:1.12}
#rfc-page #design-next small{font-size:10px;font-weight:400;line-height:1.5;letter-spacing:normal;text-transform:uppercase}
#rfc-page #design-next strong{font-size:14px;line-height:1.5;font-weight:700;white-space:nowrap}
#rfc-page #design-next>b{flex:0 0 31px;width:31px;height:31px;border-color:rgba(255,255,255,.34);font-size:14px;line-height:1}
#rfc-page #design-next:not(:disabled):hover{background:var(--red-hover,#bd1823);transform:translateY(-1px);box-shadow:0 7px 18px rgba(189,24,35,.24)}
#rfc-page #design-next:disabled{background:var(--red,#d61f2c);cursor:not-allowed;opacity:.55;box-shadow:0 5px 14px rgba(214,31,44,.18)}
#rfc-page .design-step-cta .rfc-step-trust{justify-content:center;gap:8px 18px;margin:20px 0 0;color:#4a575c;font-size:13px;font-weight:500;line-height:1.5;text-align:center}
@media(max-width:700px){#rfc-page .design-step-cta .design-action-bar{grid-template-columns:minmax(0,1fr)}#rfc-page .design-step-cta .photo-price>.promo-price-pair{gap:7px!important}#rfc-page .design-step-cta .photo-price .promo-price-new{font-size:24px!important}#rfc-page .design-step-cta .photo-price .promo-price-old{font-size:12px!important}}

/* 1.9.12 — use the same action framing and typography in every configurator step. */
#rfc-page .photo-action-bar,#rfc-page .step-actions,#rfc-page .product-action-row{grid-template-columns:minmax(175px,.88fr) minmax(245px,1.12fr);gap:12px;align-items:stretch;margin-top:18px}
#rfc-page .photo-price{box-sizing:border-box;min-height:59px;height:auto;padding:8px 14px 9px;border:1px solid #d9dedf;border-left:1px solid #d9dedf;background:#faf8f4;box-shadow:inset 3px 0 0 var(--red,#d61f2c)}
#rfc-page .photo-price>div{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;white-space:normal}
#rfc-page .photo-price .promo-price-label{align-self:flex-start;color:#667176;font-size:9px;font-weight:700;line-height:1;letter-spacing:.11em;text-transform:uppercase;white-space:nowrap}
#rfc-page .photo-price .promo-price-pair{display:flex!important;flex-direction:row!important;align-items:baseline!important;gap:9px!important;margin:0!important;white-space:nowrap!important;font-family:Georgia,serif;font-size:25px;font-weight:500;line-height:1;letter-spacing:normal}
#rfc-page .photo-price .promo-price-new{display:inline-flex!important;align-items:baseline!important;gap:.16em!important;margin:0!important;color:#d61f2c!important;font:600 27px/.95 Georgia,serif!important;text-decoration:none!important;white-space:nowrap!important}
#rfc-page .photo-price .promo-price-old{display:inline-block!important;margin:0!important;color:#667176!important;font:400 13px/1 Arial,sans-serif!important;text-decoration:line-through 1px!important;white-space:nowrap!important}
#rfc-page .photo-price>small{display:none}
#rfc-page #photo-next:not(.hidden),#rfc-page .step-actions .flow-next,#rfc-page .product-action-row #create.create-flow,#rfc-page #design-next{box-sizing:border-box;width:auto;min-height:59px;height:auto;margin:0;padding:8px 11px 8px 16px;gap:14px;border:0;background:var(--red,#d61f2c);color:#fff;box-shadow:0 5px 14px rgba(214,31,44,.18);transition:background .18s,transform .18s,box-shadow .18s}
#rfc-page #photo-next>span,#rfc-page .flow-next>span,#rfc-page #design-next>span{gap:0;min-width:0;line-height:1.12}
#rfc-page #photo-next small,#rfc-page .flow-next small,#rfc-page #design-next small{font-size:10px;font-weight:400;line-height:1.5;letter-spacing:normal;text-transform:uppercase}
#rfc-page #photo-next strong,#rfc-page .flow-next strong,#rfc-page #design-next strong{max-width:100%;overflow:hidden;font-size:14px;font-weight:700;line-height:1.5;white-space:nowrap;text-overflow:ellipsis}
#rfc-page #photo-next>b,#rfc-page .flow-next>b,#rfc-page #design-next>b{flex:0 0 31px;width:31px;height:31px;border-color:rgba(255,255,255,.34);font-size:14px;line-height:1;opacity:1}
#rfc-page #photo-next:not(:disabled):hover,#rfc-page .flow-next:not(:disabled):hover,#rfc-page #design-next:not(:disabled):hover{background:var(--red-hover,#bd1823)!important;transform:translateY(-1px);box-shadow:0 7px 18px rgba(189,24,35,.24)}
#rfc-page #photo-next:disabled,#rfc-page .flow-next:disabled,#rfc-page #design-next:disabled{background:var(--red,#d61f2c)!important;cursor:not-allowed;opacity:.55;box-shadow:0 5px 14px rgba(214,31,44,.18)}
#rfc-page .rfc-step-trust,#rfc-page .rfc-discount-trust{justify-content:center;gap:8px 18px;margin:20px 0 0;color:#4a575c;font-size:13px;font-weight:500;line-height:1.5;text-align:center}
@media(max-width:700px){#rfc-page .photo-action-bar,#rfc-page .step-actions,#rfc-page .product-action-row{grid-template-columns:minmax(0,1fr);gap:10px}#rfc-page .photo-price,#rfc-page #photo-next:not(.hidden),#rfc-page .step-actions .flow-next,#rfc-page .product-action-row #create.create-flow,#rfc-page #design-next{min-height:54px;height:auto}#rfc-page #photo-next strong,#rfc-page .flow-next strong,#rfc-page #design-next strong{white-space:normal;text-overflow:clip}#rfc-page .rfc-step-trust,#rfc-page .rfc-discount-trust{justify-content:flex-start;text-align:left}}

/* 1.9.13 — keep the final price card border identical to the earlier steps. */
#rfc-page .product-action-row .photo-price{box-shadow:inset 3px 0 0 var(--red,#d61f2c)}

/* 1.9.15 — stable mobile preview height and non-overlapping photo controls. */
@media(max-width:760px){
  #rfc-page.mobile-preview-active .showcase{height:50svh;max-height:50svh}
  #rfc-page.mobile-preview-active .hero-preview .paper{height:calc(50svh - 16px)!important;max-height:calc(50svh - 16px)}
  #rfc-page .preview-edit-pencil,#rfc-page .preview-remove-photo{width:19px;height:19px;top:3px;border-width:1px;box-shadow:0 1px 4px rgba(0,0,0,.2)}
  #rfc-page .preview-remove-photo{right:26px;font-size:14px}
  #rfc-page .preview-photo-hitbox.shape-circle .preview-remove-photo{right:calc(12% + 23px);top:12%}
}

/* 1.9.16 — keep ornament steppers legible in the four-column mobile grid. */
@media(max-width:520px){
  #rfc-page .ornament-stepper{grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr)}
  #rfc-page .ornament-quantity{min-width:0;font-size:18px}
  #rfc-page .ornament-count{min-width:0;font-size:12px}
}

/* 1.9.17 — turn the secondary photo upload area into a clear action. */
#rfc-page .upload-block-ready .file{min-height:54px;flex-direction:row;justify-content:center;gap:10px;padding:11px 16px;border:1px solid var(--red,#d61f2c);background:var(--red,#d61f2c);color:#fff;box-shadow:0 5px 14px rgba(214,31,44,.18)}
#rfc-page .upload-block-ready .file .upload-arrow{flex:0 0 30px;width:30px;height:30px;margin:0;border:1px solid #fff;background:transparent;color:#fff;font-size:22px}
#rfc-page .upload-block-ready .file strong{margin:0;color:#fff;font-size:13px}
#rfc-page .upload-block-ready .file:hover,#rfc-page .upload-block-ready .file:focus-within{border-color:var(--red-hover,#bd1823);background:var(--red-hover,#bd1823)}
#rfc-page .upload-block-ready .file:hover .upload-arrow,#rfc-page .upload-block-ready .file:focus-within .upload-arrow{transform:translateY(-1px);background:transparent;color:#fff}

/* 1.9.18 — hand mobile scrolling back to the page at the catalogue edges. */
@media(max-width:700px){#rfc-page .template-grid{overscroll-behavior-y:auto;touch-action:pan-y}}

/* 1.9.19 — use the page scroll on mobile; Safari must not trap touch inside the catalogue. */
@media(max-width:700px){#rfc-page .template-grid{max-height:none;overflow-y:visible;overscroll-behavior:auto;touch-action:auto}}

/* 1.9.20 — stable mobile preview and an always-available design CTA. */
@media(max-width:700px){
  #rfc-page .hero-preview{height:clamp(320px,56svh,520px);min-height:0;overflow:hidden}
  #rfc-page .hero-preview .paper{width:auto;max-width:100%;height:100%;max-height:100%}
  #rfc-page .design-step{padding-bottom:88px}
  #rfc-page .design-step-cta .design-action-bar{position:fixed;z-index:90;left:0;right:0;bottom:0;grid-template-columns:minmax(112px,.72fr) minmax(0,1.28fr);gap:8px;margin:0;padding:9px 12px calc(9px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -5px 20px #1c263326}
  #rfc-page .design-step-cta .photo-price,#rfc-page .design-step-cta #design-next{min-height:58px}
  #rfc-page .design-step-cta .photo-price{padding:7px 10px 8px}
  #rfc-page .design-step-cta #design-next small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

/* 1.9.21 — curtain-style pinned preview while editing on mobile. */
@media(max-width:760px){
  #rfc-page.mobile-preview-active .showcase{height:38svh;max-height:360px;min-height:220px;padding:7px 12px}
  #rfc-page.mobile-preview-active .hero-preview{height:100%;max-height:100%;min-height:0}
  #rfc-page.mobile-preview-active .hero-preview .paper{height:min(calc(38svh - 16px),344px)!important;max-height:min(calc(38svh - 16px),344px)}
  #rfc-page.mobile-preview-active #upload-block,#rfc-page.mobile-preview-active #personalize-block,#rfc-page.mobile-preview-active #product-block{scroll-margin-top:calc(min(38svh,360px) + 14px)}
}

/* 1.9.29-final — Safari sticky preview and contained mobile dock price. */
@media(max-width:760px){
  html,body#module-resfotocollage-design,body#module-resfotocollage-design #rfc-page{overflow-x:clip!important;overflow-y:visible!important}
  #rfc-page .shell{overflow:visible}
  #rfc-page.mobile-preview-active .showcase{position:-webkit-sticky!important;position:sticky!important;top:0;align-self:flex-start}
}
@media(max-width:700px){
  #rfc-page .design-step-cta .design-action-bar{grid-template-columns:minmax(136px,.76fr) minmax(0,1.24fr)}
  #rfc-page .design-step-cta .photo-price{min-width:0;padding-right:8px;padding-left:8px;overflow:hidden}
  #rfc-page .design-step-cta .photo-price>.promo-price-pair{gap:5px!important}
  #rfc-page .design-step-cta .photo-price .promo-price-new{font-size:21px!important}
  #rfc-page .design-step-cta .photo-price .promo-price-old{font-size:10px!important}
}

/* 1.9.32: viewport-fixed mobile preview, stable spacer and sealed top edge. */
#rfc-page .rfc-preview-space{display:none}
@media(max-width:760px){
 #rfc-page .rfc-preview-space{display:block;height:0;flex:none;order:0;pointer-events:none}
 body #rfc-page.mobile-preview-active .showcase{position:relative!important;top:auto;transform:none;transition:none!important;animation:none!important}
 #rfc-page.mobile-preview-active.mobile-preview-docked .rfc-preview-space{height:var(--rfc-preview-height,300px)}
 body #rfc-page.mobile-preview-active.mobile-preview-docked .showcase{position:fixed!important;top:-2px!important;left:0!important;right:0!important;width:100%!important;margin:0!important;height:calc(var(--rfc-preview-height,300px) + 2px)!important;max-height:calc(var(--rfc-preview-height,300px) + 2px)!important;padding-top:9px;z-index:90;isolation:isolate}
 body #rfc-page.mobile-preview-active.mobile-preview-docked.mobile-preview-past .showcase{visibility:hidden;pointer-events:none}
}

/* 1.9.33: preserve both the photo ratio and its full visible container. */
#rfc-page #crop-stage{max-width:none!important;max-height:none!important;min-width:0;min-height:0;flex-shrink:0;grid-area:auto}
#rfc-page .crop-stage-wrap{display:flex;align-items:center;justify-content:center}
@media(max-width:760px){#rfc-page .crop-layout{display:flex;flex-direction:column}#rfc-page .crop-stage-wrap,#rfc-page .crop-controls{flex:0 0 auto}}

/* 1.9.34: footer reaches the visual viewport bottom; only native safe area remains. */
@media(max-width:760px){
 #rfc-page .crop-dialog{gap:0}
 #rfc-page .crop-layout{flex:1 1 auto;min-height:0}
 #rfc-page .crop-actions{flex:0 0 auto;margin:0;padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))}
}

/* 1.9.35: compact mobile crop header; retain the accessible dialog name. */
@media(max-width:760px){
 #rfc-page .crop-dialog-head{padding:4px 16px;justify-content:flex-end;gap:0;border-bottom:0}
 #rfc-page .crop-dialog-head>div{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
 #rfc-page .crop-dialog-head .crop-close{width:44px;height:44px;min-width:44px;min-height:44px;margin:0;display:grid;place-items:center;padding:0}
 #rfc-page .crop-layout{padding-top:4px}
}
