.psc{clear:both;width:100%;margin:18px 0;font-size:14px}.psc *{box-sizing:border-box}.psc-editor{padding:20px;border:1px solid #f0ccd5;border-radius:10px;background:#fffafb}.psc h3{margin:0 0 16px;font-size:22px}.psc canvas{width:100%;height:auto;display:block;background:#fce6ec;border-radius:8px;touch-action:none}.psc-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}.psc label{display:block;margin:12px 0;font-size:13px;font-weight:600}.psc input[type=search],.psc input[type=text],.psc select{width:100%;padding:9px;border:1px solid #e8cbd3;border-radius:4px;background:white;color:#392d31}.psc input[type=range]{width:100%;accent-color:#CC0033}.psc input[type=file]{max-width:100%;font-size:12px}.psc-row{display:flex;align-items:center;gap:12px}.psc-row label:first-child{flex:1}.psc-row input[type=color]{width:42px;height:35px;padding:2px}.psc .psc-check{display:flex;align-items:center;gap:8px;font-weight:400}.psc .psc-check input{flex-shrink:0}.psc-toolbar,.psc-layers{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.psc button{padding:7px 10px;border:1px solid #e8cbd3;border-radius:4px;background:white;color:#512b35;font-size:12px;cursor:pointer}.psc button[aria-pressed=true]{border-color:#CC0033;background:#fce6ec}.psc-layers button{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.psc-muted,.psc-quantity-hint{font-size:11px;color:#77656b;font-weight:400}.psc-file-status{font-size:12px;overflow-wrap:anywhere}.psc-error{color:#a02924;font-weight:600}.psc-pricing{margin:20px 0}.psc-tiers table{width:100%;border-collapse:collapse;font-size:13px}.psc-tiers td,.psc-tiers th{padding:9px 12px;text-align:left;border-bottom:1px solid #e0e6e2}.psc-tiers tr.psc-active{background:#fce6ec}.psc-price{font-size:16px;font-weight:600}.psc [hidden]{display:none!important}@media(max-width:650px){.psc-columns{grid-template-columns:1fr}.psc-editor{padding:12px}.psc-row{flex-wrap:wrap}}

/* 0.1.1: isolate the editor from Elementor/theme cart flex and button rules. */
form.cart.psc-product-form{display:block!important;min-width:0;max-width:100%}
form.cart.psc-product-form.psc-purchase-layout,
form.cart.psc-product-form .psc-purchase-layout{display:flex!important;flex-flow:row wrap!important;align-items:center!important;align-content:flex-start!important;gap:12px!important;min-width:0;max-width:100%}
.psc-purchase-layout>.psc{flex:0 0 100%!important;order:0;width:100%!important;min-width:0!important;max-width:100%!important;margin:0 0 12px!important;align-self:stretch;container-type:inline-size}
form.psc-product-form>.variations,form.psc-product-form>.single_variation_wrap{width:100%;min-width:0;max-width:100%}
.psc-purchase-layout>.quantity{flex:0 0 auto!important;align-self:center!important;float:none!important;width:auto!important;height:auto!important;margin:0!important}
.psc-product-form .psc-purchase-layout>.quantity input.qty,
.psc-product-form.psc-purchase-layout>.quantity input.qty{width:86px!important;max-width:100%!important;height:44px!important;min-height:0!important;margin:0!important;padding:8px!important;box-sizing:border-box!important}
.psc-purchase-layout>button.single_add_to_cart_button{flex:0 1 auto!important;align-self:center!important;float:none!important;width:auto!important;max-width:100%!important;height:auto!important;min-height:44px!important;margin:0!important;padding:12px 16px!important;white-space:normal!important;line-height:1.4!important;box-sizing:border-box!important}
.psc-product-form .psc-editor{width:100%;min-width:0;padding:16px}
.psc-product-form .psc-columns{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:18px!important}
.psc-product-form .psc-columns>div{min-width:0;max-width:100%}
.psc-product-form .psc-row{flex-wrap:wrap;align-items:center;gap:10px}
.psc-product-form .psc-row>label:first-child{flex:1 1 140px;min-width:0}
.psc-product-form .psc input,.psc-product-form .psc select{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
.psc-product-form .psc input[type=file]{display:block;width:100%;font-size:12px!important;line-height:1.5!important}
.psc-product-form .psc input[type=search],.psc-product-form .psc input[type=text],.psc-product-form .psc select{height:auto!important;min-height:40px!important;font-size:14px!important;line-height:1.4!important;padding:8px!important}
.psc-product-form .psc input[type=range]{height:24px!important;min-height:0!important;padding:0!important}
.psc-product-form .psc input[type=checkbox]{width:16px!important;height:16px!important;min-height:0!important;flex:0 0 16px!important;margin:0!important}
.psc-product-form .psc .psc-check{align-items:flex-start;line-height:1.5}
.psc-product-form .psc button{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 1 auto!important;width:auto!important;height:auto!important;min-height:34px!important;margin:0!important;padding:7px 10px!important;background:#fff!important;color:#512b35!important;border:1px solid #e8cbd3!important;border-radius:4px!important;font-size:12px!important;font-weight:500!important;line-height:1.4!important;letter-spacing:normal!important;text-transform:none!important;white-space:normal!important;box-shadow:none!important}
.psc-product-form .psc button[aria-pressed=true]{background:#fce6ec!important;border-color:#CC0033!important}
.psc-product-form .psc button:disabled{opacity:.5;cursor:default}
.psc-product-form .psc .psc-layers button{display:block!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important}
.psc-product-form .psc canvas{width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important}
.psc-product-form .psc p,.psc-product-form .psc label{overflow-wrap:anywhere}
@container (min-width:620px){.psc-product-form .psc-columns{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* 0.1.2: the editor lives in a separate Elementor shortcode widget. */
.psc-standalone{width:100%;max-width:100%;min-width:0;scroll-margin-top:80px}
.psc-standalone>.psc{container-type:inline-size;width:100%;min-width:0}
.psc-standalone .psc-editor{padding:24px}
.psc-open-editor{display:block;width:100%;padding:12px 16px;background:#CC0033;color:#fff!important;text-align:center;text-decoration:none!important;border-radius:4px;box-sizing:border-box;font-weight:600;line-height:1.4}
form.cart.psc-external-editor-ready button.single_add_to_cart_button{display:none!important}
.psc-final-order{border:1px solid #f0ccd5;border-radius:8px;padding:20px;margin-top:18px;background:#fff}
.psc-final-order .psc-order-qty{width:110px!important;min-height:42px;padding:8px;border:1px solid #e8cbd3}
.psc-product-form .psc button.psc-place-order{background:#CC0033!important;color:white!important;padding:14px 20px!important;font-size:15px!important;min-height:46px!important;float:none!important}
.psc-standalone .psc h3{font-size:24px!important;line-height:1.3}
.psc-standalone .psc label{font-size:14px!important}
@media(max-width:600px){.psc-standalone .psc-editor{padding:14px}}
.psc-purchase-layout>.quantity{order:1}
.psc-purchase-layout>.psc-open-editor{flex:0 0 100%!important;order:3;width:100%!important}

/* Pelster button colours, including theme/Elementor hover overrides. */
a.psc-open-editor,a.psc-open-editor:hover,a.psc-open-editor:focus,.elementor a.psc-open-editor{background:#0099FF!important;background-image:none!important;border-color:#0099FF!important;color:#FFFFFF!important}
form.cart.psc-product-form .single_add_to_cart_button,form.cart.psc-product-form .single_add_to_cart_button:hover,form.cart.psc-product-form .single_add_to_cart_button:focus,
.psc-product-form .psc button.psc-place-order,.psc-product-form .psc button.psc-place-order:hover,.psc-product-form .psc button.psc-place-order:focus{background:#CC0033!important;background-image:none!important;border-color:#CC0033!important;color:#FFFFFF!important}

/* Bounded, searchable font picker: ten 36px rows, remaining options scroll. */
.psc .psc-font-picker{display:block;position:relative;width:100%;font-weight:400}
.psc .psc-font-menu{display:block;position:absolute;top:100%;left:0;right:0;z-index:50;max-height:360px;overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid #e8cbd3;box-shadow:0 4px 12px #0002}
.psc-product-form .psc .psc-font-menu button{display:block!important;width:100%!important;height:36px!important;min-height:36px!important;max-height:36px!important;line-height:20px!important;margin:0!important;padding:8px 10px!important;border:0!important;border-radius:0!important;text-align:left;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;background:#fff;color:#392d31}
.psc-product-form .psc .psc-font-menu button:hover,.psc-product-form .psc .psc-font-menu button:focus{background:#eaf5ff!important;outline:2px solid #0099ff;outline-offset:-2px}
.psc .psc-tiers tr[role=button]{cursor:pointer}.psc .psc-tiers tr[role=button]:hover{background:#eaf5ff}.psc .psc-tiers tr[role=button]:focus{outline:2px solid #0099ff;outline-offset:-2px}

/* 0.1.6: Pelster tier table and quantity / unit-price row. */
.psc .psc-from-price{font-size:17px;font-weight:700;color:#666;margin:0 0 20px}
.psc .psc-color-note{text-align:right;font-size:16px;font-style:italic;color:#aaa;margin:0 8px 18px 0}
.psc .psc-tiers table{width:100%;border-collapse:collapse;border:0!important;background:white!important;font-size:16px;color:#707070;margin:0}
.psc .psc-tiers th,.psc .psc-tiers td{border:0!important;border-bottom:1px solid #ddd!important;padding:12px 10px!important;text-align:left!important;background:transparent!important;color:inherit!important;line-height:1.4}
.psc .psc-tiers th{font-size:17px;font-weight:700;border-top:1px solid #e8e8e8!important;color:#666!important}
.psc .psc-tiers th:first-child,.psc .psc-tiers td:first-child{width:56%}
.psc .psc-tiers tr{background:#fff;color:#707070}
.psc .psc-tiers tr.psc-active,.psc .psc-tiers tr.psc-active:hover{background:#CC0033!important;color:#fff!important;font-weight:700}
.psc .psc-tiers tr.psc-active td{border-color:#CC0033!important;color:#fff!important}
.psc .psc-quantity-row{display:flex;align-items:flex-end;gap:clamp(25px,10%,85px);margin:48px 0 12px}
.psc .psc-quantity-label{display:flex;flex-direction:column;gap:8px;margin:0!important;color:#CC0033!important;font-size:17px!important;font-weight:700}
.psc-product-form .psc .psc-quantity-row input[type=number]{display:block;width:72px!important;height:44px!important;min-height:44px!important;padding:8px 12px!important;margin:0!important;border:1px solid #CC0033!important;border-radius:0!important;background:white!important;color:#CC0033!important;font-weight:700;font-size:16px!important;box-shadow:none!important}
.psc .psc-unit-price{font-size:25px;font-weight:700;color:#666;line-height:44px;white-space:nowrap}
.psc .psc-price{font-size:13px;font-weight:400;color:#707070}

/* 0.1.7: explicit slider tracks and thumbs override theme colours. */
.psc-product-form .psc input[type=range]{-webkit-appearance:none!important;appearance:none!important;background:transparent!important;border:0!important;box-shadow:none!important;accent-color:#CC0033!important;cursor:pointer}
.psc-product-form .psc input[type=range]::-webkit-slider-runnable-track{height:7px!important;border:0!important;border-radius:5px!important;background:linear-gradient(to right,#CC0033 0%,#CC0033 var(--psc-range-fill,50%),#f5ccd6 var(--psc-range-fill,50%),#f5ccd6 100%)!important;box-shadow:none!important}
.psc-product-form .psc input[type=range]::-webkit-slider-thumb{-webkit-appearance:none!important;appearance:none!important;width:16px!important;height:16px!important;margin-top:-4.5px!important;border:0!important;border-radius:50%!important;background:#CC0033!important;box-shadow:none!important}
.psc-product-form .psc input[type=range]::-moz-range-track{height:7px!important;background:#f5ccd6!important;border:0!important;border-radius:5px!important}
.psc-product-form .psc input[type=range]::-moz-range-progress{height:7px!important;background:#CC0033!important;border-radius:5px!important}
.psc-product-form .psc input[type=range]::-moz-range-thumb{width:16px!important;height:16px!important;border:0!important;border-radius:50%!important;background:#CC0033!important;box-shadow:none!important}
.psc-product-form .psc input[type=range]:focus-visible{outline:2px solid #CC0033!important;outline-offset:3px}
.psc-product-form .psc input[type=checkbox]{accent-color:#CC0033!important}
.psc-product-form .psc-editor{background:#fffafb!important;border-color:#f0ccd5!important}
.psc-product-form .psc .psc-editor button[aria-pressed=true]{background:#fce6ec!important;border-color:#CC0033!important;color:#512b35!important}
.psc-product-form .psc .psc-editor button:hover:not(:disabled),.psc-product-form .psc .psc-font-menu button:focus{background:#fce6ec!important;border-color:#CC0033!important}
.psc-product-form .psc .psc-font-menu button:focus{outline-color:#CC0033!important}

/* 0.1.8: both purchase actions use the same Pelster blue. */
form.cart.psc-product-form .single_add_to_cart_button,form.cart.psc-product-form .single_add_to_cart_button:hover,form.cart.psc-product-form .single_add_to_cart_button:focus,
.psc-product-form .psc button.psc-place-order,.psc-product-form .psc button.psc-place-order:hover,.psc-product-form .psc button.psc-place-order:focus{background:#0099FF!important;background-image:none!important;border-color:#0099FF!important;color:#FFFFFF!important}

/* 0.1.9: one white card containing both the editor and the order section. */
.psc-standalone>.psc{background:#fff!important;border:0!important;border-radius:0!important;box-shadow:0 2px 12px rgba(0,0,0,.14)!important;padding:24px!important}
.psc-product-form .psc-standalone .psc-editor,.psc-standalone.psc-product-form .psc-editor{background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important}
.psc-standalone .psc-final-order{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin-top:32px!important}
.psc-product-form .psc canvas{background:#fff!important}
.psc-product-form .psc .psc-editor input:not([type=range]):not([type=checkbox]):not([type=color]),.psc-product-form .psc .psc-editor select{border-color:#ddd!important}
.psc-product-form .psc .psc-editor button:not([aria-pressed=true]){border-color:#ddd!important}
@media(max-width:600px){.psc-standalone>.psc{padding:16px!important}}

/* Pointer-only magnifier, excluded from the saved design canvas. */
.psc .psc-preview-stage{position:relative;width:100%;min-width:0}
.psc-product-form .psc canvas.psc-magnifier{position:absolute!important;z-index:20;pointer-events:none!important;border:2px solid #CC0033!important;border-radius:12px!important;background:#fff!important;box-shadow:0 3px 16px #0004!important;max-width:100%!important;touch-action:auto}

/* Friendly studio help in the space below the text controls. */
.psc .psc-studio-help{display:flex;align-items:center;gap:18px;margin-top:28px;padding:12px 0;background:#fff;min-width:0}
.psc .psc-studio-help img{display:block;width:clamp(95px,28%,165px);height:auto;flex-shrink:0;object-fit:contain}
.psc .psc-studio-bubble{position:relative;flex:1;min-width:0;padding:18px;border:1px solid #dce7ef;border-radius:16px;background:#f4faff;color:#243747;box-shadow:0 3px 12px #17212d0a;font-size:14px;line-height:1.55}
.psc .psc-studio-bubble:before{content:"";position:absolute;left:-9px;top:38%;width:16px;height:16px;background:#f4faff;border-left:1px solid #dce7ef;border-bottom:1px solid #dce7ef;transform:rotate(45deg)}
.psc .psc-studio-bubble strong{display:block;color:#193c57;font-size:16px;line-height:1.35}
.psc .psc-studio-bubble p{margin:10px 0 14px}
.psc .psc-studio-contact{display:flex;flex-wrap:wrap;gap:8px 16px}
.psc .psc-studio-contact a{color:#006cae;font-weight:600;text-decoration:underline;text-underline-offset:3px}
@media(max-width:480px){.psc .psc-studio-help{gap:12px}.psc .psc-studio-bubble{padding:13px;font-size:13px}.psc .psc-studio-bubble strong{font-size:15px}.psc .psc-studio-help img{width:90px}}

/* Align the starting price and ink surcharge above the tier table. */
.psc .psc-price-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 18px}
.psc .psc-price-header .psc-from-price{margin:0;flex-shrink:0}
.psc .psc-price-header .psc-color-note{margin:0;text-align:right}
@media(max-width:480px){.psc .psc-price-header{gap:10px}.psc .psc-price-header .psc-color-note{font-size:12px}.psc .psc-price-header .psc-from-price{font-size:15px}}

/* Space between the design controls and the price heading. */
.psc .psc-editor ~ .psc-price-header{margin-top:32px}

.psc .psc-final-order .psc-price-header{margin-top:32px}

@font-face{font-family:"Liberation Sans";src:url("vendor/standard_fonts/LiberationSans-Regular.ttf") format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:"Liberation Sans";src:url("vendor/standard_fonts/LiberationSans-Bold.ttf") format("truetype");font-weight:700;font-display:swap}

/* Keep the preview alongside editing, without taking over a small viewport. */
.psc .psc-preview-stage{position:sticky;top:calc(var(--psc-preview-top,12px) - var(--psc-preview-hidden,0px));z-index:40;max-width:100%;margin:0 auto 12px;background:#fff;box-shadow:0 3px 12px #0002;border-radius:8px}
body.admin-bar .psc .psc-preview-stage{top:calc(var(--psc-preview-top,44px) - var(--psc-preview-hidden,0px))}
@media(max-width:782px){body.admin-bar .psc .psc-preview-stage{top:calc(var(--psc-preview-top,58px) - var(--psc-preview-hidden,0px))}}
.psc .psc-toolbar button[data-align],.psc .psc-toolbar button[data-logo-align]{font-weight:600;border-color:#CC0033;padding:9px 12px}

/* On short landscape screens keep room for editing below the larger preview. */
@media(max-height:600px) and (orientation:landscape){.psc .psc-preview-stage{max-width:calc(42vh * 10 / 3)}}

/* Separate text and logo controls into clear, spacious panels. */
.psc .psc-columns,.psc-product-form .psc-columns{gap:32px!important;margin-top:24px;align-items:start}
.psc .psc-edit-panel{min-width:0;padding:24px;border:1px solid #e2e2e2;border-radius:10px;background:#fff;box-shadow:0 2px 10px #0000000a}
.psc .psc-panel-title{margin:0 0 20px!important;padding:0 0 14px;border-bottom:1px solid #e8e8e8;font-size:19px!important;line-height:1.3;font-weight:700;color:#303030}
@container (max-width:760px){.psc-product-form .psc-columns{grid-template-columns:minmax(0,1fr)!important;gap:24px!important}.psc .psc-edit-panel{padding:18px}}
@media(max-width:650px){.psc .psc-edit-panel{padding:16px}.psc .psc-columns{gap:24px!important}}

.psc .psc-design-inks{margin-top:28px;padding-top:18px;border-top:1px solid #e8e8e8}.psc .psc-design-inks label{max-width:540px}

.psc .psc-ink-summary{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:16px 0}.psc .psc-ink-count{font-size:17px}.psc .psc-ink-cost{font-size:16px;font-weight:600;color:#CC0033}
