/* Home callout: source artwork stays intact; the viewport crops the long rope. */
#home-page .brand-overview{padding-top:0;overflow:visible}
.home-custom-callout{position:relative;display:flex;flex-direction:column;align-items:center;padding:0 18px 10px;z-index:1}
.home-custom-visual{position:relative;width:clamp(190px,25vw,280px);height:clamp(330px,43vw,470px);margin-top:clamp(-130px,-12vw,-80px);pointer-events:none}
.home-custom-visual svg{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 9px 8px #0000000b)}
.home-custom-second-rope{position:absolute;top:0;right:11%;width:5px;height:31%;background:repeating-linear-gradient(35deg,#c9c8c3 0 2px,#fcfcf8 2px 4px);border-radius:6px;box-shadow:1px 0 2px #0002;z-index:-1}
.home-custom-button{border:0;background:#0051ed;color:#fff;border-radius:30px;padding:12px 22px;font-size:12px;line-height:1.35;min-height:42px;margin:12px 0 0;transition:transform .2s,background .2s}
.home-custom-button:hover{background:#003dcc;transform:translateY(-2px)}
#home-page .home-partner{position:relative}
#home-page .brand-numbers{padding-top:20px}
.custom-page{background:#fff;color:#171b23;min-height:100vh;padding-bottom:70px;font-size:14px;line-height:1.5}
#cart-page[hidden]{display:none!important}
.custom-page *{box-sizing:border-box}
.custom-page button,.custom-page input,.custom-page textarea,.custom-page select{font-size:inherit}
.custom-page button{line-height:1.4}
.custom-header{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:25px max(24px,4vw);border-bottom:1px solid #e9edf2;background:#fff}
.custom-header>a{display:block;line-height:0}
.custom-header img{display:block;filter:brightness(0) saturate(100%) invert(23%) sepia(96%) saturate(3972%) hue-rotate(215deg) brightness(97%) contrast(109%);width:128px;height:auto}
.custom-header nav{display:flex;align-items:center;gap:28px;font-size:12px}
.custom-header nav>span{color:#8b929e}
.custom-header button{background:#edf3ff;color:#0051ed;padding:9px 15px;border-radius:24px;font-size:12px}
#custom-cart-count{display:inline-grid;place-items:center;background:#0051ed;color:#fff;border-radius:50%;width:20px;height:20px;margin-left:8px;font-size:10px}
.custom-intro{max-width:1450px;margin:auto;padding:32px 4vw 22px;display:flex;align-items:center;gap:20px}
.custom-intro>span,.custom-eyebrow{font-size:10px;letter-spacing:1.4px;color:#0051ed;margin:0}
.custom-intro p{font-size:12px;color:#798190;margin:0;border-left:1px solid #dce3ef;padding-left:20px}
.custom-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);gap:clamp(32px,5vw,76px);max-width:1450px;padding:0 4vw;margin:auto;align-items:start}
.custom-visual{min-width:0;position:sticky;top:20px}
.custom-stage{position:relative;background:#f6f7f9;border:1px solid #f0f1f4;overflow:hidden;min-height:540px;display:flex;align-items:center;flex-direction:column;border-radius:4px}
.stage-caption{font-size:9px;letter-spacing:1.5px;color:#8b929d;align-self:flex-start;margin:22px 24px 0}
.model-space{position:relative;display:grid;place-items:center;width:100%;height:440px;perspective:1100px;isolation:isolate}
.model-space:after{content:'';position:absolute;bottom:12px;width:48%;height:16px;border-radius:50%;background:#172b4d12;filter:blur(12px);z-index:-1}
.custom-model{position:relative;transform-style:preserve-3d;cursor:grab;touch-action:pan-y;outline-offset:15px;user-select:none;will-change:transform}
.custom-model.is-dragging{cursor:grabbing;touch-action:none}
.model-face{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;background:#f9f7f2;overflow:hidden;border-radius:var(--cut-radius,2px);clip-path:var(--cut-path,none);box-shadow:0 14px 26px #172b4d16;pointer-events:none}
.model-front{transform:translateZ(var(--model-depth,2px))}
.model-back{transform:rotateY(180deg) translateZ(var(--model-depth,2px))}
.model-face>img,.model-face>svg{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
.model-face.has-art>img{object-fit:cover}
.custom-model.is-glossy .model-face:after{content:'';position:absolute;inset:0;background:linear-gradient(115deg,transparent 25%,#ffffff69 43%,transparent 63%);pointer-events:none;opacity:.7}
.model-edge{position:absolute;top:0;height:100%;width:calc(var(--model-depth,2px) * 2);background:repeating-linear-gradient(90deg,#dad5ca 0 1px,#ede9df 1px 2px);transform-style:preserve-3d;pointer-events:none}
.model-left{left:0;transform:translateX(-50%) rotateY(90deg)}
.model-right{right:0;transform:translateX(50%) rotateY(90deg)}
.custom-model.is-photo .model-face{background:#fff;border-radius:3px}
.stage-actions{display:flex;justify-content:center;gap:4px;padding:4px;border-radius:22px;background:#fff;border:1px solid #e8ebf1}
.stage-actions button{background:transparent;color:#687385;border-radius:20px;padding:6px 14px;font-size:10px}
.stage-actions button.is-active{color:#0051ed;background:#eef3ff}
.stage-hint{font-size:10px;color:#8a939e;margin:12px 15px 18px;text-align:center}
.custom-templates{padding:25px 0 0}
.template-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}
.template-heading h2{font-size:16px;margin:0;letter-spacing:0}
.template-heading p{color:#0051ed;font-size:11px;margin:3px 0 0}
.template-one{font-size:10px;color:#8a929e}
.custom-search{display:flex;position:relative;margin:16px 0}
.custom-search input{width:100%;border:1px solid #e0e5ec;border-radius:4px;padding:10px 35px 10px 12px;background:#fff;font-size:11px}
.custom-search>span:last-child{position:absolute;right:13px;top:6px;font-size:22px;color:#0051ed;pointer-events:none}
.custom-template-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.custom-template-card{position:relative;min-width:0;display:block;cursor:pointer}
.custom-template-card>input{position:absolute;top:8px;right:8px;z-index:1;accent-color:#0051ed;width:15px;height:15px;margin:0;cursor:pointer}
.template-thumb{height:100px;display:grid;place-items:center;background:#f6f7f9;border:1px solid #e9edf3;border-radius:4px;overflow:hidden;transition:border-color .18s}
.template-thumb img{width:100%;height:100%;object-fit:contain}
.custom-template-card:has(input:checked) .template-thumb{border:2px solid #0051ed;background:#f0f5ff}
.custom-template-card:has(input:focus-visible) .template-thumb{outline:2px solid #ff642b;outline-offset:3px}
.template-blank-symbol{font-size:25px;color:#0051ed;line-height:1}
.custom-template-card>span:last-child{display:block;font-size:10px;color:#596578;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:6px}
.custom-template-card:has(input:checked)>span:last-child{color:#0051ed}
.custom-template-empty{grid-column:1/-1;padding:20px 10px;font-size:12px;color:#8892a0;border:1px dashed #dde4ee;text-align:center}
.template-pagination{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:13px 0 0;font-size:10px;color:#7c8695}
.template-pagination p{margin:0}
.template-pagination>div{display:flex;gap:10px;align-items:center}
.template-pagination button{width:25px;height:25px;border-radius:50%;background:#edf3ff;color:#0051ed}
.template-pagination button:disabled{opacity:.35}
.custom-template-help{font-size:10px;color:#8b93a0;max-width:390px;margin:13px 0 0;line-height:1.6}
.custom-settings{min-width:0;padding-top:10px}
.custom-title-row{display:flex;gap:15px;align-items:center;justify-content:space-between}
.custom-title-row h1{font-size:32px;letter-spacing:-.6px;line-height:1.2;margin:8px 0 0;color:#171b23}
#custom-unit-top{font-size:12px;color:#0051ed;white-space:nowrap}
.custom-description{color:#8b93a0;font-size:12px;margin:14px 0 28px}
.config-field{display:flex;flex-direction:column;gap:10px;margin-bottom:23px}
.config-field>span,.custom-settings legend{font-size:12px;color:#303d50}
.config-field small{font-size:10px;color:#98a1af;margin-left:4px}
.config-field input:not([type=file]),.config-field textarea,.config-field select{width:100%;border:1px solid #dfe5ed;border-radius:4px;background:#fff;padding:11px 12px;color:#263346;min-width:0;outline-offset:2px;font-size:12px}
.config-field textarea{resize:vertical;min-height:90px}
.config-field input::placeholder,.config-field textarea::placeholder{color:#a4adba}
.custom-settings fieldset{border:0;padding:0;margin:0 0 23px;min-width:0}
.custom-settings legend{padding:0;margin:0 0 10px}
.custom-settings legend>span{color:#929aaa;font-size:10px;margin-left:4px}
.config-choices{display:flex;gap:7px;flex-wrap:wrap}
.config-choice{position:relative;display:block;cursor:pointer}
.config-choice input{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.config-choice>span{display:block;border:1px solid #e0e5ed;border-radius:3px;background:#fff;color:#657082;font-size:11px;padding:8px 11px;line-height:1.3;transition:border-color .15s,background .15s}
.config-choice input:checked+span{background:#eef3ff;color:#0051ed;border-color:#0051ed}
.config-choice input:disabled+span{background:#f6f7f9;color:#b5bdc8;border-color:#eef0f4;text-decoration:line-through;cursor:not-allowed}
.config-choice input:disabled{cursor:not-allowed}
.config-choice input:focus-visible+span{outline:2px solid #ff642b;outline-offset:2px}
.config-help{font-size:10px;color:#8b93a0;line-height:1.6;margin:9px 0 0}
.config-disabled{width:100%;border:1px solid #edf0f5;border-radius:4px;padding:11px 12px;color:#a4adba;background:#f7f8fa;font-size:11px;cursor:not-allowed}
.config-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.quantity-row{display:flex;align-items:center;border:1px solid #dfe5ed;width:max-content;border-radius:4px;overflow:hidden}
.quantity-row button{background:#fff;color:#0051ed;width:42px;height:40px;font-size:18px}
.quantity-row label{width:85px}
.quantity-row input{border:0;width:100%;text-align:center;appearance:textfield;-moz-appearance:textfield;height:40px;font-size:12px}
.quantity-row input::-webkit-inner-spin-button,.quantity-row input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
#quantity-help{font-size:10px;color:#8b93a0;margin:8px 0 0}
.custom-upload{position:relative;display:flex;align-items:center;gap:15px;border:1px dashed #cad5e5;background:#fafbfe;border-radius:5px;padding:18px;cursor:pointer;font-size:11px;color:#68778e}
.custom-upload small{display:block;margin:5px 0 0;font-size:9px}
.custom-upload input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}
.custom-upload:focus-within{outline:2px solid #0051ed;outline-offset:2px}
.upload-symbol{font-size:24px;line-height:1;color:#0051ed}
.custom-file-list{list-style:none;padding:0;margin:0}
.custom-file-list li{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #eef1f5}
.custom-file-list li>img{width:38px;height:38px;object-fit:cover;border-radius:4px}
.custom-file-list li>div{flex:1;min-width:0;font-size:11px;color:#59697e}
.custom-file-list strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.custom-file-list small{display:block;margin:2px 0 0;font-size:9px}
.custom-file-list button{background:none;color:#b25e4c;padding:5px;font-size:10px}
.custom-file-list .file-type{display:grid;place-items:center;width:38px;height:38px;background:#eef3ff;color:#0051ed;font-size:9px;border-radius:4px}
.config-feedback{font-size:11px;color:#b04a32;line-height:1.6;margin:0}
.custom-price{padding-top:21px;margin-top:4px;border-top:1px solid #e5eaf0}
.custom-price>div{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#8b93a0;font-size:11px;margin-bottom:12px}
.custom-price strong{color:#526276;font-size:12px}
.custom-price .custom-total{font-size:13px;color:#344259}
.custom-price .custom-total strong{font-size:25px;color:#0051ed;letter-spacing:-.5px}
.custom-price p{font-size:10px;color:#919aa8;line-height:1.6;margin:10px 0 20px}
.custom-primary{display:flex;align-items:center;justify-content:space-between;gap:25px;background:#0051ed;color:#fff;border:0;border-radius:4px;padding:15px 19px;font-size:12px;width:100%;transition:background .2s;min-height:49px}
.custom-primary:hover{background:#003fbc}
.custom-primary>span{font-size:20px;line-height:1}
.custom-secondary{border:1px solid #d5e0f2;border-radius:4px;padding:10px 15px;background:white;color:#0051ed;font-size:11px}
.custom-save-hint{font-size:10px;color:#9aa3b0;line-height:1.6;text-align:center;margin:13px 0 0}
.custom-cart-summary{max-width:1340px;margin:70px auto 0;padding:35px 4vw 0;border-top:1px solid #e5eaf0}
.cart-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}
.cart-heading h2{font-size:25px;line-height:1.2;margin:8px 0 0;letter-spacing:-.4px}
.custom-cart-empty{padding:30px 24px;background:#f7f9fc;border-radius:4px;color:#8c96a6;font-size:12px;text-align:center}
.configured-item{display:grid;grid-template-columns:70px 1fr auto;gap:20px;border-bottom:1px solid #edf0f5;padding:22px 0;align-items:start}
.configured-item>img{width:70px;height:80px;object-fit:contain;background:#f7f8fa;border-radius:4px}
.configured-item h3{font-size:14px;margin:0 0 6px;color:#26354d}
.configured-item p{font-size:11px;color:#8490a1;line-height:1.7;margin:0;white-space:pre-line;overflow-wrap:anywhere}
.configured-item .item-note{margin-top:6px;color:#5e6f85}
.configured-item .item-files{margin-top:8px;display:flex;flex-wrap:wrap;gap:7px}
.item-files button{background:#f0f4fc;color:#0051ed;border-radius:4px;padding:5px 8px;font-size:10px;text-align:left;max-width:220px;overflow-wrap:anywhere}
.item-price{font-size:14px;color:#0051ed;text-align:right}
.item-controls{display:flex;gap:10px;justify-content:flex-end;margin-top:12px}
.item-controls button{background:none;padding:5px 0;font-size:10px;color:#6b7b92}
.item-controls button:last-child{color:#b96b58}
#custom-cart-totals{margin:25px 0;max-width:430px;margin-left:auto}
#custom-cart-totals>div{display:flex;justify-content:space-between;align-items:center;gap:25px;font-size:13px;color:#53667e}
#custom-cart-totals strong{font-size:24px;color:#0051ed}
#custom-cart-totals p{color:#9aa3af;font-size:11px;line-height:1.6;margin:7px 0 0}
#copy-custom-summary{max-width:430px;margin-left:auto}
#custom-cart-feedback{font-size:11px;color:#0051ed}
@media(min-width:1500px){.custom-layout{gap:90px}.custom-stage{min-height:620px}.model-space{height:520px}.template-thumb{height:118px}}
@media(max-width:899px){.custom-layout{grid-template-columns:minmax(0,1fr) minmax(300px,1fr);gap:25px;padding:0 24px}.custom-intro{padding-left:24px;padding-right:24px}.custom-stage{min-height:470px}.model-space{height:370px}.custom-template-grid{gap:7px}.template-thumb{height:75px}.custom-visual{position:static}.custom-title-row{flex-wrap:wrap}.custom-header{padding:20px 24px}.custom-header nav{gap:16px}.config-pair{gap:14px}.config-choice>span{padding:8px;font-size:10px}}
@media(max-width:649px){.custom-header{padding:18px 20px;gap:12px}.custom-header img{width:104px}.custom-header nav{gap:12px;font-size:11px}.custom-header nav>span{display:none}.custom-header button{font-size:10px;padding:7px 10px}#custom-cart-count{width:17px;height:17px;font-size:9px;margin-left:5px}.custom-intro{padding:23px 20px 18px;display:block}.custom-intro>span{font-size:9px}.custom-intro p{border:0;padding:0;font-size:11px;margin:8px 0 0}.custom-layout{grid-template-columns:1fr;padding:0 20px;gap:32px}.custom-stage{min-height:390px}.model-space{height:290px}.stage-caption{font-size:8px;margin:16px 17px 0}.stage-hint{font-size:9px}.custom-templates{padding-top:20px}.template-thumb{height:88px}.custom-template-help{font-size:10px}.custom-settings{padding-top:0}.custom-title-row{flex-wrap:nowrap}.custom-title-row h1{font-size:29px}.custom-description{margin-bottom:24px}.config-choice>span{padding:9px 10px;font-size:11px}.custom-price .custom-total strong{font-size:25px}.custom-cart-summary{margin-top:45px;padding:30px 20px 0}.cart-heading{gap:12px}.cart-heading h2{font-size:23px}.custom-secondary{font-size:10px;padding:9px 10px}.configured-item{grid-template-columns:53px 1fr;gap:12px}.configured-item>img{width:53px;height:65px}.configured-item>div:last-child{grid-column:2;display:flex;justify-content:space-between;align-items:center;gap:10px}.item-controls{margin:0}.item-price{text-align:left;font-size:13px}#custom-cart-totals{max-width:none}#copy-custom-summary{max-width:none}.home-custom-visual{width:210px;height:355px;margin-top:-80px}.home-custom-button{font-size:11px;padding:10px 20px;min-height:38px}.home-custom-callout{padding-bottom:5px}#home-page .brand-numbers{padding-top:22px}}
@media(prefers-reduced-motion:reduce){.home-custom-button,.custom-primary,.template-thumb{transition:none}.custom-model{will-change:auto}}

.custom-page .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.home-custom-visual{width:clamp(240px,30vw,360px);height:clamp(350px,43vw,490px)}
.home-custom-visual svg{position:absolute;top:0;left:7%;width:62%;height:100%}
.home-custom-visual .home-tag-back{left:32%;top:24px;filter:brightness(.94) drop-shadow(0 10px 9px #00000012)}
.home-custom-callout{padding-bottom:14px}
@media(max-width:649px){.home-custom-visual{width:265px;height:355px}.home-custom-visual .home-tag-back{top:18px}}

.home-custom-button{margin-top:36px}
