/* Praised $5 personalized-image builder — scoped so the existing site stays untouched. */
#custom .custom-builder-wrap{margin-top:54px;border-top:1px solid #fff;padding-top:34px}
#custom .custom-builder{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(330px,.72fr);gap:52px;align-items:start}
#custom .custom-panel{padding:30px;border:1px solid #fff;background:#000}
#custom .custom-builder-wrap,#custom .custom-builder,#custom .custom-panel,#custom .custom-preview-column,#custom .custom-fields,#custom .custom-choice-group{min-width:0;max-width:100%}
#custom .custom-panel,#custom .custom-preview-column{width:100%}
#custom .custom-fields{display:grid;grid-template-columns:1fr 1fr;gap:17px}
#custom .custom-order-fields{margin-bottom:30px}
#custom .custom-field{display:grid;gap:8px;font-size:.7rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase}
#custom .custom-field>span{color:#a8a8a8;font-size:.62rem;font-weight:500;letter-spacing:.06em}
#custom .custom-field.full{grid-column:1/-1}
#custom .custom-field input,#custom .custom-field textarea{width:100%;margin:0;padding:13px;border:1px solid #fff;border-radius:0;color:#fff;background:#000;outline:none;text-transform:none;letter-spacing:normal;font-size:1rem;font-weight:400}
#custom .custom-field textarea{min-height:96px;resize:vertical;line-height:1.45}
#custom .custom-field input:focus,#custom .custom-field textarea:focus{box-shadow:0 0 0 2px #fff}
#custom .custom-choice-group{min-width:0;margin:0;padding:28px 0;border:0;border-top:1px solid #525252}
#custom .custom-choice-group legend{display:flex;max-width:100%;min-width:0;align-items:center;gap:10px;padding:0 16px 0 0;font-family:var(--serif);font-size:1.35rem;font-weight:600}
#custom .custom-choice-group legend span{display:grid;place-items:center;width:30px;height:30px;border:1px solid #fff;border-radius:50%;font-family:var(--sans);font-size:.68rem}
#custom .custom-choice-group legend em{margin-left:auto;color:#a8a8a8;font-family:var(--sans);font-size:.68rem;font-style:normal;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
#custom .custom-photo-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:18px}
#custom .custom-photo-tone-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:18px}
#custom .custom-photo-tone-tab{min-height:48px;padding:12px 14px;border:1px solid #fff;background:#000;color:#fff;font-size:.8rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
#custom .custom-photo-tone-tab.is-active{background:#fff;color:#000}
#custom .custom-photo-tone-tab:focus-visible{outline:3px solid #fff;outline-offset:3px}
#custom .custom-photo-panel .custom-photo-grid{margin-top:18px}
#custom .custom-photo-choice{cursor:pointer}
#custom .custom-photo-choice input{position:absolute;width:1px;height:1px;margin:0;padding:0;overflow:hidden;border:0;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;opacity:0;pointer-events:none}
#custom .custom-photo-choice span{display:grid;gap:7px;padding:6px;border:1px solid #555;background:#111;transition:border-color .15s,transform .15s}
#custom .custom-photo-choice img{width:100%;aspect-ratio:1/1.35;object-fit:cover}
#custom .custom-photo-choice b{padding:0 3px 3px;font-size:.66rem;font-weight:600;line-height:1.2;text-align:center}
#custom .custom-photo-choice input:checked+span{border-color:#fff;box-shadow:0 0 0 2px #fff;transform:translateY(-2px)}
#custom .custom-photo-choice input:focus-visible+span{outline:3px solid #fff;outline-offset:3px}
#custom .custom-choice-label{margin:20px 0 10px;font-size:.68rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
#custom .custom-choice-label.christian{margin-top:24px;padding-top:20px;border-top:1px dashed #555}
#custom .custom-phrase-list{display:grid;gap:8px}
#custom .custom-phrase-list label{cursor:pointer}
#custom .custom-phrase-list input{position:absolute;width:1px;height:1px;margin:0;padding:0;overflow:hidden;border:0;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;opacity:0;pointer-events:none}
#custom .custom-phrase-list span{display:block;padding:12px 14px;border:1px solid #555;color:#d2d2d2;background:#0a0a0a;font-family:var(--serif);font-size:.95rem;line-height:1.35;overflow-wrap:anywhere;transition:border-color .15s,color .15s,background .15s}
#custom .custom-phrase-list input:checked+span{border-color:#fff;color:#000;background:#fff}
#custom .custom-phrase-list input:focus-visible+span{outline:3px solid #fff;outline-offset:3px}
#custom .custom-personalize{padding-bottom:6px}
#custom .custom-included{margin-top:25px;padding-top:22px;border-top:1px solid #fff}
#custom .custom-included-title{margin:0 0 12px;font-weight:700}
#custom .custom-chips{display:flex;flex-wrap:wrap;gap:8px}
#custom .custom-chip{padding:7px 10px;border:1px solid #fff;border-radius:999px;font-size:.7rem;letter-spacing:.05em}
#custom .custom-actions{margin-top:22px}
#custom .custom-submit{width:100%}
#custom .custom-submit:disabled{cursor:wait;opacity:.6}
#custom .custom-form-status{min-height:20px;margin:10px 0 0;color:#d2d2d2;font-size:.74rem;text-align:center}
#custom .custom-form-status.error{color:#fff;text-decoration:underline}
#custom .custom-checkout-details .custom-order-fields{margin:18px 0 0}
#custom .custom-order-summary{margin:16px 0 0;padding:13px 0 0;border-top:1px dashed #777;font-size:.75rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
#custom .custom-review-prompt{display:grid;gap:9px;margin-top:20px}#custom .custom-review-button{width:100%;min-height:52px;border-color:#fff;background:#000;color:#fff}#custom .custom-review-button:hover{background:#fff;color:#000}#custom .custom-review-prompt p{margin:0;color:#bdbdbd;font-size:.75rem;line-height:1.4;text-align:center}
#custom .custom-review-dialog{width:min(calc(100% - 24px),680px);max-width:calc(100% - 24px);max-height:94vh;margin:auto;padding:0;overflow-x:hidden;overflow-y:auto;border:1px solid #000;background:#fff;color:#000}.custom-review-dialog::backdrop{background:rgba(0,0,0,.84)}#custom .custom-review-shell{position:relative;display:grid;min-width:0;max-width:100%;justify-items:center;padding:28px}#custom .custom-review-close{position:absolute;top:8px;right:13px;border:0;background:transparent;color:#000;font-size:2rem;line-height:1;cursor:pointer}#custom .custom-review-canvas{display:grid;width:100%;min-width:0;max-width:100%;justify-items:center;margin-top:8px}#custom .custom-review-canvas .custom-card-preview{width:min(100%,540px);box-shadow:none}#custom .custom-review-help{max-width:540px;margin:20px auto 16px;font-size:.85rem;line-height:1.45;text-align:center}#custom .custom-review-done{width:min(100%,540px);min-height:52px}
#custom .custom-audience-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:min(100%,520px)}
#custom .custom-audience-tab{min-height:48px;padding:12px 14px;border:1px solid #fff;background:#000;color:#fff;font-size:.8rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
#custom .custom-audience-tab.is-active{background:#fff;color:#000}
#custom .custom-audience-tab:focus-visible{outline:3px solid #fff;outline-offset:3px}
#custom .custom-preview-column{position:sticky;top:112px;display:grid;justify-items:center;gap:12px}
#custom .custom-preview-label{font-size:.67rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase}
#custom .custom-card-preview{position:relative;width:min(100%,520px);max-width:100%;min-width:0;aspect-ratio:1;overflow:hidden;display:grid;grid-template-columns:49% 51%;padding:19px;color:#090909;background:#fff;border:0;box-shadow:8px 8px 0 #fff}
#custom .custom-card-preview:after{position:absolute;z-index:2;inset:0;background:url('../images/praised-stamp-border.png') center/100% 100% no-repeat;content:"";pointer-events:none}
#custom .custom-card-photo-panel{position:relative;z-index:1;overflow:hidden;border-right:1px solid #090909;padding-right:12px;background:#fff}
#custom .custom-card-copy-panel{position:relative;z-index:1;display:flex;min-width:0;flex-direction:column;padding:8px 10px 2px 24px}
#custom .custom-card-logo{align-self:center;width:100%;margin-bottom:clamp(18px,3.2vw,30px);text-align:center}
#custom .custom-card-logo img{display:block;width:clamp(92px,18vw,150px);height:auto;margin:0 auto;object-fit:contain}
#custom .custom-card-name{min-height:24px;margin:0 0 14px;font-family:var(--serif);font-size:clamp(18px,2.7vw,26px);font-weight:600;line-height:1.08;letter-spacing:-.015em;text-transform:uppercase}
#custom .custom-card-headline{margin:0;font-family:var(--serif);font-size:clamp(21px,3.7vw,35px);font-weight:600;line-height:1.02;letter-spacing:-.03em}
#custom .custom-card-headline em{display:block;font-weight:500;font-style:italic}
#custom .custom-card-photo{width:100%;height:100%;object-fit:cover;object-position:center}
#custom .custom-card-kicker{order:3;margin:auto 0 0;font-size:clamp(7px,1.15vw,11px);font-weight:700;letter-spacing:.11em;text-transform:uppercase}
#custom .custom-card-note{order:1;min-height:2.7em;margin:clamp(18px,3vw,30px) 0 5px;font-family:"Lora",Georgia,"Times New Roman",serif;font-size:clamp(16px,2.5vw,21px);font-weight:400;line-height:1.38;letter-spacing:0}
#custom .custom-card-instagram{position:absolute;left:24px;bottom:14px;z-index:1;display:inline-flex;width:max-content;max-width:calc(100% - 34px);margin:0;padding:clamp(5px,.9vw,8px) clamp(8px,1.4vw,12px);border:1px solid #090909;border-radius:999px;background:#fff;font-family:var(--sans);font-size:clamp(9px,1.45vw,13px);font-weight:700;line-height:1;letter-spacing:.03em;text-transform:none;overflow-wrap:anywhere}
#custom .custom-card-instagram[hidden]{display:none}
#custom .custom-prototype-note{max-width:430px;margin:2px 0 0;font-size:.72rem;line-height:1.45;text-align:center}
@media(max-width:900px){#custom .custom-builder{display:flex;grid-template-columns:none;flex-direction:column}#custom .custom-preview-column{position:static;order:-1}#custom .custom-card-preview{width:min(100%,480px)}}
@media(max-width:680px){#custom .custom-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){#custom .custom-fields{grid-template-columns:1fr}#custom .custom-field.full{grid-column:auto}#custom .custom-panel{padding:18px}#custom .custom-builder{gap:32px}#custom .custom-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#custom .custom-choice-group legend{width:100%;flex-wrap:wrap;padding-right:0;font-size:1.1rem}#custom .custom-choice-group legend em{min-width:0}#custom .custom-photo-choice span{padding:8px}#custom .custom-photo-choice b{font-size:.75rem}#custom .custom-phrase-list span{min-height:48px;padding:14px;font-size:1rem}#custom .custom-field input,#custom .custom-field textarea{min-height:48px;font-size:16px}#custom .custom-submit{min-height:54px}#custom .custom-card-preview{width:calc(100% - 5px);padding:13px;box-shadow:5px 5px 0 #fff}#custom .custom-card-photo-panel{padding-right:8px}#custom .custom-card-copy-panel{padding:5px 5px 0 14px}#custom .custom-review-shell{padding:24px 12px 18px}#custom .custom-review-dialog{width:calc(100% - 12px);max-width:calc(100% - 12px)}#custom .custom-review-help{margin:16px 8px 14px}#custom .custom-card-instagram{left:14px;bottom:10px;max-width:calc(100% - 19px)}}
