:root{--blue:#275dab;--coral:#ef8872;--ink:#202936;--muted:#718094;--line:#dfe5ea;--soft:#f5f7f9;--cream:#fcfaf6}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}*{box-sizing:border-box}body{margin:0;background:#eef2f5;color:var(--ink);font-family:Pretendard,"Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",sans-serif}.quote-header{height:72px;padding:0 34px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;position:sticky;top:0;z-index:10}.wordmark{font:800 24px Arial,sans-serif;letter-spacing:3px;color:var(--ink);text-decoration:none}.quote-header p{margin:auto;font-weight:700}.quote-header button{border:0;background:none;font-size:30px;color:#586474}.quote-shell{max-width:1400px;margin:32px auto;display:grid;grid-template-columns:340px 1fr;min-height:calc(100vh - 136px);background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 14px 45px #21344b12}.steps{padding:52px 42px;background:linear-gradient(155deg,#173653,#214c71);color:#fff}.step-label,.panel-heading>p{font:700 12px Arial;letter-spacing:2px;color:var(--coral)}.steps h1{font-size:27px;line-height:1.45;margin:22px 0 45px}.steps ol{list-style:none;margin:0;padding:0;position:relative}.steps ol:before{content:"";position:absolute;top:19px;bottom:19px;left:19px;width:1px;background:#ffffff32}.steps li{display:flex;align-items:center;gap:17px;margin:22px 0;color:#ffffff8c;position:relative}.steps li span{width:40px;height:40px;border:1px solid #ffffff42;background:#214767;border-radius:50%;display:grid;place-items:center;font-weight:700}.steps li.active{color:#fff}.steps li.active span{background:var(--coral);border-color:var(--coral)}.save-note{margin-top:55px;font-size:13px;color:#ffffff85;line-height:1.6}.form-panel{padding:54px 64px 120px;position:relative}.panel-heading h2{font-size:34px;margin:10px 0}.panel-heading>span{color:var(--muted)}.field-group{padding:40px 0;border-bottom:1px solid var(--line)}.field-group h3{margin:0 0 18px;font-size:19px}.field-group h3 small{font-size:11px;color:var(--coral);margin-left:5px}.product-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.product-options button,.thickness-options button{border:1px solid var(--line);background:#fff;border-radius:14px;padding:20px;text-align:left;color:var(--ink)}.product-options button strong{display:block;font-size:16px}.product-options button span,.thickness-options span{display:block;color:var(--muted);font-size:12px;margin-top:8px}.product-options button.selected,.thickness-options button.selected{border:2px solid var(--blue);padding:19px;background:#f6f9ff}.thickness-options{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.thickness-options button{text-align:center;font-size:16px}.field-title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.field-title p{margin:-8px 0 18px;color:var(--muted);font-size:14px}.text-button{border:0;background:none;color:var(--blue);font-weight:700}.selected-colors{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.color-card{position:relative;border:1px solid var(--line);background:#fff;border-radius:12px;padding:11px;display:flex;align-items:center;gap:10px}.color-card i{width:35px;height:35px;border-radius:8px;background:var(--swatch);border:1px solid #dfe3e6}.color-card b{display:none;margin-left:auto;color:var(--blue)}.color-card.selected{border:2px solid var(--blue);padding:10px}.color-card.selected b{display:block}.quantity-card{border:1px solid var(--line);border-radius:16px;overflow:hidden}.quantity-card-head{padding:17px 20px;background:var(--soft);display:flex;justify-content:space-between}.quantity-card-head>div{display:flex;align-items:center;gap:10px}.quantity-card-head i{width:20px;height:20px;border-radius:50%;background:#fff;border:1px solid #dfe3e6}.quantity-card-head button{border:0;background:none;color:var(--muted)}.size-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:1px;background:var(--line)}.size-box{padding:13px 8px;background:#fff;text-align:center}.size-box label{display:block;font-size:12px;font-weight:700;margin-bottom:9px}.size-box input{width:100%;height:36px;border:1px solid #ccd5dd;border-radius:7px;text-align:center;font-size:15px}.subtotal{padding:14px 20px;text-align:right}.subtotal strong{color:var(--blue);margin-left:8px}.add-item{margin-top:13px;width:100%;padding:15px;border:1px dashed #aab8c6;background:#fff;border-radius:12px;color:var(--blue);font-weight:700}.form-footer{position:absolute;left:0;right:0;bottom:0;height:86px;padding:0 64px;background:#fff;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.form-footer>div{color:var(--muted)}.form-footer>div strong{color:var(--blue);margin-left:8px}.form-footer>button{padding:17px 25px;border:0;border-radius:10px;background:var(--blue);color:#fff;font-weight:700}.mobile-progress{display:none}
@media(max-width:800px){.quote-header{height:64px;padding:0 20px}.quote-header p{font-size:14px}.quote-shell{display:block;margin:0;border-radius:0;min-height:calc(100vh - 64px)}.steps{display:none}.form-panel{padding:22px 20px 105px}.mobile-progress{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin-bottom:28px;font-size:13px}.mobile-progress span{height:5px;background:#e8edf1;border-radius:5px}.mobile-progress i{display:block;width:20%;height:100%;background:var(--coral);border-radius:5px}.mobile-progress em{font-style:normal;color:var(--muted)}.panel-heading h2{font-size:26px}.field-group{padding:30px 0}.product-options{grid-template-columns:1fr}.thickness-options{grid-template-columns:repeat(2,1fr)}.selected-colors{grid-template-columns:repeat(2,1fr)}.size-grid{grid-template-columns:repeat(3,1fr)}.form-footer{position:fixed;height:82px;padding:0 20px;z-index:8}.form-footer>div{font-size:13px}.form-footer>button{padding:15px 17px}.quantity-card{overflow:visible}}
@media(max-width:800px){.panel-heading>p,.panel-heading>span{display:none}.panel-heading h2{margin:0}.garment-style-field{padding-top:24px}}
@media(max-width:800px){.quote-header{position:sticky}.quote-header .wordmark img{height:13px}.quote-header p{position:absolute;left:50%;margin:0;transform:translateX(-50%);font-size:17px;font-weight:800;white-space:nowrap}.quote-header>button{margin-left:auto}}
.quantity-card{margin-bottom:14px}.quantity-card-head i{background:var(--swatch,#fff)}.size-box input:focus{outline:2px solid #275dab33;border-color:var(--blue)}.empty-colors{padding:30px;text-align:center;border:1px dashed #b9c4ce;border-radius:14px;color:var(--muted)}.toast{position:fixed;z-index:30;left:50%;bottom:28px;transform:translate(-50%,30px);padding:13px 20px;border-radius:10px;background:#202936;color:#fff;font-size:14px;opacity:0;pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}
.print-layout{display:grid;grid-template-columns:360px 1fr;gap:34px;align-items:center}.shirt-preview{display:grid;grid-template-columns:1fr 1fr;gap:18px}.shirt{height:240px;position:relative;border-radius:48px 48px 18px 18px;background:#f2f4f6;border:2px solid #d9e0e6;clip-path:polygon(23% 0,39% 8%,61% 8%,77% 0,100% 14%,88% 39%,78% 32%,78% 100%,22% 100%,22% 32%,12% 39%,0 14%)}.shirt b{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);font-size:12px;color:#8794a0}.mark{position:absolute;border:2px dashed #9eb1c2;border-radius:5px}.chest-left{left:31%;top:27%;width:24px;height:22px}.chest-right{right:31%;top:27%;width:24px;height:22px}.front-center,.back-center{left:35%;top:37%;width:30%;height:36%}.sleeve-left{left:7%;top:23%;width:18px;height:32px}.sleeve-right{right:7%;top:23%;width:18px;height:32px}.back-top{left:33%;top:25%;width:34%;height:18px}.position-options{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.position-options button{padding:16px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font-weight:700}.position-options button.selected{border:2px solid var(--blue);padding:15px;background:#f5f8ff;color:var(--blue)}.print-size-row{display:grid;grid-template-columns:150px 1fr;gap:20px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line)}.print-size-row>strong{font-size:15px}.size-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.size-options button{padding:12px 8px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink)}.size-options button.selected{border-color:var(--blue);background:#f5f8ff;color:var(--blue);font-weight:700}.request-note{width:100%;padding:16px;border:1px solid var(--line);border-radius:12px;resize:vertical;font:inherit}.back-button{border:1px solid var(--line)!important;background:#fff!important;color:var(--ink)!important}.steps li.completed span{background:#fff;color:var(--blue)}
@media(max-width:800px){.print-layout{grid-template-columns:1fr}.shirt-preview{max-width:330px;margin:auto}.shirt{height:220px}.position-options{grid-template-columns:repeat(2,1fr)}.print-size-row{grid-template-columns:1fr;gap:10px}.size-options{grid-template-columns:repeat(2,1fr)}.form-footer{gap:8px}.form-footer>div{margin-right:auto}.back-button{padding:14px 12px!important}}
.shirt-preview{display:block;max-width:540px}.shirt-map{display:block;width:100%;height:auto}.garment>path:first-child{fill:#f9fafb;stroke:#aebbc6;stroke-width:4;stroke-linejoin:round}.garment .neck{fill:none;stroke:#aebbc6;stroke-width:4}.garment>text{font-size:14px;font-weight:700;fill:#657586;text-anchor:middle}.hotspot rect{fill:#275dab0a;stroke:#9bb0c1;stroke-width:2;stroke-dasharray:5 4;transition:.18s}.hotspot text{font-size:12px;font-weight:700;fill:#718094;text-anchor:middle;pointer-events:none}.hotspot.sleeve text{font-size:9px}.hotspot{cursor:pointer}.hotspot:hover rect,.hotspot:focus rect{fill:#275dab20;stroke:#275dab;outline:none}.hotspot.selected rect{fill:#ef8872a8;stroke:#d9644c;stroke-width:3;stroke-dasharray:none}.hotspot.selected text{fill:#fff}.shirt-preview>p{text-align:center;color:var(--muted);font-size:13px;margin:6px 0 0}.print-size-row{align-items:start}.print-setting{min-width:0}.print-setting-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.print-setting-head button{border:0;background:none;color:#8a96a2}.upload-box{margin-top:12px;display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:13px;border:1px dashed #aebbc6;border-radius:10px;background:#fbfcfd}.upload-box input{position:absolute;width:1px;height:1px;opacity:0}.upload-box label{color:var(--blue);font-weight:700;cursor:pointer}.upload-box span{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.custom-size{display:none;grid-template-columns:1fr auto 1fr auto;gap:7px;align-items:center;margin-top:10px}.custom-size.show{display:grid}.custom-size input{width:100%;padding:10px;border:1px solid var(--line);border-radius:8px}.size-guide-modal{width:min(760px,calc(100% - 32px));border:0;border-radius:22px;padding:36px;box-shadow:0 24px 80px #102a4d40;color:var(--ink)}.size-guide-modal::backdrop{background:#14283f99;backdrop-filter:blur(3px)}.size-guide-modal h2{font-size:28px;margin:8px 0 28px}.modal-close{position:absolute;right:20px;top:16px;border:0;background:none;font-size:30px;color:var(--muted)}.guide-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.guide-grid article{padding:18px;border-radius:14px;background:#f5f7f9;text-align:center}.guide-grid i{display:block;margin:0 auto 14px;border:2px solid var(--blue);border-radius:4px}.guide-point{width:28px;height:28px}.guide-basic{width:52px;height:68px}.guide-wide{width:72px;height:88px}.guide-custom{width:62px;height:48px;border-style:dashed!important}.guide-grid h3{font-size:16px;margin:0 0 8px}.guide-grid p{font-size:12px;line-height:1.55;color:var(--muted);margin:0}.guide-notice{margin:24px 0 0;padding:14px;border-radius:10px;background:#fff6f2;color:#72574f;font-size:13px;line-height:1.6}
@media(max-width:800px){.shirt-preview{max-width:100%}.print-layout{gap:20px}.guide-grid{grid-template-columns:repeat(2,1fr)}.size-guide-modal{padding:28px 20px}.upload-box{grid-template-columns:1fr}.custom-size{grid-template-columns:1fr auto 1fr auto}}
/* v3 responsive print-position fixes */
.print-layout{grid-template-columns:minmax(400px,520px) minmax(280px,1fr)}
.print-size-row{display:block;padding:18px 0}
.size-options{grid-template-columns:repeat(5,minmax(82px,1fr))}
.size-options button{white-space:nowrap}
.hotspot rect{transform-box:fill-box;transform-origin:center}
.hotspot[data-print-size="포인트"] rect{transform:scale(.5)}
.hotspot[data-print-size="기본"] rect{transform:scale(.78)}
.hotspot[data-print-size="확장"] rect{transform:scale(1.08)}
.hotspot[data-print-size="상담 필요"] rect{transform:scale(.72);stroke-dasharray:5 4}
.upload-box{grid-template-columns:minmax(0,1fr) auto}
.upload-box label{white-space:nowrap}
@media(max-width:1150px){.quote-shell{display:block;margin:0;border-radius:0}.steps{display:none}.mobile-progress{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin-bottom:28px;font-size:13px}.mobile-progress span{height:5px;background:#e8edf1;border-radius:5px}.mobile-progress i{display:block;width:20%;height:100%;background:var(--coral);border-radius:5px}.mobile-progress em{font-style:normal;color:var(--muted)}.form-panel{padding-left:36px;padding-right:36px}.print-layout{grid-template-columns:1fr}.shirt-preview{max-width:650px;margin:auto}.position-options{grid-template-columns:repeat(4,1fr)}}
@media(max-width:700px){.form-panel{padding-left:20px;padding-right:20px}.position-options{grid-template-columns:repeat(2,1fr)}.size-options{grid-template-columns:repeat(2,minmax(0,1fr))}.upload-box{grid-template-columns:1fr}}
/* v5 rebuilt T-shirt vector */
.shirt-preview{max-width:650px}
.shirt-map{overflow:visible}
[hidden]{display:none!important}
.awaiting-garment-style .garment-style-field~*{display:none!important}
.awaiting-garment-style .form-footer{display:none!important}
@media(max-width:800px){body[data-quote-step="1"].step-one-product-picker-visible .form-footer{display:none!important}}
@media(max-width:800px){
  html:has(body.step-one-top-locked),body.step-one-top-locked{height:100%;overflow:hidden!important;overscroll-behavior:none!important}
  body.step-one-top-locked .quote-shell{height:calc(var(--tv-stable-vh,100svh) - 64px)!important;min-height:0!important;overflow:hidden!important}
  body.step-one-top-locked .form-panel{height:100%!important;min-height:0!important;overflow:hidden!important;overscroll-behavior:none!important;touch-action:pan-x!important}
  body.step-one-top-locked .garment-style-field{border-bottom:0!important}
  body.step-one-top-locked .garment-style-field~*{display:none!important}
  body.step-one-top-locked .garment-start-hint{display:block}
}
.garment-start-hint{display:none;margin:14px 0 0;text-align:center;color:var(--muted);font-size:12px;line-height:1.5}
.awaiting-garment-style .garment-start-hint{display:block}
.awaiting-garment-style .garment-style-field{border-bottom:0}
.garment .shirt-shape{fill:#fff;stroke:#aebbc6;stroke-width:4;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.garment .neck{stroke-linecap:round;vector-effect:non-scaling-stroke}
.garment .shirt-shape{stroke-width:2.4;fill:#fff}
.garment .neck{stroke-width:2.4}
.garment-front .shirt-shape{fill:#fbfdff}
.garment-back .shirt-shape{fill:#f8fafc}
.garment .view-en{font:800 11px Arial,sans-serif;letter-spacing:1.8px;fill:var(--blue)}
.garment .view-ko{font-size:12px;font-weight:700;fill:#657586}
.garment .back-yoke{fill:none;stroke:#d5dde5;stroke-width:1.5;stroke-dasharray:4 4}
.garment .neck-label{fill:#e3e9ee;stroke:#aebbc6;stroke-width:1}
/* v7 supplied print-area artwork */
.print-layout{grid-template-columns:minmax(620px,760px) minmax(250px,1fr);gap:28px}
.shirt-preview{max-width:760px;width:100%}
.supplied-shirt-map .hotspot rect{stroke-width:5;stroke-dasharray:14 10}
.supplied-shirt-map .hotspot text{font-size:30px}
.supplied-shirt-map .hotspot.sleeve text{font-size:25px}
.view-badge rect{stroke:none}
.front-badge rect{fill:var(--blue)}
.back-badge rect{fill:#202936}
.view-badge text{fill:#fff;font:800 30px Arial,"Noto Sans KR",sans-serif;text-anchor:middle}
@media(max-width:1150px){.print-layout{grid-template-columns:1fr}.shirt-preview{max-width:900px}}
.product-size-modal{width:min(920px,calc(100% - 32px));max-height:calc(100vh - 40px);border:0;border-radius:18px;padding:0;overflow:auto;box-shadow:0 20px 60px #102a4d30;color:var(--ink)}
.product-size-modal{scrollbar-width:none;-ms-overflow-style:none}.product-size-modal::-webkit-scrollbar{display:none}body:has(.product-size-modal[open]){overflow:hidden}
.product-size-modal::backdrop{background:#17283b80;backdrop-filter:blur(2px)}
.product-size-modal.has-more::before,.product-size-modal.has-more::after{display:none}
.size-scroll-indicator{box-sizing:border-box;position:fixed;z-index:20;bottom:var(--size-hint-bottom,6px);left:var(--size-hint-left,6px);display:none;width:var(--size-hint-width,calc(100% - 12px));height:38px;align-items:center;justify-content:center;gap:10px;border-top:2px solid #ef806b;border-radius:0 0 18px 18px;background:#fffffff2;color:#df5f4a;box-shadow:0 -5px 14px #102a4d12;pointer-events:none}
@media(max-width:700px){.size-scroll-indicator{border-radius:0 0 14px 14px}}
.product-size-modal.has-more .size-scroll-indicator{display:flex}
.size-scroll-indicator span{font:850 12px/1 "Noto Sans KR",sans-serif;letter-spacing:-.02em}.size-scroll-indicator span b{margin-right:7px;font:800 8px/1 Arial,sans-serif;letter-spacing:.16em}
.size-scroll-indicator i{position:relative;display:block;width:9px;height:13px;overflow:hidden}
.size-scroll-indicator i::before{position:absolute;top:0;left:1px;width:7px;height:1.5px;content:"";background:currentColor;box-shadow:0 4px 0 currentColor,0 8px 0 currentColor;filter:drop-shadow(0 1px 2px #fff);animation:sizeGuideScrollCue 1.25s linear infinite}
@keyframes sizeGuideScrollCue{0%{opacity:.25;transform:translateY(0)}25%{opacity:1}75%{opacity:1}100%{opacity:.25;transform:translateY(3px)}}
.product-size-modal .modal-close{top:20px;right:20px;width:34px;height:34px;border-radius:50%;background:#f1f4f7;color:#42566b;font-size:21px}
.product-size-modal .modal-close{display:grid;place-items:center;box-sizing:border-box;min-width:34px;max-width:34px;min-height:34px;max-height:34px;aspect-ratio:1;padding:0;line-height:1;flex:none}
.product-size-modal-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:26px 72px 20px 28px;border-bottom:1px solid #e7edf2}
.product-size-modal-head p{margin:0 0 6px;color:#718296;font-size:12px;font-weight:750}
.product-size-modal-head h2{margin:0;font-size:23px;letter-spacing:-.5px}
.product-size-modal-head>b{flex:none;padding:7px 11px;border-radius:8px;background:#eef5fc;color:var(--blue);font-size:12px}
.product-size-chart-body{padding:24px 28px 26px}
.product-size-modal img{display:block;width:100%;height:auto;border:1px solid #e2e8ee;border-radius:12px}
.apparel-size-chart{overflow:hidden;border:1px solid #e2e8ee;border-radius:12px;background:#fff}
.size-chart-product-visual{display:none}
.size-chart-product-stage{position:relative;width:min(100%,520px)}
.size-guide-silhouette{display:block;width:100%;height:auto}
.size-guide-silhouette .garment{fill:#f5f6f7;stroke:#536578;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.size-guide-silhouette .detail{fill:none;stroke:#8795a3;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.size-guide-silhouette .measure-line{fill:none;stroke:#9aa3ab;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.size-guide-silhouette .measure-label{fill:#243b50;stroke:#fff;stroke-width:7;paint-order:stroke;stroke-linejoin:round;font-size:22px;font-weight:900;letter-spacing:-.8px;text-anchor:middle}
.size-chart-visual-wrap{position:relative;display:grid;place-items:center;padding:20px;border-bottom:1px solid #dce5ed;background:#fff}
.size-chart-visual-wrap img{width:auto;max-width:100%;height:auto;max-height:300px;margin:0;border:0;border-radius:14px;object-fit:contain}
.size-chart-visual-wrap img[hidden]{display:none}
.size-chart-table-window{width:100%;overflow:hidden}
.size-chart-scroll{width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.size-chart-scroll table{width:100%;min-width:max(100%,calc(var(--size-columns,8) * 54px + 96px));border-collapse:separate;border-spacing:0;color:#173d5e;font-size:14px;font-variant-numeric:tabular-nums}
.size-chart-scroll th,.size-chart-scroll td{min-width:54px;padding:11px 6px;border-right:1px solid #dce5ed;border-bottom:1px solid #dce5ed;text-align:center;white-space:nowrap}
.size-chart-scroll thead th{position:sticky;top:0;z-index:2;background:#173d5e;color:#fff;font-size:14px;font-weight:850}
.size-chart-scroll tr>th:first-child{position:sticky;left:0;z-index:3;min-width:96px;text-align:left;font-weight:850}
.size-chart-scroll thead th:first-child{z-index:4;padding-left:12px;background:#173d5e}
.size-chart-scroll tbody th{padding-left:12px;background:#fff}
.size-chart-scroll tbody tr:nth-child(even) th,.size-chart-scroll tbody tr:nth-child(even) td{background:#f4f7fa}
.size-chart-scroll tbody td{font-weight:750}
.size-chart-scroll tr:last-child th,.size-chart-scroll tr:last-child td{border-bottom:0}
.size-chart-scroll th:last-child,.size-chart-scroll td:last-child{border-right:0}
.size-chart-mobile{display:none}
.size-chart-unavailable{margin:0;padding:28px;color:#6f7f90;text-align:center}
.size-chart-help{display:flex;align-items:flex-start;gap:8px;margin-top:14px;color:#6f7f90;font-size:12px;line-height:1.55}
.size-chart-help{justify-content:center;text-align:center}
.size-chart-help i{display:none}
.size-chart-help i{display:grid;place-items:center;flex:none;width:17px;height:17px;margin-top:1px;border-radius:50%;background:#eaf1f7;color:#516a82;font-size:11px;font-style:normal;font-weight:800}
.eco-size-chart{display:grid;grid-template-columns:minmax(210px,34%) 1fr;gap:24px;align-items:center}
.eco-size-chart[hidden]{display:none}
.eco-size-visual{padding:20px;border:1px solid var(--line);border-radius:16px;background:#fafbfc}
.eco-size-visual img{border:0;max-height:430px;object-fit:contain}
.eco-size-table-wrap{min-width:0}
.eco-size-table-wrap table{width:100%;border-collapse:separate;border-spacing:0;overflow:hidden;border:1px solid var(--line);border-radius:14px}
.eco-size-table-wrap th,.eco-size-table-wrap td{padding:15px 12px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center;font-size:14px}
.eco-size-table-wrap th{font-weight:800;background:#f3f6f9;color:var(--ink)}
.eco-size-table-wrap tr:last-child th,.eco-size-table-wrap tr:last-child td{border-bottom:0}
.eco-size-table-wrap th:last-child,.eco-size-table-wrap td:last-child{border-right:0}
.eco-size-table-wrap p{margin:14px 0 0;color:var(--muted);font-size:12px;line-height:1.6}
@media(max-width:700px){.product-size-modal{width:calc(100% - 12px);max-height:calc(100vh - 12px);border-radius:14px}.product-size-modal .modal-close{top:14px;right:14px;min-width:34px;max-width:34px;min-height:34px;max-height:34px}.product-size-modal-head{align-items:flex-start;flex-direction:column;gap:8px;padding:18px 58px 14px 14px}.product-size-modal-head h2{font-size:19px}.product-size-chart-body{padding:8px 6px 12px}.apparel-size-chart{min-width:0}.size-chart-visual-wrap{place-items:start center;padding:6px 10px 0}.size-chart-visual-wrap img{width:min(90vw,360px);max-width:100%;max-height:none}.size-chart-desktop{display:none}.size-chart-mobile{display:block}.size-chart-mobile table{width:100%;table-layout:fixed;border-collapse:collapse;color:#173d5e;font-size:14px;font-variant-numeric:tabular-nums}.size-chart-mobile th,.size-chart-mobile td{padding:8px 2px;border-right:1px solid #dce5ed;border-bottom:1px solid #dce5ed;text-align:center;white-space:nowrap}.size-chart-mobile thead th{background:#173d5e;color:#fff;font-size:13px;font-weight:850}.size-chart-mobile tbody th{background:#f8fafc;font-weight:850}.size-chart-mobile tbody td{font-weight:750}.size-chart-mobile tr:last-child th,.size-chart-mobile tr:last-child td{border-bottom:0}.size-chart-mobile th:last-child,.size-chart-mobile td:last-child{border-right:0}}
@media(max-width:700px){.eco-size-chart{grid-template-columns:1fr}.eco-size-visual{display:none}.eco-size-table-wrap{overflow:auto}.eco-size-table-wrap table{min-width:650px}.eco-size-chart img{min-width:0}}
/* v8 interactive button feedback */
button,.color-card,.hotspot,.upload-box label{cursor:pointer;-webkit-tap-highlight-color:transparent}
button,.color-card,.upload-box label{transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background-color .16s ease,color .16s ease,opacity .16s ease}
button:focus-visible,.color-card:focus-visible,.hotspot:focus-visible,.upload-box label:focus-visible{outline:3px solid #275dab35;outline-offset:3px}
button:active,.color-card:active,.upload-box label:active{transform:translateY(1px) scale(.985)}
@media(hover:hover){
  .product-options button:hover,.thickness-options button:hover,.position-options button:hover,.size-options button:hover{border-color:#8da8c8;background:#f7faff;box-shadow:0 6px 16px #17365312;transform:translateY(-1px)}
  .color-card:hover{border-color:#8da8c8;box-shadow:0 6px 16px #17365312;transform:translateY(-1px)}
  .text-button:hover{color:#174985;text-decoration:underline;text-underline-offset:4px}
  .add-item:hover{background:#f5f8ff;border-color:var(--blue);box-shadow:0 6px 16px #17365310}
  .form-footer>button:hover{filter:brightness(.94);box-shadow:0 8px 18px #275dab2a;transform:translateY(-1px)}
  .back-button:hover{border-color:#8da8c8!important;background:#f7faff!important}
  .upload-box label:hover{color:#174985;text-decoration:underline;text-underline-offset:3px}
  .modal-close:hover{color:var(--ink);background:#eef2f5;border-radius:50%}
}
.choice-cards{display:grid;gap:12px}.delivery-options,.shipping-options{grid-template-columns:repeat(3,1fr)}.packaging-options{grid-template-columns:repeat(2,1fr)}
.choice-cards button{padding:20px;border:1px solid var(--line);border-radius:14px;background:#fff;text-align:left;color:var(--ink)}
.choice-cards button strong,.choice-cards button span{display:block}.choice-cards button span{margin-top:7px;color:var(--muted);font-size:12px}
.choice-cards button.selected{border:2px solid var(--blue);padding:19px;background:#f6f9ff;box-shadow:0 5px 16px #275dab12}
.date-field{display:block;max-width:420px}.date-field span{display:block;margin-bottom:9px;font-size:13px;font-weight:700}.date-field input,.address-fields input{width:100%;height:52px;padding:0 15px;border:1px solid #ccd5dd;border-radius:10px;font:inherit;color:var(--ink);background:#fff}
.date-field input:focus,.address-fields input:focus{outline:3px solid #275dab20;border-color:var(--blue)}
.field-help{margin:10px 0 0;color:var(--muted);font-size:12px;line-height:1.55}
.address-fields{display:grid;gap:10px}.address-fields>div{display:grid;grid-template-columns:180px auto;gap:10px}.address-fields>div button{padding:0 20px;border:1px solid var(--blue);border-radius:10px;background:#fff;color:var(--blue);font-weight:700}
@media(max-width:700px){.delivery-options,.packaging-options,.shipping-options{grid-template-columns:1fr}.address-fields>div{grid-template-columns:1fr auto}.address-fields>div button{padding:0 14px}}
.selected-colors{grid-template-columns:repeat(6,minmax(0,1fr))}
.color-card{min-width:0;padding:9px}.color-card.selected{padding:8px}.color-card span{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.color-card i{flex:0 0 30px;width:30px;height:30px}
.selected-colors.color-focus{animation:colorFocus .8s ease}
@keyframes colorFocus{50%{box-shadow:0 0 0 5px #275dab20;border-radius:14px}}
.packaging-options strong small{margin-left:5px;color:#e56f58;font-size:10px;font-weight:700}
.customer-form{display:grid;gap:0}.customer-section{padding-top:26px;padding-bottom:28px}.customer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px;max-width:860px}.customer-grid label{display:grid;gap:8px}.customer-grid label>span{color:#405469;font-size:12px;font-weight:800}.customer-grid small{color:#ef7862;font-size:10px}.customer-grid input{width:100%;height:50px;padding:0 14px;border:1px solid #cbd6df;border-radius:10px;background:#fff;color:var(--ink);font:inherit}.customer-grid input:focus{outline:3px solid #275dab20;border-color:var(--blue)}
.customer-optional,.optional-detail-field details{margin-top:14px;border:1px solid #d9e3eb;border-radius:11px;background:#f8fafc}.customer-optional summary,.optional-detail-field summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;color:#304b63;cursor:pointer;list-style:none}.customer-optional summary::-webkit-details-marker,.optional-detail-field summary::-webkit-details-marker{display:none}.customer-optional summary span,.customer-optional summary b,.customer-optional summary small,.optional-detail-field summary span,.optional-detail-field summary b,.optional-detail-field summary small{display:block}.customer-optional summary b,.optional-detail-field summary b{font-size:12px}.customer-optional summary small,.optional-detail-field summary small{margin-top:3px;color:#7a8997;font-size:10px}.customer-optional summary i,.optional-detail-field summary i{color:#235f91;font-size:18px;font-style:normal;transition:transform .18s}.customer-optional[open] summary i,.optional-detail-field details[open] summary i{transform:rotate(45deg)}.customer-optional>.customer-grid{padding:0 14px 14px}.optional-detail-field details{margin-top:0}.optional-detail-field textarea{width:calc(100% - 28px);min-height:94px;margin:0 14px 14px}
.contact-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:860px}.contact-options button{display:grid;gap:5px;padding:15px;border:1px solid #d0dbe4;border-radius:11px;background:#fff;color:var(--ink);text-align:left}.contact-options b{font-size:14px}.contact-options span{color:var(--muted);font-size:11px}.contact-options button.selected{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue);background:#f5f9ff}.contact-options button.selected b{color:var(--blue)}
.lookup-password .field-title h3 small{margin-left:5px;color:#ef7862;font-size:10px}.password-grid{display:grid;grid-template-columns:repeat(2,minmax(0,230px));gap:12px}.password-grid label{display:grid;gap:8px}.password-grid span{color:#405469;font-size:12px;font-weight:800}.password-grid input{width:100%;height:52px;padding:0 15px;border:1px solid #cbd6df;border-radius:10px;background:#fff;color:var(--ink);font-size:22px;font-weight:800;letter-spacing:8px;text-align:center}.password-grid input:focus{outline:3px solid #275dab20;border-color:var(--blue)}.password-help{margin:10px 0 0;color:var(--muted);font-size:11px}
.customer-form .lookup-password{padding-bottom:20px;border-bottom:0}.final-agreement{margin-top:2px;padding:20px;border:1px solid #d8e1e8;border-radius:13px;background:#f8fafc}.final-agreement label{display:flex;align-items:flex-start;gap:11px;cursor:pointer}.final-agreement input{flex:none;width:18px;height:18px;margin:2px 0 0;accent-color:var(--blue)}.final-agreement span{display:grid;gap:5px}.final-agreement b{font-size:13px}.final-agreement small{color:var(--muted);font-size:11px;line-height:1.5}.submit-notice{display:flex;align-items:center;gap:14px;margin-top:14px;padding:15px 17px;border-left:3px solid var(--blue);background:#f3f7fb}.submit-notice b{font-size:12px;white-space:nowrap}.submit-notice span{color:var(--muted);font-size:11px;line-height:1.5}
@media(max-width:700px){[data-step-panel="4"]>.field-group{padding:22px 0}.customer-section{padding:22px 0}.customer-section .field-title p{margin-bottom:13px}.customer-grid{grid-template-columns:1fr;gap:12px}.customer-grid input{height:46px}.contact-method-section{padding:16px 0}.contact-method-section .field-title{margin-bottom:9px}.contact-method-section .field-title h3{margin-bottom:0;font-size:14px}.contact-method-section .field-title p{display:none}.contact-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.contact-options button{display:block;min-height:40px;padding:7px 3px;border-radius:8px;text-align:center}.contact-options b{font-size:11px;white-space:nowrap}.contact-options button span{display:none}.password-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.password-grid input{height:48px}.final-agreement{padding:15px}.submit-notice{align-items:flex-start;flex-direction:column;gap:5px}.submit-notice b{white-space:normal}}
.supplied-shirt-map image{transition:filter .18s ease,opacity .18s ease}.supplied-shirt-map:hover image{filter:drop-shadow(0 10px 9px #17365318)}
@media(hover:hover){.supplied-shirt-map .hotspot:hover rect{fill:#ef887246;stroke:var(--coral);stroke-width:7;stroke-dasharray:none}.supplied-shirt-map .hotspot:hover text{fill:#fff}}
@media(max-width:900px){.selected-colors{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.selected-colors{grid-template-columns:repeat(2,minmax(0,1fr))}}
.quantity-input{display:grid;grid-template-columns:minmax(0,1fr) 30px;height:44px;border:1px solid #b9c5cf;border-radius:8px;overflow:hidden;background:#fff}
.size-box .quantity-input input{width:100%;height:42px;border:0;border-radius:0;padding:0 4px;appearance:textfield;-moz-appearance:textfield;font-weight:700}
.size-box .quantity-input input::-webkit-inner-spin-button,.size-box .quantity-input input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.quantity-arrows{display:grid!important;grid-template-rows:1fr 1fr!important;width:30px!important;border-left:1px solid #aebbc6;background:#eef3f7}
.quantity-arrows .quantity-stepper{display:grid!important;place-items:center!important;width:30px!important;height:21px!important;min-width:30px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:#eef3f7!important;color:#30475d!important;box-shadow:none!important;transform:none!important;opacity:1!important;visibility:visible!important}
.quantity-arrows .quantity-stepper b{display:block;font-size:10px;line-height:1;font-family:Arial,sans-serif}
.quantity-arrows .quantity-stepper+button{border-top:1px solid #aebbc6!important}
.quantity-input:focus-within{outline:2px solid #275dab33;border-color:var(--blue)}
@media(hover:hover){.quantity-arrows .quantity-stepper:hover{background:#dce9f8!important;color:var(--blue)!important}}
.date-picker-field{position:relative;max-width:520px;min-height:72px;padding:13px 15px 13px 17px;border:1px solid #c8d5df;border-radius:12px;background:#f8fbfd;display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer;transition:.16s}
.date-picker-field span,.date-picker-field strong{display:block}.date-picker-field span{margin-bottom:5px;color:var(--muted);font-size:11px}.date-picker-field strong{color:#173d5d;font-size:15px}.date-picker-field>b{display:flex;align-items:center;gap:7px;padding:10px 12px;border:1px solid #d4e0e9;border-radius:8px;background:#fff;color:#285b82;font-size:12px}.date-picker-field>b i{position:relative;width:15px;height:14px;border:1.5px solid currentColor;border-radius:3px}.date-picker-field>b i:before{content:"";position:absolute;left:-1.5px;right:-1.5px;top:3px;border-top:1.5px solid currentColor}.date-picker-field input{position:absolute;width:1px;height:1px;right:18px;bottom:12px;opacity:0;pointer-events:none}.date-picker-field.selected{border:2px solid var(--blue);padding:12px 14px 12px 16px;background:#f8fbff}.date-picker-field:focus-visible{outline:3px solid #275dab25;outline-offset:3px}
.date-picker-field.undecided{background:#f7f9fb;color:#526579}.date-undecided{display:flex;align-items:center;gap:8px;width:max-content;margin-top:12px;color:#43566b;font-size:13px;cursor:pointer}.date-undecided input{width:17px;height:17px;margin:0;accent-color:var(--blue)}
.delivery-field{position:relative}.tiverse-calendar{position:absolute;z-index:12;top:122px;left:0;width:min(340px,100%);padding:13px;border:1px solid #cfdae3;border-radius:14px;background:#fff;box-shadow:0 18px 42px rgba(23,54,83,.2)}.tiverse-calendar[hidden]{display:none}.tiverse-calendar header{display:grid;grid-template-columns:34px 1fr 34px;align-items:center}.tiverse-calendar header strong{text-align:center;color:#173d5d;font-size:14px}.tiverse-calendar button{border:0;background:none;color:#254f70}.tiverse-calendar header button{height:34px;border-radius:8px;font-size:24px}.calendar-week,.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}.calendar-week{margin:10px 0 5px}.calendar-week span{color:#8392a1;font-size:10px;text-align:center}.calendar-days>span,.calendar-days>button{aspect-ratio:1;display:grid;place-items:center;border-radius:8px;font-size:11px}.calendar-days>button:hover{background:#edf4f9}.calendar-days>button:disabled{color:#c5cdd4}.calendar-days>button.today{box-shadow:inset 0 0 0 1px #9bb6cc}.calendar-days>button.selected{background:#1b5b88;color:#fff;font-weight:800}.tiverse-calendar footer{display:flex;justify-content:flex-end;gap:5px;margin-top:8px;padding-top:9px;border-top:1px solid #edf1f4}.tiverse-calendar footer button{padding:7px 10px;border-radius:7px;font-size:11px}.tiverse-calendar footer button:first-child{background:#edf4f9;font-weight:700}
.fulfillment-field{padding-top:24px;padding-bottom:24px}.fulfillment-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:22px}.fulfillment-grid section{min-width:0}.fulfillment-grid h3{margin-bottom:10px;font-size:15px}.fulfillment-grid .choice-cards{gap:7px}.fulfillment-grid .choice-cards button{min-height:58px;padding:9px 10px;border-radius:9px}.fulfillment-grid .choice-cards button.selected{padding:8px 9px}.fulfillment-grid .choice-cards button strong{font-size:12px}.fulfillment-grid .choice-cards button span{margin-top:3px;font-size:10px}.fulfillment-grid .packaging-options{grid-template-columns:repeat(2,minmax(0,1fr))}.fulfillment-grid .shipping-options{grid-template-columns:repeat(3,minmax(0,1fr))}
.compact-fulfillment-panel{margin:22px 0 0;padding:0 18px;border:1px solid #d7e2eb;border-radius:14px;background:#f8fafc}.compact-fulfillment-panel .field-group{border-bottom:0}.compact-fulfillment-panel .delivery-field{padding:18px 0 16px}.compact-fulfillment-panel .fulfillment-field{padding:16px 0 18px;border-top:1px solid #e2e9ef;border-bottom:0}.compact-fulfillment-panel .date-picker-field{min-height:58px;background:#fff}.compact-fulfillment-panel .field-help{margin-top:8px;font-size:10px}.compact-fulfillment-panel .fulfillment-grid{gap:16px}.compact-fulfillment-panel .fulfillment-grid .choice-cards button{min-height:46px}.compact-fulfillment-panel .fulfillment-grid .choice-cards button span{display:none}
@media(max-width:700px){.tiverse-calendar{position:fixed;left:16px;right:16px;top:50%;width:auto;transform:translateY(-50%)}.compact-fulfillment-panel{margin-top:16px;padding:0 12px;border-radius:12px}.compact-fulfillment-panel .delivery-field{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 10px;padding:14px 0 12px}.compact-fulfillment-panel .delivery-field>h3{grid-column:1/-1;margin-bottom:0;font-size:14px}.compact-fulfillment-panel .date-picker-field{min-height:48px;padding:8px 10px}.compact-fulfillment-panel .date-picker-field span{display:none}.compact-fulfillment-panel .date-picker-field strong{font-size:13px}.compact-fulfillment-panel .date-picker-field>b{padding:7px}.compact-fulfillment-panel .date-picker-field>b i{width:14px}.compact-fulfillment-panel .date-undecided{margin:0;font-size:11px;white-space:nowrap}.compact-fulfillment-panel .date-undecided input{width:15px;height:15px}.compact-fulfillment-panel .field-help{grid-column:1/-1;margin:0}.compact-fulfillment-panel .fulfillment-field{padding:12px 0 14px}.fulfillment-grid{grid-template-columns:1fr;gap:12px}.fulfillment-grid h3{margin-bottom:7px;font-size:13px}.fulfillment-grid .packaging-options{grid-template-columns:repeat(2,minmax(0,1fr))}.fulfillment-grid .shipping-options{grid-template-columns:repeat(3,minmax(0,1fr))}.fulfillment-grid .choice-cards button,.compact-fulfillment-panel .fulfillment-grid .choice-cards button{min-height:40px;padding:6px 5px;text-align:center}.fulfillment-grid .choice-cards button.selected,.compact-fulfillment-panel .fulfillment-grid .choice-cards button.selected{padding:5px 4px}.fulfillment-grid .choice-cards button span{display:none}}
@media(hover:hover){.date-picker-field:hover{border-color:var(--blue);box-shadow:0 7px 18px #17365312;transform:translateY(-1px)}}
.color-image-modal{width:min(1100px,calc(100% - 32px));max-height:calc(100vh - 32px);border:0;border-radius:22px;padding:28px;box-shadow:0 24px 80px #102a4d40;color:var(--ink)}
.color-image-modal::backdrop{background:#14283f99;backdrop-filter:blur(3px)}
.color-image-modal-head{padding-right:42px;margin-bottom:18px}.color-image-modal-head h2{margin:7px 0 6px;font-size:25px}.color-image-modal-head span{font-size:13px;color:var(--muted)}
.color-chart-image{padding:18px;border-radius:15px;background:#f6f7f8;text-align:center;overflow:auto}.color-chart-image img{display:block;width:min(100%,1000px);height:auto;margin:0 auto;image-rendering:auto}
@media(max-width:700px){.color-image-modal{padding:18px}.color-image-modal-head h2{font-size:20px}.color-chart-image{padding:10px}.color-chart-image img{width:1000px;max-width:none}}
.color-select-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:22px;align-items:start}.color-select-layout .selected-colors{grid-template-columns:repeat(4,minmax(0,1fr))}
.color-hover-preview{position:sticky;top:92px;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff;text-align:center;box-shadow:0 10px 26px #1736530d}.color-shirt-preview{width:100%;aspect-ratio:1;background-image:url('../images/17-cotton-colors.jpg');background-size:200% auto;background-repeat:no-repeat;background-color:#f7f8f9;border-radius:12px;transition:background-position .12s ease}.color-hover-preview>span{display:block;margin-top:12px;color:var(--coral);font:700 10px Arial,sans-serif;letter-spacing:1.5px}.color-hover-preview>strong{display:block;margin-top:5px;font-size:18px}.color-hover-preview>p{margin:7px 0 0;color:var(--muted);font-size:10px;line-height:1.45}
@media(max-width:900px){.color-select-layout{grid-template-columns:1fr 210px}.color-select-layout .selected-colors{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.color-select-layout{display:flex;flex-direction:column-reverse}.color-hover-preview{position:static;width:100%;display:grid;grid-template-columns:140px 1fr;grid-template-rows:auto auto auto;column-gap:15px;text-align:left}.color-shirt-preview{grid-row:1/4;width:140px}.color-hover-preview>span{align-self:end}.color-hover-preview>strong{align-self:center}.color-hover-preview>p{align-self:start}.color-select-layout .selected-colors{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}}
.floating-color-preview{position:fixed;z-index:50;width:176px;padding:8px 8px 11px;border:1px solid #ccd7e0;border-radius:14px;background:#fff;text-align:center;box-shadow:0 14px 35px #102a4d38;pointer-events:none;animation:previewPop .14s ease-out}
.floating-color-preview[hidden]{display:none}.floating-color-preview:after{content:"";position:absolute;left:50%;bottom:-7px;width:12px;height:12px;background:#fff;border-right:1px solid #ccd7e0;border-bottom:1px solid #ccd7e0;transform:translateX(-50%) rotate(45deg)}.floating-color-preview.below:after{top:-7px;bottom:auto;border:0;border-left:1px solid #ccd7e0;border-top:1px solid #ccd7e0}
.floating-shirt-image{width:158px;aspect-ratio:1;background-size:contain;background-position:center;background-repeat:no-repeat;background-color:#f7f8f9;border-radius:9px}.floating-color-preview>span{display:block;margin-top:7px;color:var(--coral);font:700 9px Arial,sans-serif;letter-spacing:1.2px}.floating-color-preview>strong{display:block;margin-top:3px;font-size:15px}
@keyframes previewPop{from{opacity:0;transform:translateY(5px) scale(.97)}to{opacity:1;transform:none}}
@media(max-width:700px){.floating-color-preview{width:154px}.floating-shirt-image{width:136px}.selected-colors{grid-template-columns:repeat(2,minmax(0,1fr))}}
.color-confirm-sheet{width:min(520px,calc(100% - 28px));padding:0;border:0;border-radius:20px;background:#fff;box-shadow:0 24px 70px #10273f55;overflow:hidden}.color-confirm-sheet::backdrop{background:#13283e75;backdrop-filter:blur(2px)}.color-confirm-sheet .modal-close{position:absolute;z-index:3;right:14px;top:14px;display:grid;place-items:center;box-sizing:border-box;min-width:38px;min-height:38px;width:38px;height:38px;aspect-ratio:1;padding:0;border:0;border-radius:50%;background:#eef2f5;color:#526477;font-size:22px;line-height:1;box-shadow:0 3px 10px #17365318}.color-confirm-track{display:flex;width:100%;gap:10px;padding:18px 48px 6px 14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-left:14px;scrollbar-width:none;-webkit-overflow-scrolling:touch;cursor:grab}.color-confirm-track.dragging{cursor:grabbing;scroll-snap-type:none;user-select:none}.color-confirm-track::-webkit-scrollbar{display:none}.color-confirm-slide{position:relative;flex:0 0 calc(100% - 36px);margin:0;scroll-snap-align:start}.color-confirm-slide img{display:block;width:100%;height:min(58vh,500px);object-fit:contain;border-radius:14px;background:#f8f9fa;pointer-events:none}.color-confirm-slide figcaption{position:absolute;left:10px;bottom:10px;padding:5px 8px;border-radius:7px;background:#173653d9;color:#fff;font-size:10px;font-weight:800}.color-confirm-arrow{position:absolute;z-index:2;top:50%;display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid #d5dee5;border-radius:50%;background:#fffffff0;color:#173653;font-size:19px;box-shadow:0 5px 16px #17365320;transform:translateY(-50%)}.color-confirm-arrow.prev{left:10px}.color-confirm-arrow.next{right:10px}.color-confirm-swipe{display:flex;align-items:center;justify-content:center;gap:9px;padding:7px 16px 3px;color:#778592;font-size:9px}.color-confirm-swipe>div{display:flex;gap:4px}.color-confirm-swipe i{width:5px;height:5px;border-radius:50%;background:#cbd4db}.color-confirm-swipe i.active{width:13px;border-radius:5px;background:#526f88}.color-confirm-note{margin:0;padding:6px 18px 16px;color:#8793a0;font-size:10px;line-height:1.4;text-align:center}
@media(max-width:700px){.color-confirm-sheet{width:100%;max-width:none;margin:auto 0 0;border-radius:22px 22px 0 0}.color-confirm-track{padding-top:16px;cursor:auto}.color-confirm-slide img{height:min(54vh,470px)}.color-confirm-arrow{display:none}.color-confirm-note{padding-bottom:calc(14px + env(safe-area-inset-bottom));font-size:9px}}
.color-confirm-slide figcaption{display:none}
.color-select-layout{grid-template-columns:1fr}.color-hover-preview{display:none}.color-select-layout .selected-colors,.selected-colors{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.color-card,.color-card.selected{position:relative;display:grid;justify-items:center;gap:7px;min-width:0;padding:8px 5px 9px;border-radius:11px}.color-card.selected{padding:6px 3px 7px;border:3px solid var(--blue);background:#f2f7fc}.color-card img,.color-card>i{display:block;flex:none;width:100%;height:auto;aspect-ratio:1;border-radius:8px;object-fit:contain;background:#fff}.color-card>i{border:1px solid #d7dfe5}.color-card span{display:block;width:100%;font-size:12px;font-weight:800;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.color-card b{position:absolute;right:7px;top:7px;display:none;place-items:center;width:22px;height:22px;margin:0;border:2px solid #fff;border-radius:50%;background:var(--blue);color:#fff;font-size:12px}.color-card.selected b{display:grid}.color-card.swatch-only>i{width:100%;height:auto}.color-card.swatch-only:after{content:'색상 이미지 없음';position:absolute;left:8px;right:8px;top:50%;padding:3px 2px;border-radius:5px;background:#ffffffd9;color:#667789;font-size:9px;font-weight:700;text-align:center;transform:translateY(-50%)}
@media(max-width:700px){.color-select-layout{display:block}.color-select-layout .selected-colors,.selected-colors{grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.color-card span{font-size:11px}}
.color-confirm-sheet .modal-close{background:#ffffffa8;border:1px solid #d7e0e766;color:#526477;box-shadow:0 2px 8px #17365312;backdrop-filter:blur(7px)}
.color-confirm-slide img{background:transparent}
.color-confirm-track{gap:0;padding-right:0;padding-left:0;scroll-padding-left:0}.color-confirm-slide{flex-basis:100%;padding:0 16px}
@media(max-width:700px){.color-confirm-track{gap:0;padding-right:0;padding-left:0;scroll-padding-left:0}.color-confirm-slide{flex-basis:100%;padding:0 14px}.color-confirm-arrow{display:grid;width:34px;height:34px;min-width:34px;min-height:34px;background:#ffffff9c;opacity:.72;backdrop-filter:blur(5px)}.color-confirm-arrow.prev{left:7px}.color-confirm-arrow.next{right:7px}.color-confirm-track.swipe-hint .color-confirm-slide:first-child{animation:swipeNudge .95s ease}}
@keyframes swipeNudge{0%,100%{transform:translateX(0)}35%{transform:translateX(-10px)}65%{transform:translateX(7px)}}
@media(max-width:700px){
  .form-panel>[data-step-panel],.matched-product-section,.matched-products,.matched-featured-section,.matched-all-section,.matched-featured-track{width:100%;max-width:100%}
  .matched-products{margin-right:0;padding-right:0;overflow:visible}
  .matched-product-nav{display:flex!important}
  .matched-featured-track{gap:0;margin-right:0;padding-right:0;scroll-padding-inline:0}
  .matched-featured-track .matched-product-card{flex:0 0 100%;scroll-snap-align:center}
  .matched-featured-track.swipe-hint .matched-product-card:first-child{animation:swipeNudge .95s ease}
}
@media(max-width:800px){.form-panel{padding-bottom:92px}.form-footer{height:70px;padding:0 18px}.form-footer>[data-next]{min-width:132px;padding:13px 28px}}

/* Compact mobile option grids: reduce long-page fatigue without crowding labels. */
@media(max-width:700px){
  [data-step-panel="2"]>.field-group{padding-top:24px;padding-bottom:24px}
  [data-step-panel="2"] .field-title h3{line-height:1.3}
  [data-step-panel="2"] .field-title p{margin-top:-6px;margin-bottom:14px;font-size:12px;line-height:1.55}
  [data-step-panel="2"] .selected-colors{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
  [data-step-panel="2"] .color-card{flex-direction:column;justify-content:center;min-height:58px;padding:6px 3px;gap:4px;border-radius:9px;text-align:center}
  [data-step-panel="2"] .color-card.selected{padding:5px 2px}
  [data-step-panel="2"] .color-card i{flex:0 0 28px;width:28px;height:28px;border-radius:7px}
  [data-step-panel="2"] .color-card img{display:none}
  [data-step-panel="2"] .color-card span{width:100%;font-size:9.5px;line-height:1.15;letter-spacing:-.35px;text-align:center}
  [data-step-panel="2"] .color-card b{position:absolute;right:4px;top:3px;font-size:9px}
  [data-step-panel="2"] .quantity-card-body .size-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px;background:#f5f7f9}
  [data-step-panel="2"] .quantity-card-body{grid-template-columns:1fr}
  [data-step-panel="2"] .quantity-product-image{display:none}
  [data-step-panel="2"] .size-box{min-height:72px;padding:9px 6px 8px;border:1px solid #dbe3e9;border-radius:9px;background:#fff;box-shadow:0 2px 5px #17365308}
  [data-step-panel="2"] .size-box label{margin-bottom:8px;color:#426782;font-size:11px;font-weight:850;line-height:1.15;letter-spacing:.1px}
  [data-step-panel="2"] .quantity-input{grid-template-columns:27px minmax(32px,1fr) 27px;width:calc(100% - 4px);height:33px;margin:0 auto;border:1px solid #c9d4dd;border-radius:7px;background:#fff}
  [data-step-panel="2"] .quantity-value{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:center;min-width:0;height:31px}
  [data-step-panel="2"] .size-box .quantity-value input{width:23px;height:31px;padding:0;border:0!important;font-size:13px;text-align:right}
  [data-step-panel="2"] .quantity-value em{margin-left:1px;color:#526273;font-size:10px;font-style:normal}
  [data-step-panel="2"] .quantity-arrows .quantity-stepper{width:27px!important;height:31px!important;min-width:27px!important;min-height:31px!important;background:transparent!important}
  [data-step-panel="2"] .quantity-arrows .quantity-stepper::before{font-size:16px;font-weight:500}
  [data-step-panel="2"] .quantity-arrows .quantity-stepper[data-step-change="-1"]{border-right:1px solid #e1e6ea!important}
  [data-step-panel="2"] .quantity-arrows .quantity-stepper[data-step-change="1"]{border-left:1px solid #e1e6ea!important}
  [data-step-panel="2"] .quantity-arrows .quantity-stepper+button{border-top:0!important}
  [data-step-panel="2"] .size-box.unavailable{display:grid;align-content:start;background:#eef1f3;box-shadow:none}
  [data-step-panel="2"] .size-box.unavailable label{color:#929da7}
  [data-step-panel="2"] .size-box.unavailable .size-unavailable{display:grid;place-items:center;height:33px;margin:0 2px;border-radius:7px;background:#e5e9ec;color:#929da7;font-size:10px}
  [data-step-panel="2"] .quantity-card-head{align-items:start;padding:16px 14px}
  [data-step-panel="2"] .quantity-card{overflow:hidden;border-radius:15px}
  [data-step-panel="2"] .quantity-card-head{border-radius:14px 14px 0 0}
  [data-step-panel="2"] .quantity-card-head>div{display:grid;grid-template-columns:minmax(0,1fr);gap:5px}
  [data-step-panel="2"] .quantity-card-head>div>i{display:none}
  [data-step-panel="2"] .quantity-product-title{grid-column:1;grid-row:1;min-width:0}
  [data-step-panel="2"] .quantity-card-head small{grid-column:1/-1;margin-top:4px;line-height:1.4}
  [data-step-panel="2"] .quantity-card-actions{flex:none}
  [data-step-panel="2"] .order-tab span.complete{background:#e8f2ed;color:#347052}
}
.wordmark{display:flex;align-items:center}.wordmark img{display:block;width:auto;height:22px}@media(max-width:700px){.wordmark img{height:17px}}
.toast{max-width:calc(100vw - 24px);white-space:nowrap}
.placement-intro{margin:0 0 18px;padding:16px 18px;border-left:3px solid #ef806b;background:#f7f9fb;color:#173653}
.placement-intro strong{display:block;font-size:14px}
.placement-intro p{margin:6px 0 0;color:#667789;font-size:13px;line-height:1.6}
.placement-product-photo{pointer-events:none}
.placement-design{cursor:grab;touch-action:none;filter:drop-shadow(0 4px 8px #17365324)}
.placement-design.selected{outline:4px solid #ef806b;filter:drop-shadow(0 0 8px #ef806b88)}
.placement-design.dragging{cursor:grabbing}
.placement-editor-tools{display:flex;justify-content:center;gap:8px;margin:12px 0 4px}
.placement-editor-tools button{min-height:42px;padding:0 13px;border:1px solid #d8e2ea;border-radius:10px;background:#fff;color:#173653;font-weight:750}
.placement-editor-tools button:disabled{opacity:.38;cursor:not-allowed}
.placement-editor-tools button span{margin-left:3px;font-size:11px}
.quantity-card.needs-quantity{animation:quantity-area-guide .75s ease-in-out 2}
.field-group.needs-color [data-color-picker]{position:relative;z-index:1;animation:quantity-area-guide .75s ease-in-out 2;border-radius:14px}
[data-garment-style].needs-style-choice{position:relative;z-index:1;border-radius:14px;animation:none!important;outline:0!important}
.quantity-size-groups{min-width:0}
.size-group{margin:0}
.size-group>h5,.child-size-group>summary{margin:0;padding:11px 12px;background:#eef3f6;color:#173653;font-size:13px;font-weight:850}
.child-size-group{border-top:1px solid #dce4ea}
.child-size-group>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none}
.child-size-group>summary::-webkit-details-marker{display:none}
.child-size-group>summary::after{content:'＋';margin-left:10px;color:#275dab;font-size:16px}
.child-size-group[open]>summary::after{content:'−'}
.child-size-group>summary span{margin-left:auto;color:#718094;font-size:11px;font-weight:650}
.print-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start}
.shirt-preview{width:100%;max-width:820px;margin:0 auto}
.placement-canvas-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.placement-face-switch{display:grid;grid-template-columns:1fr 1fr;width:min(260px,65%);padding:4px;border-radius:12px;background:#eaf0f4}
.placement-face-switch button{min-height:42px;border:0;border-radius:9px;background:transparent;color:#607286;font-weight:800}
.placement-face-switch button.selected{background:#fff;color:#173653;box-shadow:0 3px 10px #17365316}
.placement-history-tools{display:flex;gap:7px}
.placement-history-tools button{min-width:42px;min-height:42px;padding:0 12px;border:1px solid #d8e2ea;border-radius:10px;background:#fff;color:#173653;font-weight:800}
.placement-history-tools button:disabled{opacity:.35}
.placement-canvas-shell{position:relative;overflow:hidden;width:100%;aspect-ratio:1/1;border:1px solid #d6e1ea;border-radius:22px;background:#f4f7f9;box-shadow:0 14px 35px #17365312;touch-action:none}
.placement-canvas-shell .supplied-shirt-map{display:block;width:100%;height:100%}
.placement-canvas-help{margin:12px 0 0!important;text-align:center;color:#637487!important;font-size:13px!important}
.placement-selection-box{fill:none;stroke:#ef806b;stroke-width:6;stroke-dasharray:14 8;pointer-events:none}
.placement-resize-handle{fill:#fff;stroke:#ef806b;stroke-width:7;cursor:nwse-resize;touch-action:none}
.position-options{grid-template-columns:repeat(4,minmax(0,1fr));max-width:820px;margin:0 auto}
.position-options button{min-height:48px}
.hotspot{opacity:.32}
.hotspot.selected{opacity:.72}
@media(max-width:700px){
  .placement-canvas-shell{border-radius:16px}
  .placement-face-switch{width:62%}
  .placement-face-switch button{min-height:40px}
  .placement-history-tools button{min-height:40px;min-width:40px;padding:0 9px}
  .position-options{grid-template-columns:repeat(2,minmax(0,1fr))}
  .placement-canvas-help{padding:0 8px;line-height:1.55}
}
@keyframes quantity-area-guide{0%,100%{box-shadow:0 0 0 0 #ef806b00}50%{box-shadow:0 0 0 5px #ef806b40}}
@media(prefers-reduced-motion:reduce){.quantity-card.needs-quantity{animation:none;outline:4px solid #ef806b55}.field-group.needs-color [data-color-picker]{animation:none;outline:4px solid #ef806b55}[data-garment-style].needs-style-choice{animation:none;outline:4px solid #ef806b55}}
.placement-back-fallback{--garment-hint:#eef3f7}
.placement-fallback-label{fill:#718094;font-size:24px;font-weight:700}
.supplied-shirt-map .print-photo-stage{fill:#fff;stroke:none}
.placement-scale-options{grid-template-columns:repeat(5,minmax(0,1fr))}
.placement-scale-options button{min-height:70px}
.placement-scale-options button b,.placement-scale-options button span{display:block}
.placement-scale-options button span{margin-top:5px;color:#718094;font-size:11px;line-height:1.35}
.print-proof-notice strong{display:block;margin-bottom:5px;color:#173653}
@media(max-width:700px){.placement-intro{padding:14px}.placement-scale-options{grid-template-columns:repeat(2,minmax(0,1fr))}.placement-scale-options button:last-child{grid-column:1/-1}.placement-heading h2{max-width:11em}}
.quote-header{background:#173653;color:#fff;border-bottom-color:#ffffff24}.quote-header p{color:#fff}.quote-header>button{color:#fff}
.sleeve-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:30px}
.sleeve-options button{padding:18px 20px;border:1px solid var(--line);border-radius:14px;background:#fff;text-align:left;color:var(--ink)}
.sleeve-options button strong,.sleeve-options button span{display:block}
.sleeve-options button span{margin-top:7px;color:var(--muted);font-size:12px}
.sleeve-options button.selected{padding:17px 19px;border:2px solid var(--blue);background:#f6f9ff;box-shadow:0 5px 16px #275dab12}
.thickness-options button[hidden]{display:none}
@media(hover:hover){.sleeve-options button:hover{border-color:#8da8c8;background:#f7faff;box-shadow:0 6px 16px #17365312;transform:translateY(-1px)}}
@media(max-width:700px){.sleeve-options{grid-template-columns:1fr}}

/* condition-led product request */
.choice-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.choice-options button{min-width:0;padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff;text-align:left;color:var(--ink)}
.choice-options button strong,.choice-options button span{display:block}
.choice-options button span{margin-top:7px;color:var(--muted);font-size:12px;line-height:1.45}
.choice-options button.selected{border:2px solid var(--blue);padding:17px;background:#f6f9ff}
.choice-options button:disabled{opacity:.32;cursor:not-allowed;background:#f2f4f6}
.selection-preview{display:grid;grid-template-columns:170px minmax(0,1fr);gap:24px;align-items:center;margin:24px 0 0;padding:18px;border:1px solid #d6e1ea;border-radius:18px;background:#fff;box-shadow:0 8px 24px #1736530a}
.selection-preview[data-selection-preview]{display:none}
.selection-preview-image{position:relative;display:grid;place-items:center;min-height:154px;overflow:hidden;background:#fff}
.selection-preview-image>.garment-line-preview{display:none}
.selection-preview-image>img{display:block;width:100%;height:154px;object-fit:contain}
.garment-line-preview{width:220px;height:220px;overflow:visible}
.garment-line-preview [data-visual-type]{transform-origin:center;transition:transform .22s ease}
.garment-line-preview [data-visual-type][hidden]{display:none}
.garment-line-preview path{fill:var(--garment-fill,#f9fbfd);stroke:#294d70;stroke-width:3;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke;transition:stroke-width .18s,stroke .18s,fill .18s}
.garment-line-preview path.detail{fill:none;stroke:#84a0b7;stroke-width:2}
.garment-line-preview[data-thickness="얇고 가벼움"] path{stroke-width:2}
.garment-line-preview[data-thickness="두껍고 탄탄함"] path{stroke-width:4}
.garment-line-preview.fit-relaxed [data-visual-type]:not([hidden]){transform:scaleX(1.06)}
.garment-line-preview.fit-over [data-visual-type]:not([hidden]){transform:scaleX(1.13)}
.selection-preview>div:last-child>p{margin:0 0 7px;color:var(--coral);font:800 10px Arial,sans-serif;letter-spacing:1.6px}
.selection-preview h3{margin:0 0 12px;font-size:22px}
.selection-tags{display:flex;flex-wrap:wrap;gap:7px}
.selection-tags span{padding:7px 10px;border-radius:999px;background:#eaf2fb;color:#174c80;font-size:12px;font-weight:700}
.selection-preview small{display:block;margin-top:13px;color:var(--muted);font-size:12px;line-height:1.55}
.garment-style-options{grid-template-columns:repeat(5,minmax(0,1fr))}
.garment-style-options button{min-width:0;padding:10px 10px 14px}
.garment-style-options button.selected{padding:9px 9px 13px}
.choice-options .has-garment-art,.product-options .has-garment-art{text-align:center}
.garment-art-frame{display:block;width:100%;height:112px;margin:0 auto 4px;overflow:hidden;border-radius:10px;background:#f7f8f9}
.garment-art-frame>svg{display:block;width:100%;height:100%;overflow:visible;fill:#f8fafc;stroke:#234c70;stroke-width:7;stroke-linecap:round;stroke-linejoin:round}
.garment-art-frame>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 24%;background:#fff;mix-blend-mode:multiply;transform:scale(1.08)}
.garment-style-options .has-garment-art{position:relative;display:flex;min-height:220px;padding:0 10px 13px!important;flex-direction:column;justify-content:flex-end;overflow:hidden;isolation:isolate}
.garment-style-options .has-garment-art::after{content:"";position:absolute;z-index:1;right:0;bottom:0;left:0;height:76px;border-top:1px solid #e1e7ec;background:#fff;pointer-events:none}
.garment-style-options .has-garment-art .garment-art-frame{position:absolute;z-index:0;inset:0;width:100%;height:100%;margin:0;border-radius:inherit;background:#f7f8f9}
.garment-style-options .has-garment-art .garment-art-frame>img{mix-blend-mode:normal;transform:none}
.garment-style-options .has-garment-art:nth-child(1) .garment-art-frame>img{object-position:center 28%}
.garment-style-options .has-garment-art:nth-child(2) .garment-art-frame>img{object-position:center 27%;transform:translateY(12px) scale(1.28)}
.garment-style-options .has-garment-art:nth-child(3) .garment-art-frame>img{object-position:center 25%;transform:translateY(12px) scale(1.42)}
.garment-style-options .has-garment-art:nth-child(4) .garment-art-frame>img{object-position:center 25%;transform:translateY(12px) scale(1.38)}
.garment-style-options .has-garment-art:nth-child(5) .garment-art-frame>img{object-position:center 25%;transform:translateY(12px) scale(1.38)}
.garment-style-options .has-garment-art>strong,.garment-style-options .has-garment-art>span:last-child{position:relative;z-index:2;width:100%;text-align:center}
.garment-style-options .has-garment-art>strong{font-size:16px;text-shadow:0 1px 0 #fff}
.garment-style-options .has-garment-art>span:last-child{margin-top:5px;color:#667685;font-size:11px}
.garment-style-nav{display:none}
.garment-art-frame>svg .detail{fill:none;stroke:#66849e;stroke-width:4.5}
.garment-art-frame>svg .erase{fill:none;stroke:#f8fafc;stroke-width:11}
.field-group h3 small,.customer-grid label small,.matched-product-section>.field-title h3 small{display:none!important}
.availability-note{display:flex;align-items:center;gap:8px;margin:12px 4px 0;color:var(--muted);font-size:13px}
.availability-note b{padding:5px 8px;border-radius:999px;background:#eaf4ee;color:#23734a;font-size:11px}
.matched-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.matched-product-card{position:relative;display:grid;grid-template-columns:minmax(125px,34%) minmax(0,66%);gap:14px;min-width:0;min-height:360px;padding:18px;border:1px solid var(--line);border-radius:15px;background:#fff;text-align:left;color:var(--ink);overflow:hidden}
.matched-product-card.selected{padding:17px;border:2px solid var(--blue);background:#f6f9ff;box-shadow:0 8px 22px #275dab12}
.matched-product-top{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;margin:13px 0 12px}
.matched-product-top b{display:block;flex:0 0 100%;padding:2px 0 0;color:#102a43;font-size:19px;font-weight:700;line-height:1.28;letter-spacing:-.35px;overflow-wrap:anywhere}
.matched-product-top b::after{content:"";display:block;width:100%;height:1px;margin-top:7px;background:#9fb4c8}
.matched-product-top em{padding:4px 7px;border-radius:999px;background:#fff0ec;color:#d8634d;font-size:10px;font-style:normal;font-weight:800}
.matched-product-top em.blend{background:#eaf2fb;color:#174c80}
.matched-product-info{display:flex!important;flex-direction:column;align-self:stretch;min-width:0;color:#52657a;font-size:12px}
.matched-product-info>strong{color:#7b8794;font-size:14px;font-weight:600}.matched-product-info>span:not(.matched-product-cut):not(.matched-product-top){margin-top:8px}.matched-product-info>small{margin-top:7px;color:var(--muted);font-size:11px}
.matched-product-info>small{display:inline-flex;align-self:flex-start;padding:4px 7px;border-radius:999px;background:#eaf3ff;color:var(--blue);font-weight:800;line-height:1}
.matched-product-info>.matched-product-usage{display:block;margin-top:11px;padding:9px 10px;border-radius:9px;background:#f3f7fb;color:#52657a;font-size:11px;line-height:1.45}
.matched-product-usage b{display:block;margin-bottom:3px;color:#275dab;font-size:10px;font-weight:800}
.matched-product-cut{position:relative;display:block;overflow:hidden;width:100%;aspect-ratio:4/3;margin-bottom:auto;border:1px solid #edf1f4;border-radius:11px;background:#fff}
.matched-product-cut img{display:block;width:100%;height:100%;object-fit:contain;padding:7px}
.matched-product-model{position:relative;display:block!important;overflow:hidden;min-height:324px;border-radius:12px;background:#edf1f4}
.matched-product-model img{display:block;width:100%;height:100%;min-height:324px;object-fit:cover;object-position:center top}
.matched-product-cut small,.matched-product-model small{position:absolute;left:7px;bottom:7px;padding:4px 7px;border-radius:999px;background:#102a4dcc;color:#fff;font-size:9px;font-weight:700}
.pending-quantity-grid,.pending-size-chart{padding:24px;border:1px dashed #aebdcc;border-radius:15px;background:#f8fafc;text-align:center}
.pending-quantity-grid b,.pending-quantity-grid span,.pending-size-chart b,.pending-size-chart p{display:block}
.pending-quantity-grid span,.pending-size-chart p{margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.6}
.pending-size-chart[hidden]{display:none}
.quantity-card-head>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.quantity-card.is-new{animation:newQuantityCard 1.35s ease}
@keyframes newQuantityCard{0%,35%{border-color:#275dab;box-shadow:0 0 0 4px #275dab1f}100%{border-color:var(--line);box-shadow:none}}
.quantity-card-head small{color:var(--muted);font-size:11px;font-weight:500}
.size-box.unavailable{background:#f2f4f6;border-color:#e1e5e8;color:#9aa5ae}
.size-box.unavailable label{text-decoration:line-through}
.size-unavailable{display:grid;place-items:center;height:40px;color:#a0a8af;font-size:11px;font-weight:700}
.recommend-product-card{display:flex;width:100%;align-items:center;justify-content:space-between;gap:18px;margin-top:12px;padding:17px 19px;border:1px dashed #9eafbd;border-radius:14px;background:#fbfcfd;color:var(--ink);text-align:left}
.recommend-product-card strong,.recommend-product-card span{display:block}.recommend-product-card span{color:var(--muted);font-size:12px}.recommend-product-card.selected{border:2px solid var(--blue);padding:16px 18px;background:#f4f8ff}
.no-matched-products{grid-column:1/-1;padding:24px;border:1px dashed #b9c5cf;border-radius:14px;background:#fafbfd;text-align:center}.no-matched-products b,.no-matched-products span{display:block}.no-matched-products span{margin-top:8px;color:var(--muted);font-size:12px}
@media(hover:hover){.matched-product-card:hover,.recommend-product-card:hover{border-color:#7f9cba;box-shadow:0 8px 20px #17365313;transform:translateY(-1px)}}
@media(max-width:700px){
  .matched-products{
    display:flex;
    gap:12px;
    margin-right:-18px;
    padding-right:18px;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scroll-snap-type:x mandatory;
    scrollbar-width:thin
  }
  .matched-product-card{flex:0 0 min(82vw,340px);scroll-snap-align:start}
  .recommend-product-card{display:block}
  .recommend-product-card span{margin-top:7px}
}
@media(max-width:800px){
}
@media(max-width:520px){
  .garment-style-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
  .garment-style-options button{display:flex;aspect-ratio:1;padding:2px 1px 4px;flex-direction:column;align-items:center;justify-content:flex-start;border-radius:10px}
  .garment-style-options button.selected{padding:1px 0 3px;border-color:transparent;background:transparent;box-shadow:none}
  .garment-style-options button{position:relative;border-color:transparent;background:transparent;box-shadow:none}
  .garment-style-options button::before{content:"";position:absolute;inset:2px;border:1px solid var(--line);border-radius:9px;background:#fff;pointer-events:none;z-index:0}
  .garment-style-options button.selected::before{border:2px solid var(--blue);background:#f6f9ff;box-shadow:0 5px 16px #275dab12}
  .garment-style-options button>*{position:relative;z-index:1}
  .garment-style-options .garment-art-frame{flex:none;height:clamp(29px,9vw,45px);margin-bottom:1px;overflow:hidden}
  .garment-style-options .garment-art-frame>svg{width:100%;max-width:none;transform:scale(1.15);transform-origin:50% 50%}
  .garment-style-options button:nth-child(4) .garment-art-frame>svg,
  .garment-style-options button:nth-child(5) .garment-art-frame>svg{transform:translateY(2px) scale(1.06)}
  .garment-style-options button strong{display:block;flex:none;font-size:11px;line-height:1.15;white-space:nowrap}
  .garment-style-options button>span:not(.garment-art-frame){display:none}
}
.total-quantity-field{display:flex;align-items:center;gap:0;width:min(360px,100%);height:58px;border:1px solid #bdc9d3;border-radius:14px;overflow:hidden;background:#fff}
.total-quantity-field button{flex:0 0 58px;height:58px;border:0;background:#eef4fa;color:var(--blue);font-size:24px;font-weight:700}
.total-quantity-field input{min-width:0;flex:1;height:58px;border:0;text-align:center;font:800 20px Arial,sans-serif;appearance:textfield;-moz-appearance:textfield}
.total-quantity-field input::-webkit-inner-spin-button,.total-quantity-field input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.total-quantity-field span{padding-right:20px;font-weight:700;color:var(--muted)}
.total-quantity-field:focus-within{outline:3px solid #275dab20;border-color:var(--blue)}
.sub-choice-title{margin-top:28px!important}
.size-timing-options{grid-template-columns:repeat(2,minmax(0,1fr));max-width:720px}
@media(hover:hover){.choice-options button:not(:disabled):hover{border-color:#8da8c8;background:#f7faff;box-shadow:0 6px 16px #17365312;transform:translateY(-1px)}}
@media(max-width:800px){
  .choice-options{grid-template-columns:repeat(2,minmax(0,1fr))}
  .selection-preview{grid-template-columns:118px minmax(0,1fr);gap:14px;padding:13px}
  .selection-preview-image{min-height:112px}
  .selection-preview-image>img{height:112px}
  .garment-line-preview{width:130px;height:130px}
  .selection-preview h3{font-size:19px}
}
@media(max-width:520px){
  .selection-preview{grid-template-columns:104px minmax(0,1fr);gap:12px;text-align:left}
  .selection-preview-image{min-height:104px}
  .selection-preview-image>img{height:104px}
  .selection-tags{justify-content:flex-start}
  .selection-preview small{display:none}
}
@media(max-width:359px){.garment-style-options{gap:5px}.garment-style-options button strong{font-size:9px}}

/* v85 product-card color gallery */
.matched-product-cut{aspect-ratio:auto;min-height:152px;padding:6px;background:#f7f9fb}
.matched-product-colors{display:grid!important;grid-template-columns:repeat(var(--color-columns,4),minmax(0,1fr));gap:3px;align-content:center;width:100%;height:100%}
.matched-product-colors img{display:block;width:100%;aspect-ratio:1/1;object-fit:contain;padding:1px;border:1px solid #e8edf1;border-radius:4px;background:#fff}
.matched-product-model small{display:none}
@media(max-width:700px){
  .matched-product-cut{min-height:142px}
  .matched-product-top b{font-size:18px;line-height:1.3}
}

/* v87 mobile matched-product carousel controls */
.matched-product-nav{display:none}
@media(max-width:700px){
  .matched-products{scroll-behavior:smooth;scroll-padding-inline:9vw}
  .matched-product-nav{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:12px}
  .matched-product-nav[hidden]{display:none}
  .matched-product-nav span{color:var(--muted);font-size:11px;font-weight:700}
  .matched-product-nav button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid #cbd7e0;border-radius:50%;background:#fff;color:var(--blue);font-size:20px;font-weight:800;box-shadow:0 5px 14px #17365312}
  .matched-product-nav button:disabled{opacity:.3;box-shadow:none;cursor:default}
}

/* v89 stronger product-selection affordance */
.matched-product-section>.field-title h3{font-size:21px}
.matched-product-section>.field-title h3 small{display:inline-block;margin-left:5px;color:var(--coral);font-size:11px}
.matched-product-card{cursor:pointer}
.matched-product-card::after{content:"";position:absolute;right:12px;top:12px;width:22px;height:22px;border:2px solid #c5d2dc;border-radius:50%;background:#fff;transition:.18s}
.matched-product-card.selected::after,.matched-product-card.in-order::after{content:"✓";display:grid;place-items:center;border-color:var(--blue);background:var(--blue);color:#fff;font-size:13px;font-weight:900}
.matched-product-select{display:flex!important;align-items:center;justify-content:space-between;gap:8px;margin-top:auto!important;padding:10px 11px;border:1px solid #9fb4c8;border-radius:9px;background:#f5f9fd;color:var(--blue);font-size:11px;font-weight:800}
.matched-product-select i{font-size:16px;font-style:normal;line-height:1}
.matched-product-card.selected .matched-product-select{border-color:var(--blue);background:var(--blue);color:#fff}
.order-summary,.print-order-summary{padding-top:28px;padding-bottom:28px}
.order-tabs{display:flex;flex-wrap:wrap;gap:10px;padding:2px 2px 7px}
.order-tab{display:flex;align-items:stretch;flex:1 1 220px;max-width:320px;min-width:210px;border:1px solid #cfdae4;border-radius:13px;background:#fff;overflow:hidden}
.order-tab>button:first-child{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:1;padding:13px 14px;border:0;background:none;color:var(--ink);text-align:left}
.order-tab b{font-size:13px;white-space:nowrap}.order-tab span{flex:none;padding:4px 7px;border-radius:7px;background:#eef3f7;color:#52687d;font-size:11px;font-weight:800}
.order-tab.active{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue);background:#f6f9ff}
.order-tab.active span{background:var(--blue);color:#fff}
.order-remove{width:36px;border:0;border-left:1px solid #e1e7ec;background:#fff;color:#8b98a5;font-size:20px}
.order-remove:hover{background:#fff2ef;color:#d65f51}
.sticky-order-bar{display:none}
.matched-product-card.in-order:not(.selected){border-color:#9eb9d2}
.order-review-list{display:grid;gap:14px}
.order-review-item{overflow:hidden;border:1px solid #ccd9e5;border-radius:14px;background:#fff;box-shadow:0 5px 16px rgba(20,58,88,.06)}
.review-product-head{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;background:#f4f8fb;border-bottom:1px solid #dce5ed}
.review-product-head img{width:58px;height:58px;object-fit:contain;border-radius:8px;background:#fff;border:1px solid #e2e8ee}
.review-product-head img.review-product-model{object-fit:cover;object-position:center top}
.review-product-head>div{min-width:0}.review-product-head small{display:block;color:#6f8294;font-size:10px;font-weight:700}.review-product-head h4{margin:2px 0;color:var(--ink);font-size:15px}.review-product-head p{margin:0;color:#718397;font-size:11px}
.review-product-head>b{color:var(--blue);font-size:14px;white-space:nowrap}
.review-color-list{display:grid}
.review-color-block{display:grid;grid-template-columns:minmax(170px,220px) minmax(0,1fr);grid-template-areas:"color color" "mockup size" "mockup design" "mockup actions";align-items:start;column-gap:16px;padding:13px 14px 14px}.review-color-block+.review-color-block{border-top:1px solid #e3e9ef}
.review-color-block:not(:has(.review-mockups)){grid-template-columns:1fr;grid-template-areas:"color" "size" "design" "actions"}
.review-color-block:has(.review-mockup:nth-child(2)){grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"color color" "mockup mockup" "size design" "actions actions";column-gap:14px}.review-color-block:has(.review-mockup:nth-child(2)) .review-mockups{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:11px}.review-color-block:has(.review-mockup:nth-child(2)) .review-size-summary{padding-top:9px;border-top:1px solid #edf1f4}
.review-color-block>header{grid-area:color;display:flex;align-items:center;gap:7px;margin-bottom:11px;padding-bottom:10px;border-bottom:1px solid #edf1f4}.review-color-block>header i{width:18px;height:18px;flex:0 0 18px;border:1px solid #cbd5de;border-radius:4px}.review-color-block>header strong{font-size:13px;color:var(--ink)}.review-color-block>header b{margin-left:auto;color:#163e60;font-size:12px}
.review-mockups{grid-area:mockup;display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:7px;margin:0}.review-mockup{min-width:0;margin:0}.review-mockup>div{position:relative;overflow:hidden;aspect-ratio:1;border:1px solid #dce5ec;border-radius:10px;background:#f9fbfc}.review-mockup>div>img:first-child{display:block;width:100%;height:100%;object-fit:contain}.review-mockup figcaption{margin-top:5px;color:#778897;font-size:9px;text-align:center}.review-mockup-object{position:absolute;display:block;object-fit:contain;transform-origin:center;pointer-events:none}.review-mockup-object.circle{border-radius:50%}.review-mockup-object.text{display:grid;place-items:center;height:auto!important;font-size:clamp(6px,2vw,12px);font-style:normal;font-weight:800;line-height:1;text-align:center;white-space:nowrap}
.review-size-summary,.review-design-summary{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:start;gap:9px;padding:9px 0;border-top:1px solid #edf1f4}.review-size-summary{grid-area:size;border-top:0;padding-top:1px}.review-design-summary{grid-area:design}.review-size-summary h5,.review-design-summary h5{margin:2px 0 0;color:#65788a;font-size:11px}
.review-size-summary>div{display:flex;flex-wrap:wrap;gap:5px}.review-size-summary span{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;background:#f2f5f7;border:1px solid #e2e8ed;border-radius:5px}.review-size-summary b{color:#173d5d;font-size:11px}.review-size-summary em{color:#52687b;font-size:10px;font-style:normal}
.review-design-summary>div{min-width:0}.review-design-summary span{display:block;color:#203f59;font-size:12px;font-weight:700}.review-design-summary small{display:block;overflow:hidden;margin-top:2px;color:#768899;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.review-files{display:grid;gap:5px;margin-top:8px}.review-files>span{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:7px;min-height:30px;padding:3px 7px 3px 3px;border:1px solid #e1e8ed;border-radius:6px;background:#f8fafb}.review-files img,.review-files i{width:24px;height:24px;border-radius:4px;background:#fff;object-fit:cover}.review-files i{display:grid;place-items:center;border:1px solid #dce4ea;color:#6a7e90;font-size:7px;font-style:normal}.review-files b{overflow:hidden;color:#38546b;font-size:10px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.review-order-note{margin:0 14px 13px;padding:10px 11px;border-left:3px solid #7fa6c4;background:#f3f7fa}.review-order-note strong{display:block;margin-bottom:4px;color:#285574;font-size:10px}.review-order-note p{margin:0;color:#475f72;font-size:11px;line-height:1.55;white-space:pre-wrap}
.review-edit-actions{grid-area:actions;display:flex;justify-content:flex-end;gap:6px;padding-top:10px;border-top:1px solid #edf1f4}.review-edit-actions button{min-height:34px;padding:0 11px;border:1px solid #cbd8e3;border-radius:8px;background:#fff;color:#315773;font-size:11px;font-weight:700}.review-edit-actions button:last-child{border-color:#adc4d8;color:#174b72}
.review-empty{margin:0;padding:18px;color:#788897;font-size:12px;text-align:center}
@media(max-width:700px){
  .sticky-order-bar{position:fixed;z-index:20;top:0;right:0;left:0;display:block;padding:8px 12px;border-bottom:1px solid #d7e1e8;background:#fff;box-shadow:0 7px 16px #17365318;opacity:0;pointer-events:none;transform:translateY(-8px);transition:opacity .16s ease,transform .16s ease}
  .sticky-order-bar[hidden]{display:none}
  .sticky-order-bar.visible{opacity:1;pointer-events:auto;transform:translateY(0)}
  [data-order-tabs] .order-tab{flex-basis:100%;width:100%;max-width:none;min-width:0}
  [data-order-tabs] .order-tab>button:first-child{padding:11px 12px}
  .sticky-order-bar .order-tabs{display:flex;flex-direction:column;flex-wrap:nowrap;gap:10px;padding:2px 2px 7px;overflow:visible}
  .sticky-order-bar .order-tab{flex:none;width:100%;min-width:0;max-width:none}
  [data-step-panel="2"]>.panel-heading h2{font-size:24px;line-height:1.35;letter-spacing:-.7px;white-space:nowrap}
  [data-step-panel="2"]>.order-summary{padding-top:22px;padding-bottom:24px}
  .order-summary .field-title{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px}
  .order-summary .field-title>div{min-width:0}
  .order-summary .field-title h3{margin:6px 0 14px}
  .order-summary [data-add-another-product]{align-self:start;min-height:34px;padding:7px 9px;border:1px solid #d6e0e8;border-radius:8px;background:#fff;color:#52687d;font-size:11px;line-height:1.2;white-space:nowrap}
  .review-product-head{grid-template-columns:52px minmax(0,1fr) auto;padding:11px 12px}.review-product-head img{width:52px;height:52px}.review-product-head h4{font-size:14px}
  .review-color-block{grid-template-columns:minmax(125px,42%) minmax(0,1fr);column-gap:12px;padding:12px}.review-color-block:has(.review-mockup:nth-child(2)){grid-template-areas:"color color" "mockup mockup" "size size" "design design" "actions actions"}.review-size-summary,.review-design-summary{grid-template-columns:1fr;gap:5px}.review-size-summary h5,.review-design-summary h5{margin:0}.review-edit-actions{gap:5px}.review-edit-actions button{flex:1;padding:0 7px;white-space:nowrap}
}
@media(hover:hover){
  .matched-product-card:not(.selected):hover .matched-product-select{background:#eaf2fb}
}

/* v93 calm segmented sleeve, style and material filters */
[data-tshirt-filters],[data-sweat-filters]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;padding:30px 4px;border-bottom:1px solid var(--line)}
[data-tshirt-filters][hidden],[data-sweat-filters][hidden]{display:none!important}
[data-tshirt-filters]>.field-group,[data-sweat-filters]>.field-group{min-width:0;padding:0;border:0}
[data-tshirt-filters]>.field-group h3,[data-sweat-filters]>.field-group h3{margin:0 0 9px;font-size:14px}
[data-tshirt-filters]>.field-group h3 small,[data-sweat-filters]>.field-group h3 small{font-size:9px}
[data-tshirt-filters] .choice-options,[data-sweat-filters] .choice-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:4px;border:1px solid #dce4eb;border-radius:12px;background:#f2f5f7}
[data-tshirt-filters] [data-sleeve],[data-tshirt-filters] [data-material],[data-sweat-filters] [data-sweat-material]{grid-template-columns:repeat(3,minmax(0,1fr))}
[data-sweat-filters] [data-sweat-style]{grid-template-columns:repeat(3,minmax(0,1fr))}
[data-sweat-filters] [data-sweat-material]{grid-template-columns:repeat(3,minmax(0,1fr))}
[data-tshirt-filters] .sleeve-options{margin-bottom:0}
[data-tshirt-filters] .choice-options button,[data-sweat-filters] .choice-options button{min-height:43px;padding:9px 8px;border:0;border-radius:9px;background:transparent;text-align:center}
[data-tshirt-filters] .choice-options button.selected,[data-sweat-filters] .choice-options button.selected{padding:9px 8px;border:0;background:#fff;color:var(--blue);box-shadow:0 2px 8px #17365318}
[data-tshirt-filters] .choice-options button strong,[data-sweat-filters] .choice-options button strong{font-size:13px}
[data-tshirt-filters] .choice-options button span,[data-sweat-filters] .choice-options button span{display:none}
@media(max-width:700px){
  [data-tshirt-filters],[data-sweat-filters]{grid-template-columns:1fr;gap:14px;padding:22px 0}
  [data-tshirt-filters]>.field-group,[data-sweat-filters]>.field-group{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:10px;min-height:53px}
  [data-tshirt-filters]>.field-group h3,[data-sweat-filters]>.field-group h3{display:flex;align-items:center;justify-content:space-between;gap:5px;width:72px;margin:0;line-height:1}
  [data-tshirt-filters]>.field-group h3 small,[data-sweat-filters]>.field-group h3 small{flex:none;margin:0}
  [data-tshirt-filters] .choice-options,[data-sweat-filters] .choice-options{min-height:53px}
  [data-tshirt-filters] .choice-options button,[data-sweat-filters] .choice-options button{min-height:43px}
}

/* v92 contain multi-product horizontal content */
html,body{max-width:100%;overflow-x:hidden}
.quote-top-button{position:fixed;z-index:45;right:22px;bottom:24px;display:block;flex:0 0 40px;width:40px;min-width:40px;max-width:40px;height:40px;min-height:40px;max-height:40px;aspect-ratio:1/1;padding:0;border:1px solid #ffffff55;border-radius:999px;appearance:none;-webkit-appearance:none;background:#173653;color:#fff;box-shadow:0 6px 18px #1736532b;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .2s,transform .2s,visibility .2s,background .2s}
.quote-top-button span{position:absolute;top:5px;left:0;display:block;width:100%;height:12px;margin:0;font-size:14px;font-weight:700;line-height:12px;text-align:center}.quote-top-button b{position:absolute;right:0;bottom:6px;left:0;display:block;font-size:7.5px;line-height:1;letter-spacing:.04em;text-align:center}.quote-top-button.show{opacity:1;visibility:visible;transform:none}.quote-top-button:hover{background:#255d91}.quote-top-button:focus-visible{outline:3px solid #ff806e;outline-offset:3px}
.quote-shell{width:min(1400px,calc(100% - 64px));grid-template-columns:340px minmax(0,1fr)}
.form-panel,.form-panel>[data-step-panel],[data-apparel-options],.field-group,.matched-product-section{min-width:0}
.order-summary,.print-order-summary{max-width:100%;overflow:hidden}
.order-tabs{width:100%;max-width:100%;min-width:0}
.matched-products{width:100%;max-width:100%;min-width:0}
.matched-product-card,.matched-product-info,.matched-product-model{max-width:100%}
.matched-product-model img{max-width:100%}
@media(max-width:1150px){
  .quote-shell{width:100%}
}
@media(max-width:700px){.quote-top-button{right:14px;bottom:82px;flex-basis:36px;width:36px;min-width:36px;max-width:36px;height:36px;min-height:36px;max-height:36px;padding:3px 0 2px}.quote-top-button span{font-size:13px}.quote-top-button b{font-size:7px}}

/* v98 show the exact selected product and color beside quantities */
.quantity-card-body{display:grid;grid-template-columns:170px minmax(0,1fr);align-items:stretch}
.quantity-product-image{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:14px;border-right:1px solid var(--line);background:#fafbfd}
.quantity-product-image img{display:block;width:100%;height:125px;object-fit:contain;object-position:center}
.quantity-product-image span{display:block;max-width:100%;margin-top:7px;color:#52687d;font-size:11px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.quantity-card-body .size-grid{min-width:0}
.quantity-product-title{display:flex;align-items:center;gap:9px;min-width:0}
.quantity-product-title>span{color:#193b5b;font-size:14px;font-weight:800}
.quantity-product-title>em{padding-left:9px;border-left:1px solid #cbd6df;color:#df715d;font-size:12px;font-style:normal;font-weight:800}
.quantity-card-actions{display:flex;align-items:center;gap:6px}
.quantity-card-actions button{padding:9px 11px;border:0;border-radius:8px;background:transparent;color:#7a8998;font-size:12px}
.quantity-card-actions button[data-order-size-guide]{padding:8px 12px;background:#173653;color:#fff;font-size:12px;font-weight:800;box-shadow:0 2px 7px #173f6328}
.quantity-product-image{border-top:0;border-bottom:0;border-left:0;color:inherit;cursor:zoom-in}
.quantity-product-image:hover,.quantity-product-image:focus-visible{background:#eef5fb;outline:2px solid #79a6d1;outline-offset:-2px}
.product-photo-modal{width:min(820px,calc(100% - 28px));padding:0;border:0;border-radius:18px;background:#fff;box-shadow:0 24px 70px #102a4d55}
.product-photo-modal::backdrop{background:#10263ccc;backdrop-filter:blur(3px)}
.product-photo-modal>form{position:absolute;z-index:4;top:14px;right:14px}
.product-photo-modal .modal-close{width:42px;height:42px;border:1px solid #d5dfe7;border-radius:50%;background:#fff;color:#173653;font-size:24px;cursor:pointer}
.product-photo-modal-body{padding:24px 28px 22px;text-align:center}
.product-photo-stage{position:relative;display:flex;align-items:center;justify-content:center;min-height:520px;border-radius:14px;background:#f5f7f9;overflow:hidden}
.product-photo-stage>img{display:block;width:100%;height:500px;object-fit:contain}
.product-photo-arrow{position:absolute;z-index:2;top:50%;width:44px;height:44px;border:1px solid #c9d6e1;border-radius:50%;background:#fffffff0;color:#1f5d99;font-size:21px;transform:translateY(-50%);cursor:pointer}
.product-photo-arrow.prev{left:14px}.product-photo-arrow.next{right:14px}
.product-photo-modal-body>div:nth-child(2){display:flex;align-items:baseline;justify-content:center;gap:10px;margin-top:14px}
.product-photo-modal-body strong{color:#173653;font-size:20px}.product-photo-modal-body [data-product-photo-modal-color]{color:#e36c59;font-size:15px;font-weight:800}
.product-detail-layer{width:calc(100% - 12px);height:calc(100dvh - 12px);max-width:none;max-height:calc(100dvh - 12px);margin:auto;padding:0;border:1px solid #cdd8e1;border-radius:16px;background:#fff;color:var(--ink);box-shadow:0 12px 36px #10273f30;overflow:auto}.product-detail-layer::backdrop{background:#dfe6ec;backdrop-filter:none}.product-detail-layer>form{position:absolute;z-index:3;top:12px;right:12px}.product-detail-layer .modal-close{display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid #d7e0e7;border-radius:50%;background:#ffffffed;color:#3f566a;font-size:23px}.product-detail-media{padding:0;background:#f1f3f5}.product-detail-media>img{display:block;width:100%;height:min(52vh,470px);object-fit:contain;object-position:center center;border-radius:15px 15px 0 0;background:#fff}.product-detail-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:0;padding:0;border-top:1px solid #e0e5e9;border-bottom:1px solid #d8e0e6;background:#fff}.product-detail-tabs button{height:45px;border:0;border-right:1px solid #e1e6ea;border-radius:0;background:#fff;color:#596a79;font-size:11px;font-weight:800}.product-detail-tabs button:last-child{border-right:0}.product-detail-tabs button.selected{box-shadow:inset 0 -3px #e77862;background:#fff7f4;color:#c6533f}.product-detail-content{padding:20px 24px}.product-detail-content>p{margin:0 0 6px;color:#566f83;font-size:10px;font-weight:850;letter-spacing:.12em}.product-detail-content h2{margin:0 0 17px;font-size:24px}.product-detail-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #dce4ea;border-radius:11px;overflow:hidden}.product-detail-facts span{min-width:0;padding:12px;border-right:1px solid #e3e9ee}.product-detail-facts span:last-child{border-right:0}.product-detail-facts small,.product-detail-facts b{display:block}.product-detail-facts small{margin-bottom:5px;color:#798998;font-size:9px}.product-detail-facts b{color:#29465e;font-size:11px;line-height:1.4}.product-detail-size{display:flex;align-items:center;justify-content:space-between;width:100%;height:44px;margin-top:10px;padding:0 13px;border:1px solid #d7e1e9;border-radius:9px;background:#f8fafc;color:#285674;font-size:11px;font-weight:800}.product-detail-actions{position:sticky;bottom:0;display:grid;grid-template-columns:.7fr 1.3fr;gap:8px;padding:14px 18px calc(14px + env(safe-area-inset-bottom));border-top:1px solid #dfe6ec;background:#fffffff5;backdrop-filter:blur(8px)}.product-detail-actions button{min-height:48px;border:1px solid #cbd7e1;border-radius:10px;background:#fff;color:#41596e;font-weight:800}.product-detail-actions button:last-child{border-color:#275dab;background:#275dab;color:#fff}body:has(.product-detail-layer[open]){overflow:hidden}
.product-photo-view-tabs{display:flex;justify-content:center;gap:7px;margin-top:13px}.product-photo-view-tabs button{min-width:88px;padding:9px 18px;border:1px solid #cbd7e1;border-radius:999px;background:#fff;color:#53687b;font-weight:800;cursor:pointer}.product-photo-view-tabs button.selected{border-color:#2d68b5;background:#2d68b5;color:#fff}
@media(max-width:700px){
  .quantity-card-body{grid-template-columns:105px minmax(0,1fr)}
  .quantity-product-image{padding:9px}
  .quantity-product-image img{height:92px}
  .product-photo-modal-body{padding:62px 12px 18px}.product-photo-stage{min-height:390px}.product-photo-stage>img{height:380px}.product-photo-arrow{width:40px;height:40px}.product-photo-arrow.prev{left:8px}.product-photo-arrow.next{right:8px}.product-photo-modal-body strong{font-size:17px}
}

/* v117 product-specific print proof */
.print-active-product{display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:14px;margin-top:14px;padding:13px 15px;border:1px solid #d5e0e8;border-radius:14px;background:#f8fafc}
.print-active-product[hidden]{display:none}
.print-active-product>img{width:76px;height:68px;object-fit:contain;border-radius:9px;background:#fff}
.print-active-product>div{min-width:0}
.print-active-product small{display:block;margin-bottom:3px;color:#718094;font-size:10px;font-weight:700}
.print-active-product strong{display:block;color:#193b5b;font-size:15px}
.print-active-product p{margin:4px 0 0;color:#718094;font-size:11px}
.print-active-product>b{padding:7px 9px;border-radius:8px;background:#edf3f8;color:#275dab;font-size:11px;white-space:nowrap}
.print-preview-colors{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}
.print-preview-colors button{padding:5px 8px;border:1px solid #d3dde5;border-radius:7px;background:#fff;color:#536679;font-size:10px}
.print-preview-colors button.selected{border-color:#275dab;background:#275dab;color:#fff;font-weight:700}
.order-tab span.complete{background:#e5f5ea;color:#19743b}
.order-tab.active span.complete{background:#19743b;color:#fff}
.order-tab>button:first-child{min-width:0}
.order-tab>button:first-child b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.order-tab>button:first-child span{position:relative;z-index:1;flex:0 0 auto;white-space:nowrap}
[data-print-order-tabs] .order-tab{min-width:min(100%,260px)}
[data-print-order-tabs] .order-tab>button:first-child{gap:10px}
[data-print-order-tabs] .order-tab>button:first-child b{flex:1 1 auto}
.print-photo-stage{fill:#fbfcfd;stroke:#dce5eb;stroke-width:3}
.print-photo-stage.rear{fill:#f7f9fb}
.print-garment{fill:none;stroke:#315b7f;stroke-width:8;stroke-linecap:round;stroke-linejoin:round}
.print-garment .garment-body{fill:var(--garment-hint,#dce5eb);fill-opacity:.2}
.print-garment .covered-zip{stroke:#fff;stroke-width:12}
.print-garment .zip-seam{stroke-width:4}
.print-garment-layer{pointer-events:none}
.print-artwork{pointer-events:none}
.hotspot.has-artwork rect{fill:#fff0;stroke:#ef8872;stroke-width:6;stroke-dasharray:none}
.hotspot.has-artwork text{display:none}
.print-size-row{display:block;margin-top:12px;padding:18px;border:1px solid #d8e2ea;border-radius:14px;background:#fff}
.print-setting-head>div small{display:block;margin-bottom:3px;color:#82909d;font-size:10px;font-weight:700}
.print-setting-head>div strong{display:block;color:#193b5b;font-size:16px}
.size-options{grid-template-columns:repeat(5,minmax(0,1fr))}
.size-options button{min-width:0;text-align:left}
.size-options button b,.size-options button span{display:block}
.size-options button b{font-size:12px}
.size-options button span{margin-top:4px;color:#7a8998;font-size:9px}
.size-options button.selected span{color:#5b76a0}
.upload-box.has-preview{border-style:solid;border-color:#8fb5d6;background:#f5f9fd}
.print-preview-note{margin:7px 0 0;color:#748494;font-size:10px}
.print-proof-notice{margin:14px 0 0;padding:13px 15px;border-radius:10px;background:#f3f6f8;color:#68798a;font-size:11px;line-height:1.6}
@media(max-width:700px){
  .print-active-product{grid-template-columns:58px minmax(0,1fr);padding:11px}
  .print-active-product>img{width:58px;height:58px}
  .print-active-product>b{grid-column:1/-1;justify-self:start}
  .shirt-preview{overflow-x:auto;padding-bottom:8px}
  .shirt-preview .shirt-map{min-width:720px}
  .shirt-preview>p{position:sticky;left:0;width:calc(100vw - 40px);text-align:left;line-height:1.55}
  .size-options{grid-template-columns:repeat(2,minmax(0,1fr))}
  .print-size-row{padding:14px}
  [data-print-order-tabs] .order-tab{flex-basis:100%;max-width:none;width:100%}
}
.submit-success-modal{width:min(520px,calc(100% - 32px));padding:0;border:0;border-radius:24px;box-shadow:0 28px 80px rgba(15,44,70,.25)}
.submit-success-modal::backdrop{background:rgba(13,35,55,.58);backdrop-filter:blur(4px)}
.submit-success-content{padding:42px;text-align:center;background:#fff}
.submit-success-content>p{margin:0 0 10px;color:#ff6d5d;font-size:12px;font-weight:900;letter-spacing:.16em}
.submit-success-content h2{margin:0;color:#102d48;font-size:28px}
.submit-success-content>span{display:block;margin:14px auto 24px;color:#64778a;font-size:15px;line-height:1.65}
.submit-success-content>div{display:flex;align-items:center;justify-content:space-between;margin:0 0 24px;padding:18px 20px;border:1px solid #bdd0e3;border-radius:14px;background:#f4f8fc}
.submit-success-content small{color:#718497;font-weight:700}
.submit-success-content strong{color:#175da8;font-size:22px;letter-spacing:.03em}
.submit-success-content a{display:block;padding:15px 18px;border-radius:12px;background:#2865b3;color:#fff;font-weight:900;text-decoration:none}
.submit-success-content a.secondary{margin-top:8px;background:transparent;color:#65798c;font-size:14px}
@media(max-width:600px){.submit-success-content{padding:32px 22px}.submit-success-content h2{font-size:23px}.submit-success-content>div{padding:15px}.submit-success-content strong{font-size:18px}}

/* Mobile-first containment and accessible touch targets */
html,body{max-width:100%;overflow-x:hidden}body{overflow-wrap:anywhere}.quote-shell,.form-panel,.form-panel>*{max-width:100%;min-width:0}button,a,input,select,textarea{touch-action:manipulation}
@media(max-width:700px){
  .shirt-preview{max-width:100%;overflow:hidden}
  .shirt-preview .shirt-map{width:100%;min-width:0;transform:none}
  .order-tab{max-width:100%;min-width:min(185px,100%)}
  .review-product-head{grid-template-columns:48px minmax(0,1fr) auto;gap:9px}.review-product-head img{width:48px;height:48px}.review-product-head>b{font-size:12px}
  .quantity-stepper button,.quantity-controls button,.size-grid button{min-width:44px;min-height:44px}
  .form-actions button,.form-actions a{min-height:48px}
}

/* Mobile quantity controls: clear minus / value / plus interaction */
@media(max-width:700px){
  [data-step-panel="2"] .quantity-card{overflow:visible}
  [data-step-panel="2"] .quantity-card-head{position:sticky;top:64px;z-index:6;border:1px solid #b9cada;border-width:1px 0;background:#f7fafc;box-shadow:none}
  [data-step-panel="2"] .quantity-product-title{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:5px 8px;align-items:center}
  [data-step-panel="2"] .quantity-product-title>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .quantity-card-body .size-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1px}
  .size-box{min-width:0;padding:12px 1px}
  .quantity-input{display:grid;grid-template-columns:44px minmax(24px,1fr) 44px;width:100%;height:46px;border-radius:9px}
  .size-box .quantity-input input{grid-column:2;grid-row:1;width:100%;height:44px;padding:0 2px;border-right:1px solid #c7d2dc;border-left:1px solid #c7d2dc;font-size:16px}
  .quantity-arrows{display:contents!important}
  .quantity-arrows .quantity-stepper{grid-row:1;display:grid!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;border:0!important;background:#f3f6f9!important;color:var(--navy)!important;font-size:0!important}
  .quantity-arrows .quantity-stepper[data-step-change="-1"]{grid-column:1}
  .quantity-arrows .quantity-stepper[data-step-change="1"]{grid-column:3}
  .quantity-arrows .quantity-stepper b{display:none}
  .quantity-arrows .quantity-stepper::before{font:800 22px/1 Arial,sans-serif}
  .quantity-arrows .quantity-stepper[data-step-change="-1"]::before{content:"−"}
  .quantity-arrows .quantity-stepper[data-step-change="1"]::before{content:"+"}
  .quantity-arrows .quantity-stepper+button{border-top:0!important}
}

/* Recommended products stay rich; the full catalog becomes a compact browser. */
.matched-products{display:block}
.matched-featured-section,.matched-all-section{min-width:0}
.matched-all-section{margin-top:28px}
.matched-list-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 12px}
.matched-list-heading h4{margin:0;color:var(--ink);font-size:18px}
.matched-list-heading span{color:var(--muted);font-size:12px}
.matched-featured-track{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media(hover:hover) and (pointer:fine){.matched-featured-track.is-dragging{cursor:grabbing;scroll-snap-type:none!important;user-select:none}}
.matched-featured-track .matched-product-card{grid-template-columns:1fr;min-height:0}
.matched-featured-track .matched-product-info{grid-row:2}
.matched-featured-track .matched-product-top{order:1}
.matched-featured-track .matched-product-top{margin:12px 0 8px}
.matched-featured-track .matched-product-top b::after{display:none}
.matched-featured-track .matched-product-info>strong{order:2}
.matched-featured-track .matched-product-info>strong{color:#5f7180;font-size:12px;line-height:1.45}
.matched-featured-track .matched-product-info>span:not(.matched-product-cut):not(.matched-product-top):not(.matched-product-usage):not(.matched-product-select){order:3}
.matched-featured-track .matched-product-info>span:not(.matched-product-cut):not(.matched-product-top):not(.matched-product-usage):not(.matched-product-select){margin-top:4px;color:#6f7d88;font-size:11px}
.matched-featured-track .matched-product-info>small{order:4}
.matched-featured-track .matched-product-info>small{margin-top:5px;padding:0;border:0;border-radius:0;background:transparent;color:#6f7d88;font-size:11px;font-weight:500;line-height:1.3}
.matched-featured-track .matched-product-info>strong,.matched-featured-track .matched-product-info>small,.matched-featured-track .matched-product-info>span:not(.matched-product-cut):not(.matched-product-top):not(.matched-product-usage):not(.matched-product-select):not(.matched-product-facts){display:none!important}
.matched-product-facts{display:none!important}
.matched-featured-track .matched-product-facts{display:grid!important;order:4;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:2px!important;border-top:1px solid #dbe3e9;border-bottom:1px solid #dbe3e9;background:#f8fafb}
.matched-featured-track .matched-product-facts>span{min-width:0;padding:8px 9px}
.matched-featured-track .matched-product-facts>span:nth-child(odd){border-right:1px solid #e1e7ec}
.matched-featured-track .matched-product-facts>span:nth-child(-n+2){border-bottom:1px solid #e1e7ec}
.matched-featured-track .matched-product-facts small,.matched-featured-track .matched-product-facts b{display:block}
.matched-featured-track .matched-product-facts small{margin-bottom:3px;color:#8a97a2;font-size:9px;font-weight:600}
.matched-featured-track .matched-product-facts b{overflow:hidden;color:#435565;font-size:10px;font-weight:700;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.matched-featured-track .matched-product-cut{display:block!important;order:5;height:auto;min-height:0;margin:16px 0 0;padding:5px;overflow:visible}
.matched-featured-track .matched-product-colors{height:auto}
.matched-featured-track .matched-product-usage{order:6}
.matched-featured-track .matched-product-select{display:none!important}
.matched-featured-track .matched-product-model{display:block!important;grid-row:1;min-height:240px}
.matched-featured-track .matched-product-model img{min-height:240px;max-height:300px;object-fit:cover;object-position:center top}
.matched-featured-track .matched-product-model{height:340px;min-height:0;background:#eef1f3}
.matched-featured-track .matched-product-model img{width:100%;height:100%;min-height:0;max-height:none;object-fit:cover;object-position:center top}
.matched-featured-track .matched-product-model img.model-photo-balanced,.matched-featured-track .matched-product-model img.model-photo-wide{transform:none;transform-origin:center center}
.matched-featured-track .matched-product-model img.model-photo-portrait{object-fit:contain;object-position:center center;transform:none}
.matched-featured-track .matched-product-model img.featured-shirt-safe{object-fit:contain;object-position:center top;transform:none!important}
.matched-compact-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.matched-compact-grid .matched-product-card{display:grid;grid-template-columns:1fr;gap:0;min-height:0;padding:10px;border-radius:12px}
.matched-compact-grid .matched-product-card.selected{padding:9px}
.matched-compact-grid .matched-product-info{grid-row:2}
.matched-all-section .matched-compact-grid .matched-product-model{display:block!important;grid-row:1;width:100%;min-height:0;max-height:none;aspect-ratio:1/1;overflow:hidden;border-radius:8px;background:#f3f5f6}
.matched-all-section .matched-compact-grid .matched-product-model img{display:block;width:100%;height:100%;min-height:0;max-height:none;object-fit:cover;object-position:center 36%}
.matched-compact-grid .matched-product-model img{transform:none!important;transform-origin:center center}
.matched-all-section .matched-compact-grid .matched-product-model img.model-photo-portrait{object-fit:cover;object-position:center 28%;background:#f3f5f6}
.matched-all-section .matched-compact-grid .matched-product-model img.model-photo-wide{object-position:center 40%}
.matched-compact-grid .matched-product-model img[data-model-product="becanvas-271"]{transform:scale(1.1)!important;transform-origin:center 42%;object-position:center center}
.matched-featured-track .matched-product-model img[data-model-product="becanvas-271"]{transform:scale(1.08);transform-origin:center 42%;object-position:center center}
.matched-compact-grid .matched-product-model img[data-model-product="cotton16-short"]{object-position:center 46%}
.matched-compact-grid .matched-product-usage,.matched-compact-grid .matched-product-select{display:none!important}
.matched-compact-grid .matched-product-cut{display:none!important}
.matched-compact-grid .matched-product-top{margin:7px 0 7px}
.matched-compact-grid .matched-product-top b{font-size:13px;line-height:1.45}
.matched-compact-grid .matched-product-top b::after{display:none}
.matched-compact-grid .matched-product-top em{position:absolute;left:16px;top:16px;z-index:3;padding:4px 6px;font-size:8px;box-shadow:0 2px 7px #17365318}
.matched-compact-grid .matched-product-info>strong{display:-webkit-box;overflow:hidden;margin-top:0;color:#657586;font-size:10px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.matched-compact-grid .matched-product-info>span:not(.matched-product-cut):not(.matched-product-top){display:none!important}
.matched-compact-grid .matched-product-info>small{display:flex;align-items:center;gap:4px;margin-top:6px;padding:0;border:0;border-radius:0;background:transparent;color:#6f7d88;font-size:10px;font-weight:500;line-height:1.2;letter-spacing:-.1px}
.matched-compact-grid .matched-product-info>small::before{content:"";flex:none;width:4px;height:4px;border-radius:50%;background:#d99a8c}
.matched-compact-grid .matched-product-card::after{display:none}
.matched-compact-grid .matched-product-card.selected::after,.matched-compact-grid .matched-product-card.in-order::after{display:grid}
.matched-product-card.in-order:not(.selected){border-color:var(--line);background:#fff;box-shadow:none}
.matched-product-card.in-order:not(.selected)::after{display:none!important}
.matched-products .matched-product-card::after{display:none!important}
.matched-products .matched-product-card.selected::after{display:grid!important}
.matched-featured-track .matched-product-card::after{display:grid!important;place-items:center}
.matched-compact-grid .matched-product-card:nth-child(n+9){display:none}
.matched-all-section.expanded .matched-compact-grid .matched-product-card{display:grid}
.matched-load-more{display:block;width:100%;margin-top:12px;padding:13px;border:1px solid #b9c8d4;border-radius:11px;background:#fff;color:var(--blue);font-weight:800}
.matched-featured-track .matched-product-card.selected{border-color:var(--blue)!important;box-shadow:inset 0 0 0 1px var(--blue),0 8px 22px #275dab16}
.matched-featured-track .matched-product-cut{display:none!important}
.matched-featured-track .matched-product-card::after{z-index:4}
.matched-featured-track .matched-product-model,.matched-featured-track .matched-product-info{position:relative;z-index:1}
.matched-featured-track .matched-product-usage{margin-top:10px!important;padding:9px 0 0!important;border-top:0;border-radius:0!important;background:transparent!important;line-height:1.5!important}
.matched-featured-track .matched-product-usage b{display:inline;margin:0 6px 0 0}
.matched-featured-track .matched-product-select{margin-top:10px!important;border-color:var(--blue);background:var(--blue);color:#fff}
.matched-featured-track .matched-product-card:not(.selected):hover .matched-product-select{background:#1f5599;color:#fff}
@media(max-width:700px){
  .matched-product-section>.field-title{display:none}
  .matched-product-section{padding-top:24px}
  .matched-product-nav{display:none!important}
  .matched-featured-track{display:flex;gap:12px;margin-right:-18px;padding-right:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
  .matched-featured-track .matched-product-card{flex:0 0 min(78vw,310px);scroll-snap-align:start}
  .matched-featured-track .matched-product-model,.matched-featured-track .matched-product-model img{min-height:220px;max-height:250px}
  .matched-compact-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .matched-all-section .matched-compact-grid .matched-product-model,.matched-all-section .matched-compact-grid .matched-product-model img{min-height:0;max-height:none}
  .matched-product-nav{margin-top:10px}
}

/* Stable centered swipe surfaces: full card, explicit controls, no partial peek. */
@media(max-width:700px){
  .matched-products{margin-right:0;padding-right:0;overflow:visible}
  .matched-featured-section{display:block;width:100%;max-width:none;min-width:0}
  .matched-product-nav{display:flex!important}
  .matched-featured-track{width:100%;max-width:none;gap:0;margin-right:0;padding:3px 0;scroll-padding-inline:0}
  .matched-featured-track .matched-product-card{flex:0 0 100%;max-width:none;scroll-snap-align:center}
  .matched-featured-track .matched-product-model{height:clamp(300px,88vw,360px);min-height:0;max-height:none}
  .matched-featured-track .matched-product-model img{height:100%;min-height:0;max-height:none;object-fit:cover;object-position:center top}
  .matched-featured-track.swipe-hint .matched-product-card:first-child{animation:swipeNudge .95s ease}
}

/* Mobile progress: keep the current step together and give the bar its own line. */
@media(max-width:1150px){
  .mobile-progress{grid-template-columns:auto 1fr;grid-template-areas:"count label" "bar bar";column-gap:10px;row-gap:12px;margin:0 0 26px;padding:14px 15px 15px;border:1px solid #dbe5f1;border-radius:14px;background:linear-gradient(135deg,#f8fbff 0%,#f1f6fc 100%);box-shadow:0 5px 16px #244f7d0a}
  .mobile-progress>b{grid-area:count;display:grid;place-items:center;min-width:45px;height:26px;padding:0 9px;border-radius:999px;background:#173f68;color:#fff;font-size:12px;font-weight:850;letter-spacing:.02em}
  .mobile-progress>b::after{content:none}
  .mobile-progress>span{grid-area:bar;position:relative;width:100%;height:8px;overflow:visible;border:1px solid #dce5ee;border-radius:999px;background:#e8eef5;box-shadow:inset 0 1px 2px #1b3e6212}
  .mobile-progress>span::after{content:"";position:absolute;inset:2px 4px;border-radius:999px;background:linear-gradient(90deg,transparent 24.6%,#fff 25%,transparent 25.4%,transparent 49.6%,#fff 50%,transparent 50.4%,transparent 74.6%,#fff 75%,transparent 75.4%);opacity:.75;pointer-events:none}
  .mobile-progress i{position:relative;z-index:1;width:25%;height:8px;margin:-1px 0 0 -1px;border-radius:999px;background:linear-gradient(90deg,#173f68 0%,#2768ad 68%,#4389cf 100%);box-shadow:0 2px 7px #275dab40;transition:width .3s ease}
  .mobile-progress i::after{content:"";position:absolute;top:50%;right:0;width:12px;height:12px;border:3px solid #fff;border-radius:50%;background:#2768ad;box-shadow:0 1px 5px #173f6850;transform:translate(45%,-50%)}
  .mobile-progress>em{grid-area:label;align-self:center;justify-self:start;color:#263d54;font-size:13px;font-weight:800;letter-spacing:-.02em}
}

/* Featured cards use the full card border as their selection state. */
.matched-featured-track .matched-product-card::after,
.matched-featured-track .matched-product-card.selected::after{display:none!important}


/* Keep the segmented controls intact; visually connect only their left labels. */
@media(max-width:700px){
  [data-tshirt-filters]>.field-group,[data-sweat-filters]>.field-group{grid-template-columns:54px minmax(0,1fr);gap:8px}
  [data-tshirt-filters]>.field-group h3,[data-sweat-filters]>.field-group h3{position:relative;justify-content:center;width:54px;padding-right:8px;color:#34495c;font-size:12px;font-weight:800;white-space:nowrap}
  [data-tshirt-filters]>.field-group h3::after,[data-sweat-filters]>.field-group h3::after{content:"";position:absolute;right:0;width:8px;height:1px;margin:0;background:#bcc7d0}
  [data-tshirt-filters]>.field-group h3 small,[data-sweat-filters]>.field-group h3 small{display:none}
}

/* Keep routine notices hidden; show required-action guidance above the footer. */
.toast,.toast.show{display:none!important}
.toast.required-toast{display:block!important;bottom:calc(94px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 28px);padding:11px 16px;border:1px solid #c8d7e3;border-radius:12px;background:#fff;color:#173653;font-size:13px;font-weight:750;line-height:1.4;text-align:center;white-space:pre-line;box-shadow:0 8px 24px #17365326}

/* STEP 1–2 page titles use a distinct brand tone. */
[data-step-panel="1"]>.panel-heading h2,[data-step-panel="2"]>.panel-heading h2,[data-step-panel="3"]>.panel-heading h2,[data-step-panel="4"]>.panel-heading h2{color:#173653}

/* STEP 3 direct front-design editor */
.placement-method-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.placement-method-options button{padding:15px;border:1px solid #d5e0e8;border-radius:13px;background:#fff;color:#24384a;text-align:left}
.placement-method-options button strong,.placement-method-options button span{display:block}
.placement-method-options button strong{font-size:14px}.placement-method-options button span{margin-top:5px;color:#718094;font-size:11px;line-height:1.45}
.placement-method-options button.selected{border:2px solid #275dab;padding:14px;background:#f4f8ff;color:#174c80}
.placement-editor-toolbar{display:flex;align-items:center;justify-content:center;gap:7px;margin-bottom:10px;padding:9px;border:1px solid #d9e2e9;border-radius:13px;background:#f5f7f9;overflow:visible}
.placement-editor-toolbar::-webkit-scrollbar{display:none}
.placement-editor-toolbar button,.placement-upload-button,.placement-color-control{display:flex;align-items:center;justify-content:center;flex:none;min-height:38px;padding:8px 11px;border:1px solid #cbd7e1;border-radius:9px;background:#fff;color:#173653;font-size:11px;font-weight:800;white-space:nowrap}
.placement-upload-button{cursor:pointer}.placement-upload-button input{position:absolute;width:1px;height:1px;opacity:0}
.placement-color-picker{position:relative;flex:none}.placement-color-control{gap:4px;cursor:pointer}.placement-color-palette{position:absolute;z-index:20;top:calc(100% + 8px);left:0;width:250px;padding:12px;border:1px solid #d6e0e8;border-radius:13px;background:#fff;box-shadow:0 12px 30px #17365324;transform-origin:30px top;animation:placementPaletteIn .16s ease-out}.placement-color-palette[hidden]{display:none}.placement-color-palette:before{content:"";position:absolute;top:-6px;left:22px;width:10px;height:10px;border-left:1px solid #d6e0e8;border-top:1px solid #d6e0e8;background:#fff;transform:rotate(45deg)}.placement-color-palette>strong{display:block;margin-bottom:9px;color:#29445e;font-size:11px}.placement-color-palette>div{display:grid;grid-template-columns:repeat(7,28px);gap:8px}.placement-editor-toolbar .placement-color-palette [data-area-color]{box-sizing:border-box;width:28px;min-width:28px;height:28px;min-height:28px;aspect-ratio:1;padding:0;border:2px solid #fff;border-radius:6px;background:var(--area-color);box-shadow:0 0 0 1px #cad5de}.placement-color-palette [data-area-color]:active{transform:scale(.92)}
.placement-text-picker{position:relative;flex:none}.placement-text-panel{position:absolute;z-index:21;top:calc(100% + 8px);left:50%;width:260px;padding:12px;border:1px solid #d6e0e8;border-radius:13px;background:#fff;box-shadow:0 12px 30px #17365324;transform:translateX(-50%);animation:placementPaletteIn .16s ease-out}.placement-text-panel[hidden]{display:none}.placement-text-panel>strong{display:block;margin-bottom:8px;color:#29445e;font-size:11px}.placement-text-panel>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}.placement-text-panel input{min-width:0;padding:9px;border:1px solid #cbd7e1;border-radius:8px;font:12px sans-serif}.placement-editor-toolbar .placement-text-panel button{min-height:34px;padding:7px 10px;background:#275dab;color:#fff}.placement-text-panel small{display:block;margin-top:7px;color:#7a8996;font-size:9px}.placement-text-element{fill:#173653;font-family:sans-serif;font-weight:700;text-anchor:middle;dominant-baseline:middle}.placement-rotate-stem{stroke:#275dab;stroke-width:4}.placement-rotate-handle{fill:#fff;stroke:#275dab;stroke-width:5;cursor:grab}.placement-rotate-icon{pointer-events:none}.placement-rotate-icon path{fill:none;stroke:#173d5d;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.placement-text-icon{color:#173653;font:800 16px sans-serif}
.placement-heading{margin-bottom:8px}.placement-heading h2{margin-bottom:0;font-size:24px;white-space:nowrap}.print-order-summary{padding:8px 0 14px;border-bottom:0}.placement-workspace{padding:0 0 24px}.placement-studio{border:1px solid #cfd9e1;border-radius:14px;background:#fff;box-shadow:0 8px 24px #17365312}.placement-studio .placement-editor-toolbar{margin:0;border:0;border-bottom:1px solid #d8e1e8;border-radius:14px 14px 0 0;background:#f1f4f6}.placement-studio .direct-placement-preview{max-width:none;margin:0}.placement-studio .placement-canvas-shell{position:relative;border:0;border-radius:0;background:#fff}.placement-face-label{position:absolute;z-index:3;top:10px;left:10px;padding:5px 8px;border:1px solid #d7e1e8;border-radius:5px;background:#ffffffeb;color:#496278;font-size:9px;font-weight:800}.placement-studio .placement-layer-list{gap:0;margin:0;border-top:1px solid #cfd9e1;background:#eef2f5}.placement-studio .placement-layer-item{min-height:42px;border:0;border-bottom:1px solid #d5dde4;border-radius:0;background:#f8fafb}.placement-studio .placement-layer-item:last-child{border-bottom:0}.placement-studio .placement-layer-item.selected{border-color:#d5dde4;background:#eaf2ff;box-shadow:inset 3px 0 #275dab}.placement-studio .placement-layer-item>button:first-child{padding:5px 8px}.placement-studio .placement-layer-item i{width:30px;height:30px;border-radius:3px}.placement-studio .placement-layer-item>[data-card-remove]{background:transparent}.placement-studio .empty-colors{margin:0;padding:12px;border:0;border-radius:0;background:#f5f7f9;font-size:11px}.placement-studio .placement-canvas-help{margin:0!important;padding:8px 10px!important;border-top:1px solid #d5dde4;background:#f1f4f6;font-size:10px!important;text-align:left!important}
/* STEP 3 professional editor chrome */
.placement-studio{overflow:visible;border-color:#aebbc5;border-radius:9px;background:#d9dee2;box-shadow:0 12px 30px #1736531c}
.placement-order-strip{overflow:hidden;border-radius:8px 8px 0 0;background:#263846}
.placement-order-tabs{display:flex;flex-wrap:nowrap;gap:1px;padding:0;overflow-x:auto;background:#172734;scrollbar-width:none}.placement-order-tabs::-webkit-scrollbar{display:none}
.placement-order-tabs .order-tab{flex:1 0 100%;width:100%;max-width:none;min-width:100%;border:0;border-radius:0;background:#263846;box-shadow:none}
.placement-order-tabs .order-tab>button:first-child{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:9px 11px;color:#fff}
.placement-order-tabs .order-tab b{overflow:hidden;color:#fff;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.placement-order-tabs .order-tab small{grid-column:1;overflow:hidden;color:#bfcbd3;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.placement-order-tabs .order-tab span{grid-column:2;grid-row:1/3;align-self:center;padding:4px 7px;border:1px solid #ffffff24;border-radius:4px;background:#172734;color:#fff;font-size:10px}.placement-order-tabs .order-tab.active{background:#30495b;box-shadow:inset 0 -3px #ef8872}.placement-order-tabs .order-tab.active span{background:#ef8872;color:#1c2b36}
.placement-studio .placement-editor-toolbar{justify-content:flex-start;gap:3px;padding:6px;border-bottom-color:#bac5cd;border-radius:0;background:#e8ecef}.placement-studio .placement-editor-toolbar>button,.placement-studio .placement-editor-toolbar>label,.placement-studio .placement-editor-toolbar>.placement-color-picker>button,.placement-studio .placement-editor-toolbar>.placement-text-picker>button{min-height:34px;padding:6px 8px;border-color:transparent;border-radius:4px;background:transparent;color:#263846}.placement-studio .placement-editor-toolbar>button:hover,.placement-studio .placement-editor-toolbar>label:hover,.placement-studio .placement-editor-toolbar>.placement-color-picker>button:hover,.placement-studio .placement-editor-toolbar>.placement-text-picker>button:hover{border-color:#c6d0d7;background:#fff}.tool-icon{display:inline-grid;place-items:center;min-width:17px;height:17px;color:#244f72;font:800 15px/1 Arial,sans-serif}
.placement-studio .placement-canvas-shell{padding:10px;background:#d9dee2}.placement-studio .supplied-shirt-map{background:#fff;box-shadow:0 2px 9px #1c2d3924}.placement-face-label{top:17px;left:17px;border-color:#b9c6cf;border-radius:3px;background:#263846e8;color:#fff;letter-spacing:.03em}
.placement-layer-head{display:flex;align-items:center;justify-content:space-between;min-height:29px;padding:5px 9px;border-top:1px solid #9fadb7;background:#394b58;color:#fff}.placement-layer-head strong{font-size:10px}.placement-layer-head span{color:#bdc8d0;font-size:8px}
.placement-studio .placement-layer-list{border-top:0;background:#edf1f3}.placement-studio .placement-layer-item{min-height:38px;background:#f7f9fa}.placement-studio .placement-layer-item:nth-child(even){background:#f0f3f5}.placement-studio .placement-layer-item.selected{background:#dceaff;box-shadow:inset 3px 0 #2f70b7}.placement-studio .placement-layer-item>button:first-child{padding:4px 7px}.placement-studio .placement-layer-item i{width:27px;height:27px}.placement-studio .placement-layer-item b{font-size:10px}.placement-studio .placement-layer-item small{font-size:8px}.placement-studio .placement-layer-item>[data-card-remove]{font-size:15px}.placement-studio .empty-colors{padding:10px;background:#f0f3f5;color:#70808d}.placement-studio .placement-canvas-help{border-top-color:#aebbc5;background:#d9dee2;color:#526574!important}
/* Bridge the bright TIVERSE form into a focused design-studio workspace. */
.placement-studio{border-color:#c7d7e3;border-radius:12px;background:#dfe6eb;box-shadow:0 10px 28px #17365318}
.placement-order-strip{border-radius:11px 11px 0 0;background:#eef5fa}
.placement-order-tabs{background:#dce8f1}
.placement-order-tabs .order-tab{background:#eef5fa}
.placement-order-tabs .order-tab>button:first-child{color:#173653}
.placement-order-tabs .order-tab b{color:#173653}
.placement-order-tabs .order-tab small{color:#6c8193}
.placement-order-tabs .order-tab span{border:1px solid #ccdae5;background:#fff;color:#1b5b88}
.placement-order-tabs .order-tab.active{background:#f8fbfd;box-shadow:inset 0 -3px #ef8872}
.placement-order-tabs .order-tab.active span{border-color:#f2c8bd;background:#fff0ec;color:#d66752}
.placement-studio .placement-editor-toolbar{border-bottom-color:#bdcbd5;background:#344b5c}
.placement-studio .placement-editor-toolbar>button,.placement-studio .placement-editor-toolbar>label,.placement-studio .placement-editor-toolbar>.placement-color-picker>button,.placement-studio .placement-editor-toolbar>.placement-text-picker>button{color:#f5f8fa}
.placement-studio .placement-editor-toolbar>button:hover,.placement-studio .placement-editor-toolbar>label:hover,.placement-studio .placement-editor-toolbar>.placement-color-picker>button:hover,.placement-studio .placement-editor-toolbar>.placement-text-picker>button:hover{border-color:#6f8494;background:#263d4e}
.placement-studio .placement-editor-toolbar .tool-icon{color:#9fc5df}
.placement-studio .placement-canvas-shell{padding:8px;background:#dfe6eb}
.placement-studio .supplied-shirt-map{box-shadow:0 3px 12px #17365320}
.placement-face-label{top:15px;left:15px;border-color:#c6d7e3;border-radius:5px;background:#ffffffed;color:#1b5b88;box-shadow:0 2px 7px #17365312}
.placement-layer-head{border-top-color:#9eafbb;background:#405668}
.placement-layer-head span{color:#c8d3da}
.placement-studio .placement-layer-item.selected{background:#e8f2fa;box-shadow:inset 3px 0 #ef8872}
.placement-studio .placement-canvas-help{border-top-color:#becbd4;background:#dfe6eb;color:#526879!important}
@keyframes placementPaletteIn{from{opacity:0;transform:translateY(-5px) scale(.97)}to{opacity:1;transform:none}}
/* STEP 3 uses the same visual language as STEP 1–2; hierarchy makes it a studio. */
.placement-studio{border-color:#d5e0e8;border-radius:13px;background:#f5f8fa;box-shadow:none}
.placement-order-strip{border-bottom:1px solid #d8e3eb;background:#fff}
.placement-order-tabs{background:#fff}
.placement-order-tabs .order-tab,.placement-order-tabs .order-tab.active{background:#fff;box-shadow:inset 0 -2px #ef8872}
.placement-order-tabs .order-tab span,.placement-order-tabs .order-tab.active span{border:0;background:#fff0ec;color:#d66752;box-shadow:none}
.placement-studio .placement-editor-toolbar{gap:5px;padding:7px;border-bottom:1px solid #d8e3eb;background:#f2f6f8}
.placement-studio .placement-editor-toolbar>button,.placement-studio .placement-editor-toolbar>label,.placement-studio .placement-editor-toolbar>.placement-color-picker>button,.placement-studio .placement-editor-toolbar>.placement-text-picker>button{border:1px solid #d4e0e8;border-radius:7px;background:#fff;color:#173653}
.placement-studio .placement-editor-toolbar>button:hover,.placement-studio .placement-editor-toolbar>label:hover,.placement-studio .placement-editor-toolbar>.placement-color-picker>button:hover,.placement-studio .placement-editor-toolbar>.placement-text-picker>button:hover{border-color:#9fb8cc;background:#edf5fa}
.placement-studio .placement-editor-toolbar .tool-icon{color:#1b5b88}
.placement-studio .placement-canvas-shell{padding:7px;background:#f2f6f8}
.placement-studio .supplied-shirt-map{border:1px solid #dbe5ec;background:#fff;box-shadow:none}
.placement-layer-head{border-top:1px solid #d3dfe7;border-bottom:1px solid #d3dfe7;background:#edf3f7;color:#173653}
.placement-layer-head span{color:#758797}
.placement-studio .placement-layer-list{background:#f3f6f8}
.placement-studio .placement-layer-item,.placement-studio .placement-layer-item:nth-child(even){background:#fff}
.placement-studio .placement-layer-item.selected{background:#eef6fb;box-shadow:inset 3px 0 #1b5b88}
.placement-studio .empty-colors{background:#fff;color:#718394}
.placement-studio .placement-canvas-help{border-top-color:#d5e0e8;background:#f2f6f8;color:#65798a!important}
/* The artboard is one full-width white workspace, not a rounded card inside a card. */
.placement-studio .placement-canvas-shell{padding:0;background:#fff}
.placement-studio .supplied-shirt-map{border:0;border-radius:0;background:#fff;box-shadow:none}
.placement-studio .direct-placement-preview .placement-canvas-shell{overflow:hidden;border:0;border-radius:0}
.placement-face-label{top:9px;left:9px}
/* Multi-product tabs and evenly spaced studio controls. */
.placement-order-tabs:has(.order-tab:nth-child(2)) .order-tab{flex:0 0 50%;width:50%;min-width:50%}
.placement-order-tabs:has(.order-tab:nth-child(3)) .order-tab{flex:0 0 33.333%;width:33.333%;min-width:33.333%}
.placement-order-tabs:has(.order-tab:nth-child(3)) .order-tab>button:first-child{gap:1px 4px;padding:8px 7px}
.placement-order-tabs:has(.order-tab:nth-child(3)) .order-tab b{font-size:10px}
.placement-order-tabs:has(.order-tab:nth-child(3)) .order-tab small{font-size:8px}
.placement-order-tabs:has(.order-tab:nth-child(3)) .order-tab span{padding:3px 5px;font-size:9px}
.placement-order-tabs:has(.order-tab:nth-child(4)){flex-wrap:wrap;gap:0;overflow-x:hidden}
.placement-order-tabs:has(.order-tab:nth-child(4)) .order-tab{flex:0 0 50%;width:50%;min-width:50%}
.placement-order-tabs:has(.order-tab:nth-child(4)) .order-tab>button:first-child{gap:2px 7px;padding:8px 9px}
.placement-order-tabs:has(.order-tab:nth-child(4)) .order-tab b{font-size:10px}
.placement-order-tabs:has(.order-tab:nth-child(4)) .order-tab small{font-size:8px}
.placement-order-tabs:has(.order-tab:nth-child(4)) .order-tab span{padding:3px 5px;font-size:9px}
.placement-order-tabs:has(.order-tab:nth-child(4)) .order-tab:nth-child(n+3){border-top:1px solid #d8e3eb}
.placement-order-tabs .order-tab,.placement-order-tabs .order-tab.active{box-shadow:none}
.placement-order-tabs .order-tab.active{background:#edf5fa}
.placement-order-tabs .order-tab.active b{color:#1b5b88}
.placement-order-tabs .order-tab.active span{background:#e2eef6;color:#1b5b88}
.placement-order-tabs .order-tab+.order-tab{border-left:1px solid #d8e3eb}
.placement-studio .placement-editor-toolbar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;padding:7px 8px}
.placement-studio .placement-editor-toolbar>button,.placement-studio .placement-editor-toolbar>label,.placement-studio .placement-editor-toolbar>.placement-color-picker,.placement-studio .placement-editor-toolbar>.placement-text-picker{width:100%;min-width:0}
.placement-studio .placement-editor-toolbar>.placement-color-picker>button,.placement-studio .placement-editor-toolbar>.placement-text-picker>button{width:100%;min-width:0}
.placement-studio .placement-editor-toolbar>button,.placement-studio .placement-editor-toolbar>label,.placement-studio .placement-editor-toolbar>.placement-color-picker>button,.placement-studio .placement-editor-toolbar>.placement-text-picker>button{gap:2px;padding:5px 3px;font-size:10px}
.placement-studio .placement-editor-toolbar .tool-icon{min-width:14px;font-size:13px}
.placement-face-label{top:18px;left:11px}
/* Product orders are a separate compact list above the design editor. */
.placement-order-strip{padding:5px 0;border-bottom:7px solid #eef3f6;background:#fff}
.placement-order-tabs,.placement-order-tabs:has(.order-tab:nth-child(2)),.placement-order-tabs:has(.order-tab:nth-child(3)),.placement-order-tabs:has(.order-tab:nth-child(4)){display:block;overflow:visible;background:#fff}
.placement-order-tabs .order-tab,.placement-order-tabs:has(.order-tab:nth-child(2)) .order-tab,.placement-order-tabs:has(.order-tab:nth-child(3)) .order-tab,.placement-order-tabs:has(.order-tab:nth-child(4)) .order-tab{position:relative;width:100%;min-width:0;border:0;border-radius:0;background:#fff}
.placement-order-tabs .order-tab+.order-tab{border-top:1px solid #e2e9ee;border-left:0}
.placement-order-tabs .order-tab>button:first-child,.placement-order-tabs:has(.order-tab:nth-child(3)) .order-tab>button:first-child,.placement-order-tabs:has(.order-tab:nth-child(4)) .order-tab>button:first-child{display:grid;grid-template-columns:max-content minmax(0,1fr) max-content;align-items:center;gap:8px;width:100%;min-height:36px;padding:7px 10px;text-align:left}
.placement-order-tabs .order-tab b,.placement-order-tabs:has(.order-tab:nth-child(3)) .order-tab b,.placement-order-tabs:has(.order-tab:nth-child(4)) .order-tab b{grid-column:1;overflow:hidden;max-width:118px;color:#173653;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.placement-order-tabs .order-tab small,.placement-order-tabs:has(.order-tab:nth-child(3)) .order-tab small,.placement-order-tabs:has(.order-tab:nth-child(4)) .order-tab small{grid-column:2;grid-row:1;overflow:hidden;color:#718394;font-size:8px;text-overflow:ellipsis;white-space:nowrap}
.placement-order-tabs .order-tab span,.placement-order-tabs:has(.order-tab:nth-child(3)) .order-tab span,.placement-order-tabs:has(.order-tab:nth-child(4)) .order-tab span{grid-column:3;grid-row:1;min-width:31px;padding:3px 5px;border:0;border-radius:5px;background:#fff0ec;color:#d66752;font-size:9px;text-align:center}
.placement-order-tabs .order-tab.active{background:#edf5fa;box-shadow:inset 3px 0 #1b5b88}
.placement-order-tabs .order-tab.active b{color:#1b5b88}
.placement-order-tabs .order-tab.active span{background:#dfeef7;color:#1b5b88}
/* Separate order context from the editor canvas and clarify tool hierarchy. */
.placement-order-strip{overflow:hidden;margin:0 0 10px;padding:5px 0;border:1px solid #d5e0e8;border-radius:12px;background:#fff;box-shadow:0 4px 12px #1736530a}
.placement-studio .placement-editor-toolbar{border-radius:11px 11px 0 0}
.placement-studio .placement-editor-toolbar>button,.placement-studio .placement-editor-toolbar>label,.placement-studio .placement-editor-toolbar>.placement-color-picker>button,.placement-studio .placement-editor-toolbar>.placement-text-picker>button{color:#173653}
.placement-studio .placement-editor-toolbar .tool-icon{color:#173653}
.placement-face-label{border-color:#1b5b88;background:#1b5b88;color:#fff;box-shadow:0 3px 9px #17365324}
.placement-order-tabs .placement-order-row{display:grid;grid-template-columns:minmax(0,1fr) 32px}
.placement-order-tabs .placement-order-row>button:first-child{min-width:0}
.placement-order-remove{width:32px;border:0;border-left:1px solid #e1e8ed;background:#fff;color:#8a99a5;font-size:17px}
.placement-order-remove:hover{background:#fff3ef;color:#d66752}
.placement-order-row.active .placement-order-remove{background:#edf5fa}
.placement-face-arrow{position:absolute;z-index:5;top:10px;right:10px;display:flex;align-items:center;justify-content:center;width:42px;min-width:42px;height:42px;padding:0;border:1px solid #b8ccda;border-radius:50%;background:#fffffff2;color:#1b5b88;font-size:0;box-shadow:0 3px 10px #1736531c}
.placement-face-arrow svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.placement-face-arrow [data-placement-face-label]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.placement-text-colors{display:grid!important;grid-template-columns:repeat(9,24px);gap:6px!important;margin-top:8px}.placement-text-colors button{box-sizing:border-box;width:24px;min-width:24px;height:24px;min-height:24px;padding:0!important;border:2px solid #fff!important;border-radius:6px!important;background:var(--text-color)!important;box-shadow:0 0 0 1px #cad5de}.placement-text-colors button.selected{box-shadow:0 0 0 2px #275dab}
.placement-text-panel>.placement-text-colors{grid-template-columns:repeat(7,28px)!important;gap:8px!important;margin-top:9px}.placement-editor-toolbar .placement-text-panel .placement-text-colors button{width:28px;min-width:28px;height:28px;min-height:28px;padding:0!important;border:2px solid #fff!important;border-radius:6px!important;background:var(--text-color)!important;color:transparent!important;box-shadow:0 0 0 1px #cad5de}.placement-editor-toolbar .placement-text-panel .placement-text-colors button.selected{box-shadow:0 0 0 2px #275dab}
.placement-color-palette,.placement-text-panel{box-sizing:border-box}.placement-color-palette>div,.placement-text-panel>.placement-text-colors{grid-template-columns:repeat(7,26px)!important;gap:7px!important}.placement-editor-toolbar .placement-color-palette [data-area-color],.placement-editor-toolbar .placement-text-panel .placement-text-colors button{width:26px;min-width:26px;height:26px;min-height:26px}
.placement-studio .placement-editor-toolbar{grid-template-columns:repeat(6,minmax(0,1fr))}.placement-studio .placement-editor-toolbar>.placement-color-picker{display:grid;grid-column:span 2;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.placement-studio .placement-editor-toolbar>button,.placement-studio .placement-editor-toolbar>label,.placement-studio .placement-editor-toolbar>.placement-color-picker>button,.placement-studio .placement-editor-toolbar>.placement-text-picker>button{border-color:#c9d7e1;background:#fff;box-shadow:0 2px 4px #17365318;transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease}.placement-studio .placement-editor-toolbar>button:active,.placement-studio .placement-editor-toolbar>label:active,.placement-studio .placement-editor-toolbar>.placement-color-picker>button:active,.placement-studio .placement-editor-toolbar>.placement-text-picker>button:active{transform:translateY(1px);box-shadow:0 1px 2px #17365318}.placement-studio .placement-editor-toolbar>.placement-compact-tool{align-self:center;min-height:30px;padding:4px 2px;font-size:9px}.placement-studio .placement-editor-toolbar>.placement-compact-tool .tool-icon{min-width:12px;font-size:12px}.placement-face-arrow{width:36px;min-width:36px;height:36px}.placement-face-arrow svg{width:18px;height:18px}
.placement-heading h2{color:#1b5b88}.placement-heading p{margin:6px 0 0;color:#6f8191;font-size:12px;line-height:1.55;letter-spacing:-.15px}
.placement-studio .placement-editor-toolbar{grid-template-columns:repeat(4,minmax(0,1fr)) 44px 44px;gap:5px}.placement-studio .placement-editor-toolbar>.placement-compact-tool{width:44px;min-width:44px;min-height:32px;padding:4px 3px;border-color:#c9d7e1;background:#f7fafc;color:#526b80;box-shadow:0 2px 4px #17365314}.placement-studio .placement-editor-toolbar>[data-placement-reset]{border-color:#e5c9c5;background:#fff8f7;color:#a65347}.placement-studio .placement-editor-toolbar>[data-placement-reset] .tool-icon{color:#b65d50}.placement-studio .placement-editor-toolbar>[data-placement-undo] .tool-icon{color:#537c9d}.placement-face-arrow{width:30px;min-width:30px;height:30px;border-width:1px}.placement-face-arrow svg{width:15px;height:15px}
.placement-heading{display:flex;flex-direction:column;align-items:flex-start;padding-top:2px}.placement-heading h2{font-size:23px;line-height:1.28;letter-spacing:-.65px}.placement-heading>p{display:block;max-width:390px;margin:6px 0 0;color:#6f8191;font-family:inherit;font-size:11.5px;font-weight:500;line-height:1.5;letter-spacing:-.15px}
.placement-order-strip{margin-bottom:9px!important;padding:0!important;border:1px solid #d5e0e8!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}.placement-order-tabs .order-tab>button:first-child,.placement-order-tabs:has(.order-tab:nth-child(3)) .order-tab>button:first-child,.placement-order-tabs:has(.order-tab:nth-child(4)) .order-tab>button:first-child{min-height:32px;padding:5px 9px}.placement-order-tabs .placement-order-row{grid-template-columns:minmax(0,1fr) 28px}.placement-order-remove{width:28px;font-size:15px}
.placement-studio .placement-editor-toolbar{padding:7px;background:#edf3f7;border-bottom-color:#cbd9e2}.placement-studio .placement-editor-toolbar>label,.placement-studio .placement-editor-toolbar>.placement-color-picker>button,.placement-studio .placement-editor-toolbar>.placement-text-picker>button{min-height:34px;border-color:#c5d4df;background:#fff;box-shadow:0 2px 0 #cbd7df,0 4px 9px #1736530c}.placement-studio .placement-editor-toolbar>label:hover,.placement-studio .placement-editor-toolbar>.placement-color-picker>button:hover,.placement-studio .placement-editor-toolbar>.placement-text-picker>button:hover{border-color:#9eb6c8;background:#fff}.placement-studio .placement-editor-toolbar>.placement-compact-tool{box-sizing:border-box;width:36px;min-width:36px;max-width:36px;height:36px;min-height:36px;max-height:36px;aspect-ratio:1;padding:0;border-radius:7px}.placement-studio .placement-editor-toolbar{grid-template-columns:repeat(4,minmax(0,1fr)) 36px 36px}.placement-studio .placement-editor-toolbar>[data-placement-undo]{border-color:#bfd1df;background:#f8fbfd;color:#467292}.placement-studio .placement-editor-toolbar>[data-placement-reset]{border-color:#e5c6c1;background:#fff7f5;color:#b05246}.placement-studio .placement-editor-toolbar>.placement-compact-tool .tool-icon{width:18px;min-width:18px;height:18px;font-size:16px}
.placement-face-arrow,.placement-face-arrow.back{box-sizing:border-box!important;display:flex!important;flex:0 0 28px!important;width:28px!important;min-width:28px!important;max-width:28px!important;height:28px!important;min-height:28px!important;max-height:28px!important;aspect-ratio:1/1!important;padding:0!important;border-radius:50%!important;line-height:1!important}.placement-face-arrow svg{display:block;width:14px;height:14px}
.placement-face-arrow[hidden]{display:none!important}
.placement-studio .placement-editor-toolbar>label,.placement-studio .placement-editor-toolbar>.placement-color-picker>button,.placement-studio .placement-editor-toolbar>.placement-text-picker>button{gap:4px;font-family:inherit;font-size:10px;font-weight:800;line-height:1}.placement-studio .placement-editor-toolbar>label .tool-icon,.placement-studio .placement-editor-toolbar>.placement-color-picker>button .tool-icon,.placement-studio .placement-editor-toolbar>.placement-text-picker>button .tool-icon{display:inline-grid;place-items:center;box-sizing:border-box;width:15px;min-width:15px;height:15px;font-family:Arial,sans-serif;font-size:14px;font-weight:700;line-height:1}.placement-studio .print-photo-stage,.placement-studio .print-photo-stage.rear{fill:#fff}.placement-studio .placement-canvas-shell,.placement-studio .supplied-shirt-map{background:#fff}
.placement-studio .placement-editor-toolbar>.placement-color-picker>[data-area-shape] .tool-icon{font-size:0}.placement-studio .placement-editor-toolbar>.placement-color-picker>[data-area-shape] .tool-icon:before{content:"";box-sizing:border-box;width:12px;height:12px;border:1.6px solid currentColor}.placement-studio .placement-editor-toolbar>.placement-color-picker>[data-area-shape="circle"] .tool-icon:before{border-radius:50%}
.placement-studio .placement-editor-toolbar{grid-template-columns:repeat(4,minmax(0,1fr)) 32px 32px}.placement-studio .placement-editor-toolbar>.placement-compact-tool{width:32px;min-width:32px;max-width:32px;height:32px;min-height:32px;max-height:32px}.placement-studio .placement-editor-toolbar>.placement-compact-tool .tool-icon{width:16px;min-width:16px;height:16px;font-size:14px}
.placement-order-tabs .placement-order-row:only-child,.placement-order-tabs .placement-order-row:only-child.active{background:#fff;box-shadow:inset 3px 0 #1b5b88}.placement-order-tabs .placement-order-row:only-child.active b{color:#173653}.placement-order-tabs .placement-order-row:only-child.active .placement-order-remove{background:#fff}
.placement-studio .placement-editor-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr) 26px 26px 26px}.placement-studio .placement-editor-toolbar>.placement-color-picker{grid-column:auto!important}.placement-studio .placement-editor-toolbar>.placement-compact-tool{width:26px;min-width:26px;max-width:26px;height:26px;min-height:26px;max-height:26px;border-radius:6px}.placement-studio .placement-editor-toolbar>.placement-compact-tool .tool-icon{width:13px;min-width:13px;height:13px;font-size:12px}
.placement-studio .placement-editor-toolbar>.placement-color-picker>[data-area-shape] .tool-icon:before{border-style:dashed}
.placement-studio .placement-editor-toolbar>.placement-compact-tool>svg{display:block;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.placement-heading>p{max-width:none;white-space:nowrap}
.placement-method-field{padding:14px 0;border-bottom:0}.placement-message-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:48px;padding:9px 12px;border:1px solid #d5e0e8;border-radius:10px;background:#fff;color:#243b50;text-align:left}.placement-message-toggle span,.placement-message-toggle strong,.placement-message-toggle small{display:block}.placement-message-toggle strong{font-size:12px}.placement-message-toggle small{margin-top:3px;color:#718394;font-size:10px}.placement-message-toggle b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#edf4f8;color:#1b5b88;font-size:17px;font-weight:500}.placement-message-toggle.selected{border-color:#9eb9cc;background:#f5f9fc}.placement-message-toggle.selected b{transform:rotate(45deg)}.placement-request-field{padding-top:18px}.placement-request-field h3 small{margin-left:4px;color:#8493a0;font-size:10px;font-weight:600}.placement-request-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}.placement-request-heading h3{margin:0}.placement-request-heading p{margin:1px 0 0;color:#66798b;font-size:11px;line-height:1.45;text-align:right}.placement-request-heading p b{display:block;color:#1b5b88;font-size:12px}
.placement-face-arrow.back{right:10px;left:auto}
.placement-face-arrow[hidden]{display:none}
.placement-quick-guides{display:grid;gap:5px;margin:-1px 0 11px;padding:0 2px}.placement-quick-guides p{margin:0;color:#718094;font-size:10px;line-height:1.5}.placement-quick-guides strong{color:#28445e}
.direct-placement-preview{width:100%;max-width:620px;margin:0 auto}
.direct-placement-preview .placement-canvas-shell{overflow:hidden;border:1px solid #d6e0e8;border-radius:18px;background:#edf2f5}
.direct-placement-preview .shirt-map{display:block;width:100%;min-width:0;touch-action:none}
.placement-layer-list{display:grid;gap:7px;margin-top:12px}
.placement-layer-item{display:grid;grid-template-columns:minmax(0,1fr) 38px;overflow:hidden;border:1px solid #d6e0e8;border-radius:10px;background:#fff}
.placement-layer-item.selected{border-color:#275dab;box-shadow:0 0 0 1px #275dab}
.placement-layer-item>button:first-child{display:flex;align-items:center;gap:9px;min-width:0;padding:8px;border:0;background:transparent;text-align:left}
.placement-layer-item i{display:grid;place-items:center;flex:none;width:38px;height:38px;overflow:hidden;border-radius:7px;background:#eef2f5}.placement-layer-item i img{width:100%;height:100%;object-fit:contain}
.placement-layer-item span{min-width:0}.placement-layer-item b,.placement-layer-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.placement-layer-item b{color:#173653;font-size:12px}.placement-layer-item small{margin-top:3px;color:#7b8995;font-size:9px}
.placement-layer-item>[data-card-remove]{border:0;border-left:1px solid #e0e6eb;background:#fff;color:#81909d;font-size:18px}
.placement-color-area{stroke:none}
.placement-message-note{margin:14px 0;padding:15px;border:1px solid #f0c2b6;border-radius:12px;background:#fff5f1;color:#66544e;font-size:12px;line-height:1.6}.placement-message-note p{margin:0 0 10px}.message-upload-button{display:inline-flex;align-items:center;min-height:38px;padding:8px 14px;border-radius:9px;background:#275dab;color:#fff;font-weight:800;cursor:pointer}.message-upload-button input{position:absolute;width:1px;height:1px;opacity:0}.message-file-list{display:grid;gap:6px;margin-top:10px}.message-file-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border:1px solid #ead8d1;border-radius:8px;background:#fff;color:#3d5368}.message-file-item span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-file-item button{flex:none;border:0;background:transparent;color:#8a746c;font-size:17px}
.placement-request-field textarea{min-height:150px;line-height:1.65}
@media(max-width:700px){.placement-request-heading{display:block}.placement-request-heading p{margin-top:7px;text-align:left}.placement-request-heading p b{display:inline;margin-right:3px}}
@media(max-width:700px){.product-detail-layer{width:calc(100% - 10px);height:calc(100svh - 10px);max-width:none;max-height:calc(100svh - 10px);margin:auto;border-radius:14px}.product-detail-media{padding:0}.product-detail-media>img{height:min(47svh,390px);border-radius:13px 13px 0 0}.product-detail-content{padding:17px 16px}.product-detail-content h2{font-size:20px}.product-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.product-detail-facts span:nth-child(2){border-right:0}.product-detail-facts span:nth-child(-n+2){border-bottom:1px solid #e3e9ee}.product-detail-actions{padding:11px 12px calc(11px + env(safe-area-inset-bottom))}.product-detail-actions button{font-size:12px}}
.product-detail-media{position:relative;overflow:hidden}.product-detail-media>img{object-fit:cover;object-position:center top}.product-detail-photo-note{position:absolute;z-index:2;left:10px;right:10px;bottom:55px;margin:0;padding:8px 10px;border-radius:8px;background:#182c3dcc;color:#fff;font-size:10px;line-height:1.4;text-align:center;backdrop-filter:blur(5px)}
.product-detail-media>img.is-model-photo{object-position:center 30%;transform:scale(1.12);transform-origin:center 34%}
.product-detail-media>img.is-product-photo{object-fit:contain;object-position:center center;padding:10px 12px;background:#f7f8fa;transform:none}
@media(max-width:700px){.product-detail-media>img{height:min(58svh,500px)}.product-detail-photo-note{bottom:53px;font-size:9px}}
.product-detail-photo-note{position:static;margin:0;padding:8px 12px;border-radius:0;background:#f7f3ef;color:#76584f;font-size:10px;line-height:1.45;text-align:center;backdrop-filter:none}.product-detail-colors{padding:11px 12px 12px;border-top:1px solid #ece3dd;border-bottom:1px solid #dce4ea;background:#fff}.product-detail-colors>div:first-child{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.product-detail-colors>div:first-child strong{color:#314b60;font-size:11px}.product-detail-colors>div:first-child span{color:#7b8a97;font-size:9px}.product-detail-colors>[data-product-detail-colors]{display:flex;gap:7px;padding-bottom:2px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none}.product-detail-colors>[data-product-detail-colors]::-webkit-scrollbar{display:none}.product-detail-colors button{flex:0 0 60px;padding:3px 3px 6px;border:1px solid #dce3e9;border-radius:9px;background:#fff;color:#526779;scroll-snap-align:start}.product-detail-colors button>span{display:grid;place-items:center;width:52px;height:52px;overflow:hidden;border-radius:7px;background:#f6f7f8}.product-detail-colors button img{display:block;width:100%;height:100%;object-fit:contain}.product-detail-colors button i{display:block;width:34px;height:34px;border:1px solid #cfd7de;border-radius:50%;background:var(--swatch,#eee)}.product-detail-colors button b{display:block;overflow:hidden;margin-top:5px;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.product-detail-colors button.selected{border-color:#e77862;box-shadow:0 0 0 1px #e77862;background:#fff8f5;color:#b94d39}
@media(max-width:700px){.product-detail-photo-note{font-size:9px}.product-detail-colors{padding:9px 10px 10px}.product-detail-colors button{flex-basis:56px}.product-detail-colors button>span{width:48px;height:48px}}
.product-detail-color-total{box-sizing:border-box;display:grid;min-width:58px;flex:0 0 58px;place-items:center;padding:0 7px;color:#526779;font-size:10px;font-weight:850;line-height:1.35;text-align:center;white-space:nowrap}
@media(max-width:700px){.product-detail-colors{padding:7px 0 8px 10px;overflow:hidden}.product-detail-colors>[data-product-detail-colors]{box-sizing:border-box;width:100%;padding:1px 10px 5px 0;gap:7px}.product-detail-colors button{flex:0 0 58px;padding-bottom:5px}.product-detail-colors button>span{width:50px;height:50px}.product-detail-color-total{min-width:58px;flex-basis:58px}}
@media(max-width:700px){.product-detail-layer{height:calc(100dvh - 10px);max-height:calc(100dvh - 10px)}.product-detail-media>img{height:clamp(230px,45dvh,375px)}.product-detail-tabs button{height:40px;min-height:40px;max-height:40px}.product-detail-photo-note{padding:5px 10px;line-height:1.25}.product-detail-colors{padding-top:6px;padding-bottom:7px}}
@media(max-width:700px){.product-detail-head p{font-size:11px}.product-detail-head h2{font-size:22px}.product-detail-tabs button{font-size:13px}.product-detail-photo-note{font-size:11px}.product-detail-colors button b{font-size:10.5px}.product-detail-color-total{font-size:11px}.product-detail-facts small{font-size:10px}.product-detail-facts b{font-size:13px}.product-detail-size{font-size:13px}.product-detail-actions button{font-size:13px}.product-detail-layer .modal-close{font-size:22px}}
@media(max-width:700px){.product-detail-head h2{font-size:26px}.product-detail-tabs button{font-size:15px}.product-detail-colors button b{font-size:11.5px}.product-detail-color-total{font-size:12px}.product-detail-facts small{font-size:11.5px}.product-detail-facts b{font-size:15px}.product-detail-size{font-size:14px}.product-detail-actions button{font-size:15px}}
@media(max-width:800px){.product-detail-head h2{font-size:26px}.product-detail-tabs button{font-size:15px}.product-detail-colors button b{font-size:11.5px}.product-detail-color-total{font-size:12px}.product-detail-facts small{font-size:11.5px}.product-detail-facts b{font-size:15px}.product-detail-size{font-size:14px}.product-detail-actions button{font-size:15px}}
.product-detail-tabs{position:relative;gap:0;padding:0 12px;border-top:1px solid #e4e9ed;border-bottom:1px solid #dce3e8;background:#fff}.product-detail-tabs button{position:relative;height:48px;border:0;background:transparent;color:#84909b;font-size:11px;font-weight:700}.product-detail-tabs button+button{border-left:0}.product-detail-tabs button.selected{box-shadow:none;background:transparent;color:#1f3243;font-weight:900}.product-detail-tabs button.selected::after{content:"";position:absolute;right:22%;bottom:0;left:22%;height:3px;border-radius:3px 3px 0 0;background:#1f3243}.product-detail-colors button.selected{border-color:#788b9b;box-shadow:0 0 0 1px #788b9b;background:#f5f7f9;color:#243e53}
.product-detail-colors>[data-product-detail-colors]{cursor:grab;user-select:none}.product-detail-colors>[data-product-detail-colors].is-dragging{cursor:grabbing;scroll-snap-type:none}.product-detail-colors>[data-product-detail-colors].is-dragging *{pointer-events:none}
.product-detail-context{display:flex;align-items:center;gap:9px;height:48px;padding:0 62px 0 15px;border-bottom:1px solid #dce4ea;background:#f7f9fb;color:#758594}.product-detail-context span{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:750}.product-detail-context span i{display:grid;place-items:center;width:23px;height:23px;border-radius:7px;background:#173f68;color:#fff;font:850 11px/1 Arial;font-style:normal}.product-detail-context b{padding-left:9px;border-left:1px solid #cfd9e1;color:#243e53;font-size:12px}.product-detail-layer>form{top:4px;right:8px}.product-detail-layer .modal-close{width:38px;height:38px;border-color:transparent;background:transparent;box-shadow:none}
.product-detail-layer{border:1px solid #9fb0bf;border-top:4px solid #173f68;box-shadow:0 0 0 4px #ffffff24,0 28px 80px #071a2a70}.product-detail-layer::backdrop{background:#193247}.product-detail-head{position:relative;min-height:76px;padding:14px 62px 13px 17px;border-bottom:1px solid #d7e1e8;background:linear-gradient(120deg,#fff 0%,#f2f6fa 100%)}.product-detail-head::before{content:"";position:absolute;left:0;top:15px;bottom:15px;width:4px;border-radius:0 4px 4px 0;background:#275dab}.product-detail-head p{margin:0 0 6px;color:#60778b;font-size:10px;font-weight:900;letter-spacing:.15em}.product-detail-head h2{margin:0;color:#182c3d;font-size:22px;line-height:1.2;letter-spacing:-.04em}.product-detail-layer>form{top:10px;right:10px}.product-detail-layer .modal-close{width:40px;height:40px;border-color:#d4dfe7;background:#fff;box-shadow:0 3px 10px #17365314}.product-detail-content{padding-top:14px}
@media(max-width:700px){.product-detail-layer{border-top-width:4px;box-shadow:0 0 0 3px #ffffff20,0 20px 54px #071a2a70}.product-detail-head{min-height:72px;padding:13px 58px 12px 16px}.product-detail-head h2{font-size:20px}}
.product-detail-layer>form{top:5px;right:5px}.product-detail-layer .modal-close{width:34px;height:34px;min-width:34px;min-height:34px;border:1px solid #cbd7e0;border-radius:6px;background:#fff;color:#354d61;font-size:20px;line-height:1;box-shadow:0 2px 7px #17365312}
.product-detail-head::before{display:none}.product-detail-head{padding-left:17px}
@media(max-width:700px){
  .placement-method-options{grid-template-columns:1fr 1fr;gap:7px}
  .placement-method-options button{padding:12px 10px}.placement-method-options button.selected{padding:11px 9px}
  .placement-method-options button strong{font-size:12px}.placement-method-options button span{font-size:9px}
  .placement-workspace{padding-top:8px}
  .placement-heading h2{font-size:21px}
  .placement-editor-toolbar{margin-right:0;border-radius:12px;padding-right:9px}
  .direct-placement-preview{max-width:none}
  .direct-placement-preview .placement-canvas-help{padding:8px 2px 0;text-align:center}
}

/* Quantity card chrome: keep the size steppers untouched, simplify everything around them. */
.quantity-card{border-color:#d4dfe7;background:#fff}
.quantity-card-head>div{min-width:0}
.quantity-product-title>span{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.quantity-product-title>b{flex:none;padding-right:7px;border-right:1px solid #cbd6df;color:#1b5b88;font-size:10px;line-height:1.2;white-space:nowrap}
.quantity-product-title>em{flex:none;white-space:nowrap}
.quantity-product-title>em{padding:3px 7px;border:0;border-radius:6px;background:#fff0ec;color:#d66752;line-height:1.2}
.quantity-card-actions button[data-order-size-guide]{border:1px solid #b8c9d7;background:#fff;color:#173653;box-shadow:none}
.size-group>h5,.child-size-group>summary{padding:10px 13px;border-bottom:1px solid #dfe7ed;background:#f3f6f8}
.subtotal{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border-top:1px solid #dfe7ed;background:#fff;text-align:left}
.subtotal>span{min-width:0;overflow:hidden;color:#637486;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.subtotal strong{flex:none;margin-left:0;font-size:14px}
@media(max-width:700px){
  [data-step-panel="2"] .quantity-card-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 13px;background:#fff}
  [data-step-panel="2"] .quantity-card-head>div{display:grid;grid-template-columns:minmax(0,1fr);gap:5px}
  [data-step-panel="2"] .quantity-product-title{display:flex;grid-column:auto;grid-row:auto;gap:7px;align-items:center}
  [data-step-panel="2"] .quantity-product-title>span{font-size:13px}
  [data-step-panel="2"] .quantity-card-head small{margin:0;color:#7b8996;font-size:10px}
  [data-step-panel="2"] .quantity-card-actions button[data-order-size-guide]{padding:7px 9px;border-radius:7px;font-size:10px}
  [data-step-panel="2"] .quantity-card-actions{align-self:center}
}
.quote-prefill-notice{box-sizing:border-box;display:flex;margin:14px 0 18px;padding:12px 14px;align-items:center;gap:9px;border:1px solid #cfdae2;border-radius:10px;background:#f4f7f9;color:#173653;font-family:"Noto Sans KR",sans-serif}
.quote-prefill-notice span{color:#657989;font-size:11px;font-weight:650}
.quote-prefill-notice strong{min-width:0;overflow:hidden;font-size:14px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}
.quote-prefill-notice em{margin-left:auto;flex:0 0 auto;color:#2167b2;font-size:10px;font-style:normal;font-weight:750}
.referral-current-product .matched-featured-track{grid-template-columns:minmax(0,1fr)}
.referral-product-actions{display:grid;margin-top:12px;grid-template-columns:1.35fr 1fr;gap:8px}
.referral-product-actions button{height:42px;border:1px solid #173653;border-radius:8px;background:#173653;color:#fff;font-family:"Noto Sans KR",sans-serif;font-size:12px;font-weight:800;cursor:pointer}
.referral-product-actions button+button{background:#fff;color:#173653}
body.referral-start-mode .mobile-progress,body.referral-start-mode [data-step-panel="1"]>*:not(.quote-referral-start),body.referral-start-mode .form-footer{display:none!important}
body.referral-start-mode{height:100dvh;overflow:hidden}
body.referral-start-mode .quote-shell{height:calc(100dvh - 72px);min-height:0;margin:0 auto;overflow:hidden;border-radius:0}
body.referral-start-mode .form-panel{height:100%;padding:0;overflow:hidden}
body.referral-start-mode [data-step-panel="1"]{height:100%;overflow:hidden}
.quote-referral-start{box-sizing:border-box;display:grid;width:100%;height:100%;min-height:0;grid-template-rows:minmax(0,1fr) auto;overflow:hidden;background:#fff}
.quote-referral-visual{display:grid;min-height:0;padding:18px;place-items:center;overflow:hidden;background:#fff}
.quote-referral-visual img{display:block;width:100%;height:100%;max-height:none;object-fit:contain;object-position:center}
.quote-referral-copy{padding:18px 18px calc(20px + env(safe-area-inset-bottom));border-top:1px solid #d9e1e7;background:#fff;color:#173653}
.quote-referral-copy>small{color:#e36d5b;font:750 9px/1 Arial,sans-serif;letter-spacing:.16em}
.quote-referral-copy h2{margin:8px 0 0;font-size:24px;line-height:1.15;letter-spacing:-.045em}
.quote-referral-copy p{margin:5px 0 0;color:#617584;font-size:12px;font-weight:650}
.quote-referral-copy>div{display:grid;margin-top:16px;grid-template-columns:1.35fr 1fr;gap:8px}
.quote-referral-copy button{height:46px;border:1px solid #173653;border-radius:9px;background:#173653;color:#fff;font-family:"Noto Sans KR",sans-serif;font-size:13px;font-weight:800;cursor:pointer}
.quote-referral-copy button+button{background:#fff;color:#173653}
@media(max-width:800px){body.referral-start-mode .quote-shell{height:calc(100dvh - 64px)}.quote-referral-visual{padding:6px 12px}.quote-referral-copy{padding:12px 14px calc(12px + env(safe-area-inset-bottom))}.quote-referral-copy h2{font-size:21px}.quote-referral-copy>div{margin-top:12px}.quote-referral-copy button{height:43px}}
@media(max-width:700px){.placement-canvas-shell,.direct-placement-preview .shirt-map,.placement-studio .supplied-shirt-map{touch-action:pan-y}.placement-design-group,.placement-design,.placement-resize-handle,.placement-rotate-handle{touch-action:none}.placement-design{pointer-events:all}}
@media(max-width:700px){.product-detail-actions{grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr)}.product-detail-actions button{justify-self:stretch;white-space:nowrap}.product-detail-actions button[data-product-detail-select]{border-color:#275dab;background:#275dab;color:#fff}.product-detail-actions button[data-product-detail-close]{border-color:#cbd7e1;background:#fff;color:#41596e}}
@media(max-width:800px){.quote-header{z-index:60}.quote-header>[data-quote-close]{position:relative;z-index:61;min-width:44px;min-height:44px;padding:0;touch-action:manipulation;cursor:pointer}}
@media(max-width:800px){html,body{overflow-y:auto;overscroll-behavior-y:auto}body:not(.referral-start-mode) .quote-shell,body:not(.referral-start-mode) .form-panel{overflow:visible}}
.quote-exit-confirm{width:min(360px,calc(100% - 32px));padding:0;border:0;border-radius:18px;background:#fff;color:#173653;box-shadow:0 22px 60px #102a4d45}.quote-exit-confirm::backdrop{background:#102a4d99;backdrop-filter:blur(2px)}.quote-exit-confirm>div{padding:24px 20px 18px}.quote-exit-confirm small{color:#ef806b;font-size:10px;font-weight:850;letter-spacing:.12em}.quote-exit-confirm h2{margin:8px 0 7px;font-size:21px;letter-spacing:-.04em}.quote-exit-confirm p{margin:0;color:#6d7e8d;font-size:13px;line-height:1.5}.quote-exit-confirm footer{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:20px}.quote-exit-confirm button{height:44px;border:1px solid #cad6df;border-radius:9px;background:#fff;color:#425b70;font-weight:800}.quote-exit-confirm button:last-child{border-color:#173653;background:#173653;color:#fff}
.quote-exit-confirm footer>a{display:grid;height:44px;padding:0;place-items:center;border:1px solid #173653;border-radius:9px;background:#173653;color:#fff;font-family:inherit;font-size:13px;font-weight:800;text-decoration:none}
@media(max-width:700px){.product-detail-layer{height:calc(100dvh - 10px);max-height:calc(100dvh - 10px)}.product-detail-media>img{height:clamp(210px,42dvh,340px)}.product-detail-tabs button{height:38px}.product-detail-photo-note{padding:5px 10px;line-height:1.25}.product-detail-colors{padding-top:6px;padding-bottom:7px}}
@media(max-width:800px){.product-detail-head h2{font-size:26px!important}.product-detail-tabs button{font-size:15px!important}.product-detail-colors button b{font-size:11.5px!important}.product-detail-color-total{font-size:12px!important}.product-detail-facts small{font-size:11.5px!important}.product-detail-facts b{font-size:15px!important}.product-detail-size{font-size:14px!important}.product-detail-actions button{font-size:15px!important}}
.product-detail-photo-note{box-sizing:border-box;display:flex;align-items:center;justify-content:center;text-align:center}
@media(max-width:800px){.product-detail-colors>[data-product-detail-colors]{width:min(100%,364px);margin:0 auto;padding-bottom:8px;scrollbar-width:thin;scrollbar-color:#9fb0bd transparent}.product-detail-colors>[data-product-detail-colors]::-webkit-scrollbar{display:block;height:4px}.product-detail-colors>[data-product-detail-colors]::-webkit-scrollbar-thumb{border-radius:4px;background:#9fb0bd}.product-detail-colors>[data-product-detail-colors]::-webkit-scrollbar-track{background:transparent}}

/* Mobile product detail: keep the sheet stable while browser chrome opens/closes. */
@media(max-width:700px){
  html:has(.product-detail-layer[open]),
  body:has(.product-detail-layer[open]){
    overflow:hidden!important;
    overscroll-behavior:none;
  }

  .product-detail-layer{
    position:fixed;
    inset:5px 5px auto;
    display:none;
    box-sizing:border-box;
    width:calc(100% - 10px);
    height:calc(100svh - 10px);
    max-height:calc(100svh - 10px);
    margin:0 auto;
    grid-template-rows:auto auto minmax(0,1fr) auto;
    overflow:hidden;
    overscroll-behavior:contain;
    --product-detail-frame-height:clamp(360px,61svh,510px);
  }

  .product-detail-layer[open]{
    display:grid;
  }

  .product-detail-scroll{
    position:relative;
    min-height:0;
    overflow-x:hidden;
    overflow-y:hidden;
    overscroll-behavior:none;
    touch-action:none;
  }

  .product-detail-media>img{
    box-sizing:border-box;
    height:var(--product-detail-frame-height);
    padding:8px;
    object-fit:contain!important;
    object-position:center center!important;
    transform:none!important;
    background:#fff;
    touch-action:none;
    user-select:none;
    -webkit-user-drag:none;
  }

  .product-detail-media{
    display:grid;
    grid-template-rows:minmax(0,1fr) auto auto;
    box-sizing:border-box;
    height:var(--product-detail-frame-height);
    min-height:0;
    overflow:hidden;
  }

  .product-detail-media>img{
    width:100%;
    height:100%!important;
    min-height:0;
  }

  .product-detail-layer[data-gildan-family="true"] .product-detail-media>img.is-product-photo{
    transform:scale(1.1)!important;
    transform-origin:center center!important;
  }

  .product-detail-layer[data-gildan-family="true"] .product-detail-colors button img{
    transform:scale(1.12);
    transform-origin:center center;
  }

  .product-detail-colors>[data-product-detail-colors]{
    touch-action:pan-x;
  }

  .product-detail-tabs{
    grid-template-columns:repeat(4,1fr);
  }

  .product-detail-content{
    position:absolute;
    z-index:5;
    inset:0 0 auto;
    display:flex;
    box-sizing:border-box;
    height:var(--product-detail-frame-height);
    padding:22px;
    flex-direction:column;
    justify-content:space-between;
    background:#fff;
    border-bottom:0;
    transform:translateX(102%);
    transition:transform .22s ease;
  }

  .product-detail-scroll.show-info .product-detail-content{
    transform:translateX(0);
  }

  .product-detail-content .product-detail-info-head,
  .product-detail-content .product-detail-use{display:none}

  .product-detail-info-head{
    display:grid;
    gap:4px;
    margin:0;
  }

  .product-detail-info-head small{
    color:#8695a1;
    font-size:11px;
    font-weight:900;
    letter-spacing:.16em;
  }

  .product-detail-info-head strong{
    overflow:hidden;
    color:#172d3e;
    font-size:clamp(23px,6vw,30px);
    line-height:1.2;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .product-detail-info-head p{
    margin:0;
    color:#788995;
    font-size:11px;
    font-weight:650;
  }

  .product-detail-use{
    display:grid;
    gap:6px;
    padding:11px 0;
    border:0;
    border-top:1px solid #dce3e8;
    border-bottom:1px solid #dce3e8;
    border-radius:0;
    background:transparent;
  }

  .product-detail-use>small{
    color:#8695a1;
    font-size:9px;
    font-weight:900;
    letter-spacing:.12em;
  }

  .product-detail-use>p{
    display:-webkit-box;
    overflow:hidden;
    margin:0;
    color:#30495d;
    font-size:12px!important;
    font-weight:700;
    line-height:1.45;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
  }

  .product-detail-use>div{
    display:flex;
    gap:5px;
    flex-wrap:wrap;
  }

  .product-detail-use>div span{
    position:relative;
    padding:0 8px 0 0;
    border-radius:0;
    background:transparent;
    color:#657986;
    font-size:10px;
    font-weight:850;
  }

  .product-detail-use>div span:not(:last-child)::after{content:"·";position:absolute;right:1px;color:#a8b4bc}

  .product-detail-content .product-detail-facts{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:0;
    border:0;
    border-radius:0;
    overflow:visible;
  }

  .product-detail-content .product-detail-facts span{
    display:flex;
    position:relative;
    box-sizing:border-box;
    min-width:0;
    min-height:48px;
    padding:8px 38px 8px 0;
    flex-direction:row;
    align-items:center;
    justify-content:flex-start;
    border:0!important;
    border-bottom:1px solid #e1e7eb!important;
    border-radius:0;
    background:transparent;
  }

  .product-detail-content .product-detail-facts span>button{
    position:absolute;
    top:50%;
    right:0;
    display:grid;
    width:24px;
    min-width:24px;
    max-width:24px;
    height:24px;
    min-height:24px;
    max-height:24px;
    place-items:center;
    padding:0;
    border:1px solid #cbd5dc;
    border-radius:50%;
    background:transparent;
    color:#718491;
    font:800 13px/1 Arial,sans-serif;
    flex:none;
    aspect-ratio:1;
    transform:translateY(-50%);
  }

  .product-detail-fact-popover{
    position:absolute;
    z-index:12;
    inset:12px;
    display:flex;
    padding:20px;
    flex-direction:column;
    justify-content:flex-start;
    border-radius:16px;
    background:#fff;
    color:#173653;
    box-shadow:0 18px 45px rgba(5,24,39,.35);
    overflow-x:hidden;
    overflow-y:auto;
  }

  .product-detail-fact-popover[hidden]{display:none}

  .product-detail-fact-popover>button{
    position:absolute;
    top:12px;
    right:12px;
    width:34px;
    height:34px;
    padding:0;
    border:1px solid #d6dfe6;
    border-radius:50%;
    background:#fff;
    color:#526779;
    font-size:20px;
  }

  .product-detail-fact-popover>small{
    margin-bottom:4px;
    color:#ef725f;
    font-size:10px;
    font-weight:600;
    letter-spacing:.14em;
  }

  .product-detail-fact-popover>strong{
    margin-bottom:10px;
    color:#ef725f;
    font-size:22px;
    font-weight:800;
    line-height:1.2;
  }

  [data-product-detail-fact-description]{min-height:0;color:#526779;font-size:11px;font-weight:400;line-height:1.35;word-break:keep-all}
  .guide-lead{margin:0 0 12px;color:#64798a;font-size:13px;line-height:1.45}
  .guide-lead>b{color:#173653;font-size:17px}
  .guide-current{position:absolute;top:6px;right:6px;padding:2px 5px;border-radius:9px;background:#ef725f;color:#fff;font-size:7px;font-style:normal;font-weight:700;letter-spacing:-.02em}
  .guide-material-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .guide-material-card{position:relative;min-width:0;padding:24px 8px 9px;border:1px solid #dce4ea;border-radius:10px;background:#f7f9fb}
  .guide-material-card.is-current{border-color:#ef725f;background:#fff7f4;box-shadow:inset 0 0 0 1px #ef725f}
  .guide-material-card>b{display:block;margin-bottom:7px;color:#173653;font-size:15px}
  .guide-material-card dl,.guide-material-card dd{margin:0}
  .guide-material-card dl{display:grid;gap:6px}
  .guide-material-card dl>div{display:grid;gap:1px}
  .guide-material-card dt{color:#899baa;font-size:8px;font-weight:900}
  .guide-material-card dd{color:#435b6e;font-size:9px;font-weight:750;line-height:1.35}
  .guide-footnote{margin:9px 0 0;padding-top:8px;border-top:1px solid #e1e7ec;color:#7a8d9c;font-size:9px;font-weight:400;line-height:1.4}
  .guide-material-list{display:grid;gap:8px}
  .guide-material-row{position:relative;display:grid;grid-template-columns:72px 1fr;min-height:92px;padding:10px 14px 10px 9px;align-items:center;border:1px solid #dce4ea;border-radius:13px;background:#f7f9fb}
  .guide-material-row.is-current{border-color:#ef725f;background:#fff7f4;box-shadow:inset 0 0 0 1px #ef725f}
  .guide-material-row>div{display:grid;gap:3px;min-width:0}.guide-material-row b{color:#173653;font-size:17px}.guide-material-row strong{color:#405a6e;font-size:13px;line-height:1.3}.guide-material-row span{color:#7b8e9c;font-size:11px}
  .guide-material-icon{position:relative;display:block;width:54px;height:54px;border-radius:50%;background:#e7edf1}
  .guide-material-icon::before,.guide-material-icon::after{content:"";position:absolute}
  .guide-material-icon.cotton::before{inset:12px;border-radius:50% 50% 45% 45%;background:radial-gradient(circle at 28% 38%,#fff 0 28%,transparent 30%),radial-gradient(circle at 72% 38%,#fff 0 28%,transparent 30%),radial-gradient(circle at 50% 65%,#fff 0 34%,transparent 36%)}
  .guide-material-icon.cotton::after{left:25px;bottom:5px;width:4px;height:16px;border-radius:4px;background:#8daa8b;transform:rotate(18deg)}
  .guide-material-icon.active{background:linear-gradient(145deg,#dff5f7,#b9e0e6)}.guide-material-icon.active::before{inset:8px;background:repeating-radial-gradient(circle,#fff 0 2px,transparent 2px 7px);opacity:.9}.guide-material-icon.active::after{right:5px;bottom:7px;width:17px;height:23px;border-radius:50% 50% 55% 45%;background:#54aebe;transform:rotate(35deg) scale(.6)}
  .guide-material-icon.blend{background:linear-gradient(135deg,#f6dfd9 0 50%,#dce9ef 50%)}.guide-material-icon.blend::before{inset:9px;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 3px #94aabb inset}.guide-material-icon.blend::after{top:25px;left:11px;width:32px;height:3px;background:#fff;transform:rotate(-45deg)}
  .guide-count-axis{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;margin-bottom:12px;color:#173653;font-size:11px}.guide-count-axis>i{height:5px;border-radius:5px;background:linear-gradient(90deg,#173653,#dce4ea)}
  .guide-count-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .guide-count-card{position:relative;display:grid;min-width:0;min-height:112px;padding:12px 9px 9px;align-content:end;border:1px solid #dce4ea;border-radius:11px;background:#f8fafb}
  .guide-count-card.is-current{border-color:#ef725f;background:#fff7f4;box-shadow:inset 0 0 0 1px #ef725f}
  .guide-count-card>i{width:calc(105% - (var(--count-level) * 8%));height:calc(13px - var(--count-level));margin:0 0 8px;border-radius:8px;background:#7890a2}
  .guide-count-card>b{color:#173653;font-size:18px}.guide-count-card>strong{color:#496174;font-size:12px}.guide-count-card>span{overflow:hidden;color:#8193a1;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
  .guide-fit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  .guide-fit-card{position:relative;display:grid;min-width:0;padding:24px 5px 8px;justify-items:center;border:1px solid #dce4ea;border-radius:10px;background:#f8fafb;text-align:center}
  .guide-fit-card.is-current{border-color:#ef725f;background:#fff7f4;box-shadow:inset 0 0 0 1px #ef725f}
  .guide-fit-shape{position:relative;width:100%;height:74px}
  .guide-fit-shape::before{content:"";position:absolute;top:0;left:50%;width:16px;height:14px;border:3px solid #6f8799;border-bottom:0;border-radius:50% 50% 0 0;transform:translateX(-50%)}
  .guide-fit-shape>i{position:absolute;top:12px;bottom:2px;left:50%;width:var(--fit-width);border-radius:10px 10px 5px 5px;background:linear-gradient(135deg,#dce5eb,#b9c8d3);clip-path:polygon(20% 0,80% 0,100% 20%,88% 36%,80% 28%,84% 100%,16% 100%,20% 28%,12% 36%,0 20%);transform:translateX(-50%)}
  .guide-fit-card.is-current .guide-fit-shape>i{background:linear-gradient(135deg,#ef8c79,#e76551)}
  .guide-fit-card>b{color:#173653;font-size:12px}.guide-fit-card>span{color:#7c8f9e;font-size:10px;line-height:1.25}
  .guide-fit-tip{display:grid;grid-template-columns:auto 1fr;gap:8px;margin-top:12px;padding:10px 12px;border-radius:8px;background:#eef3f6;font-size:11px;line-height:1.4}.guide-fit-tip b{color:#173653}.guide-fit-tip span{color:#627787}
  .guide-color-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:6px;margin:14px 0}
  .guide-color-flow>section{display:grid;min-width:0;gap:4px;justify-items:center;text-align:center}.guide-color-flow>section>i{display:block;width:42px;height:42px;border:1px solid #d3dde5;border-radius:50%}.guide-color-flow>section>b{color:#173653;font-size:11px}.guide-color-flow>section>span{color:#7b8d9b;font-size:8px;line-height:1.3}.guide-color-flow>i{color:#ef725f;font-size:16px;font-style:normal}.guide-screen{background:linear-gradient(135deg,#c8dafa 0 50%,#ef8170 50%)}.guide-fabric{background:repeating-linear-gradient(45deg,#e7ecf0 0 2px,#c8d2da 2px 4px)}.guide-print{background:radial-gradient(circle at 35% 35%,#fff 0 12%,transparent 13%),linear-gradient(135deg,#173653,#ef725f)}
  .guide-color-tips{display:grid;grid-template-columns:1fr 1fr;gap:6px}.guide-color-tips span{padding:8px;border-radius:8px;background:#f2f6f8;color:#607585;font-size:9px;line-height:1.35}.guide-color-tips b{display:block;color:#173653;font-size:10px}

  .product-detail-content .product-detail-facts small{
    width:62px;
    margin:0;
    color:#8494a0;
    font-size:12px;
    font-weight:800;
    letter-spacing:.08em;
  }

  .product-detail-content .product-detail-facts b{
    flex:1;
    min-width:0;
    overflow:hidden;
    color:#203a4e;
    font-size:clamp(18px,4.8vw,23px)!important;
    line-height:1.25;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .guide-weight-spec>section>div{grid-template-columns:92px minmax(0,1fr);align-items:baseline;gap:3px 8px}
  .guide-weight-spec>section>div>b{font-size:15px;font-weight:700;letter-spacing:-.04em;white-space:nowrap}
  .guide-weight-spec>section>div>strong{font-size:12px;font-weight:500}
  .guide-weight-spec>section>div>span{grid-column:2;color:#748895;font-size:10px;font-weight:400}

  .guide-weight-spec+.guide-footnote{overflow-wrap:anywhere;word-break:keep-all}

  .product-detail-content .product-detail-size{
    height:48px;
    margin:0;
    border:1px solid #cdd7de;
    border-radius:10px;
    background:#f8fafb;
    color:#173653;
    font-size:14px;
  }


  .product-detail-actions{
    position:relative;
    bottom:auto;
    z-index:2;
  }
}

@media(max-width:700px) and (max-height:760px){
  .product-detail-layer{--product-detail-frame-height:clamp(330px,58svh,440px)}
  .product-detail-head{min-height:62px;padding-top:9px;padding-bottom:8px}
  .product-detail-tabs button{height:34px;min-height:34px;max-height:34px}
  .product-detail-photo-note{padding:3px 9px;font-size:9px}
  .product-detail-colors{padding-top:4px;padding-bottom:4px}
  .product-detail-colors button{flex-basis:52px}
  .product-detail-colors button>span{width:44px;height:44px}
  .product-detail-content{padding:8px 12px}
  .product-detail-info-head{gap:3px}
  .product-detail-info-head strong{font-size:20px}
  .product-detail-info-head p{font-size:10px}
  .product-detail-use{gap:3px;padding:7px 9px}
  .product-detail-use>p{font-size:10px;-webkit-line-clamp:1}
  .product-detail-use>div span{padding:3px 6px;font-size:8px}
  .product-detail-content .product-detail-facts{gap:0}
  .product-detail-content .product-detail-facts span{min-height:45px;padding:7px 36px 7px 0}
  .product-detail-content .product-detail-facts small{width:58px;margin:0;font-size:11px!important}
  .product-detail-content .product-detail-facts b{font-size:17px!important}
  .product-detail-content .product-detail-size{height:40px;font-size:12px}
  .product-detail-facts span{padding:7px 36px 7px 0}
  .product-detail-size{height:38px;margin-top:7px}
  .product-detail-actions{padding-top:8px;padding-bottom:calc(8px + env(safe-area-inset-bottom))}
  .product-detail-actions button{min-height:42px}
}

@media(min-width:701px){
  [data-product-detail-info-open],
  .product-detail-info-head{display:none}
}

/* Mobile readability and touch sizing. Functionality is intentionally unchanged. */
@media(max-width:700px){
  body{font-size:16px}
  .form-panel{padding:24px 18px 112px}
  .mobile-progress{gap:11px;margin-bottom:30px;font-size:15px}.mobile-progress span{height:7px}.mobile-progress em{font-size:14px;font-weight:700}
  .panel-heading h2,[data-step-panel="2"]>.panel-heading h2{font-size:28px;line-height:1.28;letter-spacing:-.055em;white-space:normal}
  .field-group{padding:32px 0}.field-group h3,.matched-product-section>.field-title h3{font-size:20px;line-height:1.35}
  .field-title p{margin:-5px 0 18px;font-size:15px;line-height:1.55}
  .garment-style-field{padding-top:28px}
  .garment-style-options{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
  .garment-style-options button{grid-column:span 2}.garment-style-options button:nth-child(4){grid-column:2/span 2}.garment-style-options button:nth-child(5){grid-column:4/span 2}
  .garment-style-options button,.garment-style-options button.selected{aspect-ratio:auto;min-height:196px;padding:10px 6px 12px;border-radius:14px}
  .garment-style-options button{border:1px solid #cbd6df!important}
  .garment-style-options button.selected{border:2px solid var(--blue)!important}
  .garment-style-options button::before{inset:2px;border-radius:12px}
  .garment-style-options .garment-art-frame{height:82px;margin-bottom:5px}
  .garment-style-options .garment-art-frame>svg{transform:scale(1.03)}
  .garment-style-options button:nth-child(4) .garment-art-frame>svg,.garment-style-options button:nth-child(5) .garment-art-frame>svg{transform:translateY(2px) scale(.98)}
  .garment-style-options button strong{font-size:16px;line-height:1.25}
  .garment-style-options button>span:not(.garment-art-frame){display:block;margin-top:4px;font-size:12px;line-height:1.35}
  .garment-start-hint{margin-top:16px;font-size:14px;line-height:1.55}
  [data-tshirt-filters],[data-sweat-filters]{gap:10px;padding:24px 0}
  [data-tshirt-filters]>.field-group,[data-sweat-filters]>.field-group{display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:10px;min-height:62px;padding:0}
  [data-tshirt-filters]>.field-group h3,[data-sweat-filters]>.field-group h3{display:flex;width:54px;margin:0;align-items:center;justify-content:flex-start;font-size:17px;line-height:1.3;white-space:nowrap}
  [data-tshirt-filters] .choice-options,[data-sweat-filters] .choice-options{min-height:62px;padding:5px;border-radius:14px}
  [data-tshirt-filters] .choice-options button,[data-sweat-filters] .choice-options button,[data-tshirt-filters] .choice-options button.selected,[data-sweat-filters] .choice-options button.selected{min-height:50px;padding:11px 7px;border-radius:10px}
  [data-tshirt-filters] .choice-options button strong,[data-sweat-filters] .choice-options button strong{font-size:16px}
  .matched-product-card{font-size:15px}.matched-product-top b{font-size:21px}.matched-product-select{min-height:48px;padding:12px 14px;font-size:15px}
  .matched-product-nav span{font-size:14px}.matched-product-nav button{width:46px;height:46px;font-size:23px}
  .order-tab b{font-size:15px}.order-tab span{font-size:13px}.order-remove{width:44px;min-width:44px}
  .color-card{min-height:58px;padding:10px;font-size:15px}.color-card.selected{padding:9px}.color-card i{width:40px;height:40px}
  .quantity-card-head{padding:16px}.quantity-product-title b,.quantity-product-title span{font-size:15px}.quantity-card-head button{min-height:44px;font-size:14px}
  .size-box{padding:14px 7px}.size-box label{font-size:14px}.size-box input{height:44px;font-size:17px}
  input,select,textarea{font-size:16px}
  .form-footer{height:78px;padding:0 16px;gap:10px}.form-footer>div{font-size:14px}.form-footer>button,.back-button{min-height:52px;padding:14px 20px!important;font-size:16px;border-radius:10px}.form-footer>[data-next]{min-width:150px}
}

@media(max-width:760px){
  [data-step-panel="3"] .placement-studio .placement-editor-toolbar{grid-template-columns:minmax(154px,1fr) 40px 40px 86px!important;gap:3px!important}
  [data-step-panel="3"] .placement-media-tools{grid-template-columns:70px 80px!important;gap:3px!important}
  [data-step-panel="3"] .placement-media-tools>.placement-upload-button{box-sizing:border-box!important;width:70px!important;min-width:70px!important;max-width:70px!important;height:31px!important;min-height:31px!important;padding:3px!important}
  [data-step-panel="3"] .placement-media-tools>.placement-color-picker{grid-template-columns:38px 38px!important;gap:3px!important}
  [data-step-panel="3"] .placement-media-tools>.placement-color-picker>button{box-sizing:border-box!important;width:38px!important;min-width:38px!important;max-width:38px!important;height:31px!important;min-height:31px!important;padding:0!important}
  [data-step-panel="3"] .placement-type-tools{display:contents!important}
  [data-step-panel="3"] .placement-pen-picker{grid-column:2;grid-row:1}
  [data-step-panel="3"] .placement-pen-tool,[data-step-panel="3"] .placement-type-tools>.placement-text-place-tool{box-sizing:border-box!important;width:40px!important;min-width:40px!important;max-width:40px!important;height:31px!important;min-height:31px!important;padding:0!important}
  [data-step-panel="3"] .placement-type-tools>.placement-text-place-tool{grid-column:3;grid-row:1}
  [data-step-panel="3"] .placement-history-tools{grid-column:4;grid-row:1;gap:2px!important}
  [data-step-panel="3"] .placement-history-tools>.placement-compact-tool{height:31px!important;min-height:31px!important}
  [data-step-panel="3"] .placement-type-tools>.placement-text-toolbar-controls{grid-column:1/-1;grid-row:2;grid-template-columns:minmax(0,1fr)!important}
}

/* Product information: keep the size guide attached to the color row. */
@media(max-width:700px){
  .product-detail-scroll.show-info .product-detail-content{
    justify-content:flex-start;
  }
  .product-detail-scroll.show-info .product-detail-facts{
    margin-top:18px;
    border-top:1px solid #d7dfe5;
    border-bottom:1px solid #d7dfe5;
    background:#fff;
  }
  .product-detail-scroll.show-info .product-detail-facts::before{
    display:flex;
    min-height:34px;
    padding:0 10px;
    align-items:center;
    border-bottom:1px solid #d7dfe5;
    background:#f5f6f7;
    color:#5f707d;
    content:"PRODUCT SPEC  /  상품 주요 정보";
    font:600 10px/1.2 Arial,"Noto Sans KR",sans-serif;
    letter-spacing:.06em;
  }
  .product-detail-scroll.show-info .product-detail-facts span{
    padding-right:42px;
    padding-left:10px;
    border-bottom:0!important;
    box-shadow:inset 0 -1px #e1e7eb;
  }
  .product-detail-scroll.show-info .product-detail-facts span:last-child{box-shadow:none}
  .product-detail-content .product-detail-facts span:last-child{
    border-bottom:0!important;
  }
  .product-detail-content .product-detail-size{
    margin-top:calc(9px + 5mm);
  }
  .product-detail-fact-popover>[data-product-detail-fact-close]{
    box-sizing:border-box;
    width:34px;
    min-width:34px;
    max-width:34px;
    height:34px;
    min-height:34px;
    max-height:34px;
    padding:0;
    flex:none;
    aspect-ratio:1;
    border-radius:50%;
  }
  .guide-material-typography{
    gap:0;
    border-top:1px solid #b9c5ce;
    border-bottom:1px solid #b9c5ce;
    font-family:"Noto Sans KR",Pretendard,sans-serif;
  }
  .guide-material-typography .guide-material-row{
    grid-template-columns:42px minmax(0,1fr);
    min-height:88px;
    padding:13px 12px 13px 0;
    border:0;
    border-bottom:1px solid #dce3e8;
    border-radius:0;
    background:#fff;
  }
  .guide-material-typography .guide-material-row:last-child{border-bottom:0}
  .guide-material-typography .guide-material-row.is-current{
    border-color:#dce3e8;
    background:#f5f8fa;
    box-shadow:inset 3px 0 #173653;
  }
  .guide-material-number{
    align-self:start;
    padding-top:3px;
    color:#9aa8b3;
    font:800 10px/1 Arial,sans-serif;
    letter-spacing:.12em;
    text-align:center;
  }
  .guide-material-typography .guide-material-row>div{gap:4px}
  .guide-material-typography .guide-material-row>div>p{display:flex;align-items:baseline;gap:8px;margin:0}
  .guide-material-typography .guide-material-row>div>p>b{color:#172d3e;font-size:18px;line-height:1.2}
  .guide-material-typography .guide-material-row>div>p>small{color:#718493;font:800 8px/1 Arial,sans-serif;letter-spacing:.12em}
  .guide-material-typography .guide-material-row>div>strong{color:#3e5669;font-size:12px;line-height:1.35}
  .guide-material-typography .guide-material-row>div>span{color:#84939e;font-size:9px;letter-spacing:-.01em}
  .guide-material-typography .guide-current{top:9px;right:8px;border-radius:3px;background:#173653;font-size:7px;letter-spacing:.02em}
  .guide-count-typography{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:0;
    border-top:1px solid #b9c5ce;
    border-left:1px solid #dce3e8;
    font-family:"Noto Sans KR",Pretendard,sans-serif;
  }
  .guide-count-typography .guide-count-card{
    min-height:96px;
    padding:13px 9px 10px;
    align-content:start;
    border:0;
    border-right:1px solid #dce3e8;
    border-bottom:1px solid #dce3e8;
    border-radius:0;
    background:#fff;
  }
  .guide-count-typography .guide-count-card.is-current,.guide-fit-typography .guide-fit-card.is-current{
    border-color:#dce3e8;
    background:#f5f8fa;
    box-shadow:inset 0 3px #173653;
  }
  .guide-count-typography .guide-count-card>small{color:#9aa8b3;font:800 8px/1 Arial,sans-serif;letter-spacing:.12em}
  .guide-count-typography .guide-count-card>b{margin-top:8px;color:#172d3e;font-size:18px}
  .guide-count-typography .guide-count-card>strong{margin-top:2px;color:#41596c;font-size:10px}
  .guide-count-typography .guide-count-card>span{margin-top:5px;color:#84939e;font-size:8px}
  .guide-count-typography .guide-current,.guide-fit-typography .guide-current{top:5px;right:5px;border-radius:3px;background:#173653;font-size:6px}
  .guide-fit-typography{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0;
    border-top:1px solid #b9c5ce;
    border-left:1px solid #dce3e8;
    font-family:"Noto Sans KR",Pretendard,sans-serif;
  }
  .guide-fit-typography .guide-fit-card{
    min-height:94px;
    padding:16px 12px 11px;
    align-content:start;
    justify-items:start;
    border:0;
    border-right:1px solid #dce3e8;
    border-bottom:1px solid #dce3e8;
    border-radius:0;
    background:#fff;
    text-align:left;
  }
  .guide-fit-typography .guide-fit-card>small{color:#8b9aa6;font:800 8px/1 Arial,sans-serif;letter-spacing:.1em}
  .guide-fit-typography .guide-fit-card>b{margin-top:9px;color:#172d3e;font-size:16px}
  .guide-fit-typography .guide-fit-card>span{margin-top:4px;color:#657986;font-size:9px;line-height:1.35}
  .guide-fit-typography+.guide-fit-tip{grid-template-columns:78px minmax(0,1fr);margin-top:9px;border-radius:0;background:#f1f5f7}
  .guide-color-lead{padding-bottom:10px;border-bottom:1px solid #b9c5ce}
  .guide-color-typography{display:grid;grid-template-columns:1fr;gap:0;margin:-2.5mm 0 0;border-bottom:1px solid #b9c5ce}
  .guide-color-typography>section{display:grid;grid-template-columns:88px minmax(0,1fr);gap:2px 10px;padding:11px 0;justify-items:start;border-bottom:1px solid #e0e6ea;text-align:left}
  .guide-color-typography>section:last-child{border-bottom:0}
  .guide-color-typography>section>small{grid-row:1/3;align-self:center;color:#8394a1;font:500 9px/1.2 Arial,sans-serif;letter-spacing:.08em}
  .guide-color-typography>section>b{color:#172d3e;font-size:15px}
  .guide-color-typography>section>span{color:#718390;font-size:11px;line-height:1.4}
  .guide-color-notes{grid-template-columns:1fr 1fr;gap:7px;margin-top:9px}
  .guide-color-notes span{border:1px solid #dce3e8;border-radius:0;background:#fff;color:#657986}
  .guide-color-notes span{font-size:10px;line-height:1.4}
  .guide-color-notes b{margin-bottom:4px;color:#173653;font:600 9px/1 Arial,sans-serif;letter-spacing:.08em}
  .guide-spec-list{
    display:grid;
    grid-template-columns:1fr;
    gap:0;
    border-top:1px solid #b9c5ce;
    border-bottom:1px solid #b9c5ce;
    font-family:"Noto Sans KR",Pretendard,sans-serif;
  }
  .guide-spec-list>section{
    position:relative;
    display:grid;
    grid-template-columns:88px minmax(0,1fr);
    gap:2px 10px;
    min-height:0;
    padding:10px 0;
    align-items:center;
    border:0;
    border-bottom:1px solid #e0e6ea;
    border-radius:0;
    background:#fff;
    box-shadow:none;
    text-align:left;
  }
  .guide-spec-list>section:last-child{border-bottom:0}
  .guide-spec-list>section.is-current{
    background:#f5f8fa;
    box-shadow:inset 3px 0 #173653;
  }
  .guide-spec-list>section>small{
    grid-column:1;
    align-self:center;
    padding-left:9px;
    color:#8394a1;
    font:500 9px/1.25 Arial,sans-serif;
    letter-spacing:.07em;
  }
  .guide-spec-list>section>div{display:grid;grid-column:2;gap:1px;min-width:0;padding-right:7px}
  .guide-spec-list>section>div>b{color:#172d3e;font-size:17px;line-height:1.25}
  .guide-spec-list>section>div>strong{color:#506779;font-size:12px;line-height:1.4}
  .guide-spec-list>section>div>span{color:#82929e;font-size:8px;line-height:1.35}
  .guide-material-spec>section>div>b,
  .guide-fit-spec>section>div>b,
  .guide-performance-spec>section>div>b,
  .guide-sweat-spec>section>div>b{font-weight:700;letter-spacing:-.025em}
  .guide-material-spec>section>div>strong,
  .guide-fit-spec>section>div>strong,
  .guide-performance-spec>section>div>strong,
  .guide-sweat-spec>section>div>strong{font-weight:500}
  .guide-color-typography>section>b{font-weight:700;letter-spacing:-.02em}
  .guide-color-typography>section>span{font-weight:400}
  .guide-color-notes span{font-weight:400}
  .guide-color-notes b{font-weight:600}
  .guide-spec-list .guide-current{top:5px;right:5px;border-radius:3px;background:#173653;font-size:6px;letter-spacing:.01em}
  .guide-spec-list+.guide-footnote{border-top:0}
  .guide-count-spec>section{padding-top:9px;padding-bottom:9px}
  .guide-count-spec>section>div{grid-template-columns:48px minmax(0,1fr);align-items:baseline;gap:3px 7px}
  .guide-count-spec>section>div>b{font-size:17px;font-weight:700;letter-spacing:-.03em}
  .guide-count-spec>section>div>strong{font-size:13px;font-weight:500}
  .guide-count-spec>section>div>span{grid-column:2;color:#748895;font-size:10px;font-weight:400}
  .fact-help-description>.guide-lead{font-weight:400}
  .fact-help-description>.guide-lead>b{font-weight:700}
  .fact-help-description>.guide-lead>span{font-weight:400}
  .guide-product-current{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
  .guide-product-current>span{color:#7a8b98;font-size:11px}
  .guide-product-current>b{max-width:72%;overflow:visible;font-size:14px!important;line-height:1.4;text-align:right;text-overflow:clip;white-space:normal}
  .guide-weight-spec>section{grid-template-columns:72px minmax(0,1fr)}
  .guide-weight-spec>section>div{grid-template-columns:1fr;gap:2px;padding-right:9px}
  .guide-weight-spec>section>div>b,
  .guide-weight-spec>section>div>strong,
  .guide-weight-spec>section>div>span{grid-column:1;white-space:normal}
  .guide-weight-spec>section>div>b{font-size:15px}
  .guide-weight-spec>section>div>span{font-size:9px}
  .product-detail-fact-popover{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
}

@media(max-width:700px){
  html body.awaiting-garment-style .quote-shell,
  html body.awaiting-garment-style .form-panel{overflow:hidden!important;overscroll-behavior:none!important;touch-action:pan-x!important}
}

/* Step 4 mobile completion controls. */
@media(max-width:800px){
  body[data-quote-step="4"] .compact-fulfillment-panel .delivery-field{
    grid-template-columns:1fr;
    justify-items:stretch;
  }
  body[data-quote-step="4"] .compact-fulfillment-panel .date-undecided{
    justify-content:center;
    width:100%;
    min-height:42px;
    margin:2px 0 0;
    border:1px solid #b7c5cf;
    border-radius:7px;
    background:#f7f9fb;
    color:#304b62;
    font-size:14px;
    font-weight:800;
    text-align:center;
  }
  body[data-quote-step="4"] .compact-fulfillment-panel .date-undecided input{width:16px;height:16px}
  body.quote-step-four-input-focus .form-panel{
    height:var(--quote-visible-height,100%)!important;
    padding-bottom:calc(128px + var(--quote-keyboard-extra,320px))!important;
  }
  body.quote-step-four-input-focus .form-footer{visibility:visible!important;pointer-events:auto!important}
  body[data-quote-step="4"] [data-step-panel="4"] input,
  body[data-quote-step="4"] [data-step-panel="4"] textarea{scroll-margin-block:22px 180px}
  body[data-quote-step="4"] .optional-detail-field details>summary{pointer-events:none}
  body[data-quote-step="4"] .optional-detail-field details>summary i{display:none}
}

@keyframes agreement-required-flash{
  0%,100%{border-color:#b7c5cf;background:#fff;box-shadow:none}
  50%{border-color:#e4543f;background:#fff4f1;box-shadow:0 0 0 4px #e4543f24}
}
.final-agreement.agreement-required-flash{animation:agreement-required-flash .48s linear 2}
@media(prefers-reduced-motion:reduce){
  .final-agreement.agreement-required-flash{animation:none;border-color:#e4543f;background:#fff4f1}
}
/* Unified customer color thumbnails: same 3-column rule as consultation links. */
@media(max-width:700px){
  body.awaiting-garment-style{height:100svh;overflow:hidden;overscroll-behavior:none}
  body.awaiting-garment-style .quote-shell,body.awaiting-garment-style .form-panel{overflow-y:hidden!important;overscroll-behavior-y:none;touch-action:pan-x}
  [data-step-panel="2"] .selected-colors{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
  [data-step-panel="2"] .color-card,[data-step-panel="2"] .color-card.selected{display:grid;justify-content:initial;min-height:0;padding:8px 5px 9px;gap:7px;border-radius:11px}
  [data-step-panel="2"] .color-card.selected{padding:6px 3px 7px}
  [data-step-panel="2"] .color-card img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:8px;background:#fff}
  [data-step-panel="2"] .color-card>i{display:block;flex:none;width:100%;height:auto;aspect-ratio:1;border-radius:8px}
  [data-step-panel="2"] .color-card span{font-size:11px;line-height:1.2;letter-spacing:0}
  [data-step-panel="2"] .color-card b{right:7px;top:7px;width:22px;height:22px;font-size:12px}
}

/* Step 1 mobile garment selector: one large, swipeable product-view card. */
@media(max-width:700px){
  .garment-style-options{display:flex!important;width:100%;gap:12px!important;padding:6px 8%!important;overflow-x:auto;overflow-y:hidden!important;overscroll-behavior:contain none;scroll-padding-inline:8%;scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:pan-x;-webkit-overflow-scrolling:touch}
  .garment-style-options::-webkit-scrollbar{display:none}
  .garment-style-options button,.garment-style-options button.selected{grid-column:auto!important;flex:0 0 84%;width:84%;padding:0 14px 20px!important;border:1px solid #cbd6df!important;border-radius:18px;scroll-snap-align:center;scroll-snap-stop:always}
  .garment-style-options .has-garment-art{min-height:clamp(340px,52svh,430px)!important}
  .garment-style-options .has-garment-art .garment-art-frame>img{object-position:center top!important;transform:none!important}
  .garment-style-options .has-garment-art:nth-child(1) .garment-art-frame{background:#c9c7c2}
  .garment-style-options .has-garment-art:nth-child(1) .garment-art-frame>img{object-fit:contain;object-position:50% top!important;background:#c9c7c2!important;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14%,#000 86%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 14%,#000 86%,transparent 100%);transform:none!important}
  .garment-style-options button::before{display:none}
  .garment-style-options button.selected{border:1px solid #cbd6df!important;box-shadow:none}
  .garment-style-options .has-garment-art::after{inset:auto 0 0;height:92px;border-top:1px solid #e1e7ec;background:#fff}
  .garment-style-options .has-garment-art>strong{font-size:27px!important;line-height:1.2;letter-spacing:-.045em}
  .garment-style-options .has-garment-art>span:last-child{display:block;margin-top:7px;font-size:15px!important;line-height:1.4;letter-spacing:-.025em}
  .garment-style-nav{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:12px;transform:translateY(2mm)}
  .garment-style-nav>button{display:grid;place-items:center;flex:0 0 38px;width:38px!important;min-width:38px!important;max-width:38px!important;height:38px!important;min-height:38px!important;max-height:38px!important;inline-size:38px;block-size:38px;aspect-ratio:1;box-sizing:border-box;padding:0!important;border:1px solid #cbd6df;border-radius:50%!important;background:#fff;color:#173f68;font:700 25px/1 Arial,sans-serif;box-shadow:0 3px 10px #17365312}
  .garment-style-nav>button:disabled{opacity:.3}
  .garment-style-nav>div{display:flex;align-items:center;gap:6px}
  .garment-style-nav i{display:block;width:7px;height:7px;border-radius:99px;background:#c7d2dc;transition:width .2s,background .2s}
  .garment-style-nav i.active{width:22px;background:#2768ad}
  .garment-start-hint{margin-top:calc(10px + 2mm)!important;text-align:center;transform:translateY(2mm)}
  .garment-style-options .has-garment-art.entry-border-pulse{animation:garmentCardPulse .72s ease-out!important}
  .garment-style-options .has-garment-art.entry-border-pulse::before{display:none!important}
}
@keyframes garmentCardPulse{0%,100%{border-color:#cbd6df;box-shadow:none}28%,68%{border-color:#ef725f;box-shadow:0 0 0 4px #ef725f35,0 5px 18px #ef725f30}}
@media(max-width:700px){
  .sticky-order-bar{top:64px;padding:7px 10px}
  .sticky-order-bar .sticky-order-menu{position:relative;display:block;padding:0;overflow:visible}
  .sticky-order-current{display:grid;grid-template-columns:minmax(0,1fr) 42px;overflow:hidden;border:1px solid #cbd8e2;border-radius:10px;background:#fff;box-shadow:0 5px 14px #17365312}
  .sticky-order-current>.order-tab{width:100%;min-height:46px;border:0;border-radius:0;box-shadow:inset 4px 0 #173653}
  .sticky-order-current>.order-tab .order-remove{display:none}
  .sticky-order-current>.order-tab>button:first-child{min-height:46px;padding:9px 12px}
  .sticky-order-current>.order-tab b{font-size:14px}
  .sticky-order-toggle{display:grid;place-items:center;width:42px;border:0;border-left:1px solid #dce4ea;background:#f4f7f9;color:#173653;font-size:20px}
  .sticky-order-menu.expanded .sticky-order-toggle span{transform:rotate(180deg)}
  .sticky-order-toggle span{transition:transform .15s}
  .sticky-order-layer{position:absolute;z-index:3;top:calc(100% + 6px);right:0;left:0;display:grid;gap:5px;max-height:min(54vh,360px);padding:7px;overflow-y:auto;border:1px solid #cbd8e2;border-radius:11px;background:#f3f6f8;box-shadow:0 14px 32px #17365338}
  .sticky-order-layer[hidden]{display:none}
  .sticky-order-layer .order-tab{width:100%;min-height:48px;border-radius:8px}
}

/* Keep product-detail photo changes atomic on slower mobile connections. */
.product-detail-media{background:#f4f6f7}
.product-detail-media>[data-product-detail-image]{transition:opacity .16s ease}
.product-detail-media>[data-product-detail-image].is-loading{opacity:0}
.product-detail-media:has(>[data-product-detail-image].is-loading)::before{
  content:"";
  position:absolute;
  z-index:1;
  inset:28% 42%;
  border:2px solid #d7e0e6;
  border-top-color:#1b496b;
  border-radius:50%;
  animation:product-detail-loading .65s linear infinite;
}
@keyframes product-detail-loading{to{transform:rotate(360deg)}}

/* Mobile modal viewport isolation: detail is one fixed screen; only the size body scrolls. */
@media(max-width:700px){
  html:has(.product-detail-layer[open]),body:has(.product-detail-layer[open]),
  html:has(.product-size-modal[open]),body:has(.product-size-modal[open]){
    position:fixed!important;inset:0!important;width:100%!important;
    height:var(--tv-stable-vh,100svh)!important;overflow:hidden!important;
    overscroll-behavior:none!important;
  }
  .product-detail-layer{
    top:5px!important;right:5px!important;bottom:auto!important;left:5px!important;
    height:calc(var(--tv-stable-vh,100svh) - 10px)!important;max-height:none!important;
    overflow:hidden!important;overscroll-behavior:none!important;touch-action:none;
  }
  .product-size-modal{
    position:fixed!important;top:6px!important;right:6px!important;bottom:auto!important;left:6px!important;
    display:none;box-sizing:border-box;width:calc(100% - 12px)!important;
    height:calc(var(--tv-stable-vh,100svh) - 12px)!important;max-width:none!important;max-height:none!important;margin:0!important;
    grid-template-rows:auto minmax(0,1fr);overflow:hidden!important;
    overscroll-behavior:none!important;touch-action:none;
  }
  .product-size-modal[open]{display:grid}
  .product-size-modal>form{position:absolute!important;z-index:30;top:14px!important;right:14px!important;bottom:auto!important;left:auto!important;width:34px;height:34px;margin:0}
  .product-size-modal>form .modal-close{position:static!important;inset:auto!important;display:grid!important;margin:0!important}
  .product-size-modal-head{flex:none}
  .product-size-chart-body,.product-size-modal>.pending-size-chart,.product-size-modal>.eco-size-chart{
    min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;
    -webkit-overflow-scrolling:touch;touch-action:pan-y;
  }
  .product-size-modal .size-scroll-indicator{
    position:fixed!important;
    right:6px!important;
    bottom:max(6px,calc(var(--tv-stable-vh,100svh) - var(--tv-visible-vh,100svh) + 6px))!important;
    left:6px!important;
    width:auto!important;
  }
}

/* Step 4 mobile heading stays on one clear line. */
@media(max-width:800px){
  [data-step-panel="4"]>.panel-heading h2{
    font-size:clamp(18px,5.25vw,23px)!important;
    line-height:1.2!important;
    letter-spacing:-.065em!important;
    white-space:nowrap!important;
  }
}

/* Mobile touch reliability: visible controls keep a 44px hit target. */
@media(max-width:800px){
  .quote-header .wordmark{display:flex;min-height:44px;align-items:center}
  .quote-header>[data-quote-close]{width:66px;height:44px;min-height:44px!important}
  .product-detail-layer>.modal-close{
    position:absolute!important;
    z-index:50!important;
    top:7px!important;
    right:7px!important;
    width:44px!important;
    min-width:44px!important;
    max-width:44px!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
  }
  .product-detail-content .product-detail-facts span>button{
    right:0;
    width:24px;
    min-width:24px;
    max-width:24px;
    height:24px;
    min-height:24px;
    max-height:24px;
    border-color:#cbd5dc;
    background:transparent;
    font-size:13px;
  }
  .product-detail-content .product-detail-facts span>button::before{position:absolute;inset:-10px;border-radius:50%;content:""}
  .product-detail-fact-popover>[data-product-detail-fact-close],
  .product-size-modal .modal-close{
    width:44px!important;
    min-width:44px!important;
    max-width:44px!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
  }
}

/* Mobile viewport stability: browser chrome must not resize fixed work areas. */
@media(max-width:800px){
  body.referral-start-mode{height:var(--tv-stable-vh,100svh)}
  body.referral-start-mode .quote-shell{height:calc(var(--tv-stable-vh,100svh) - 64px)}
  body[data-quote-step="3"]:not(.placement-step-confirmed){height:var(--tv-stable-vh,100svh)}
  body[data-quote-step="3"]:not(.placement-step-confirmed) .quote-shell{height:calc(var(--tv-stable-vh,100svh) - 64px)}
  [data-step-panel="3"] .placement-canvas-shell{height:clamp(300px,calc(var(--tv-stable-vh,100svh) - 330px),440px)!important}
  [data-step-panel="3"] .placement-canvas-shell>.supplied-shirt-map{height:clamp(300px,calc(var(--tv-stable-vh,100svh) - 350px),440px)!important}
  .placement-order-menu-layer{max-height:clamp(180px,calc(var(--tv-stable-vh,100svh) - 310px),360px)}
}

/* Keep product detail identical whether opened from sector 2 or quote step 1. */
@media(max-width:700px){
  html.product-detail-open{
    height:var(--product-detail-open-vh,var(--tv-stable-vh,100svh))!important;
    overflow:hidden!important;
    overscroll-behavior:none!important;
  }
  body.product-detail-open{
    position:fixed!important;
    right:0!important;
    left:0!important;
    width:100%!important;
    height:var(--product-detail-open-vh,var(--tv-stable-vh,100svh))!important;
    overflow:hidden!important;
    overscroll-behavior:none!important;
  }
  .product-detail-layer{
    height:calc(var(--product-detail-open-vh,var(--tv-stable-vh,100svh)) - 10px)!important;
    max-height:calc(var(--product-detail-open-vh,var(--tv-stable-vh,100svh)) - 10px)!important;
  }
  [data-product-detail-colors]{touch-action:pan-x;overscroll-behavior-x:contain;overscroll-behavior-y:none}
}
@media(max-width:700px){
  .product-detail-layer{
    height:calc(var(--tv-stable-vh,100svh) - 10px)!important;
    max-height:calc(var(--tv-stable-vh,100svh) - 10px)!important;
  }
  .product-detail-layer{--product-detail-frame-height:clamp(330px,calc(var(--tv-stable-vh,100svh) - 300px),440px)}
  .product-size-modal,.color-image-modal{max-height:calc(var(--tv-stable-vh,100svh) - 12px)}
  .product-size-modal,.color-image-modal{position:fixed;top:6px;right:6px;bottom:auto;left:6px;margin:0 auto}
  .color-confirm-slide img{height:min(calc(var(--tv-stable-vh,100svh) - 250px),470px)}
}

/* Mobile quote viewport: keep browser chrome stable on every step.
   The document itself never scrolls; each quote screen owns its vertical scroll. */
@media(max-width:800px){
  html{
    width:100%;
    height:var(--tv-stable-vh,100svh);
    overflow:hidden!important;
    overscroll-behavior:none!important;
  }
  body{
    position:fixed!important;
    inset:0!important;
    display:grid;
    grid-template-rows:64px minmax(0,1fr);
    width:100%!important;
    height:var(--tv-stable-vh,100svh)!important;
    min-height:0!important;
    overflow:hidden!important;
    overscroll-behavior:none!important;
  }
  .quote-header{
    position:relative!important;
    top:auto!important;
    grid-row:1;
    min-height:64px;
  }
  body .quote-shell,
  body:not(.referral-start-mode) .quote-shell{
    grid-row:2;
    width:100%;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    overflow:hidden!important;
  }
  body .form-panel,
  body:not(.referral-start-mode) .form-panel{
    box-sizing:border-box;
    width:100%;
    height:100%!important;
    min-height:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior-y:contain!important;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-y;
    scrollbar-gutter:stable;
  }
  body.referral-start-mode .quote-shell{height:100%!important}
  body.referral-start-mode .form-panel{overflow:hidden!important;touch-action:none}
  body[data-quote-step="3"]:not(.placement-step-confirmed) .quote-shell{height:100%!important}
  body[data-quote-step="3"]:not(.placement-step-confirmed) .form-panel{overflow:hidden!important;touch-action:none}
  .form-footer{bottom:0}
}

/* Product detail uses the available photo row without stretching the note or colors. */
@media(max-width:700px){
  .product-detail-layer{--product-detail-frame-height:100%}
  .product-detail-media{height:100%!important}
  .product-detail-content{height:auto!important}
  .product-detail-scroll.show-info .product-detail-content{
    inset:0!important;
    height:100%!important;
    overflow:hidden;
  }
  .product-detail-photo-note,
  .product-detail-colors{position:relative;z-index:2}
  .product-detail-photo-note{
    bottom:auto!important;
    font-size:12.5px!important;
    line-height:1.35!important;
  }
  .product-detail-colors{
    display:block!important;
    height:auto!important;
    min-height:0!important;
    padding:6px 0 7px 10px!important;
  }
  .product-detail-colors>[data-product-detail-colors]{
    align-items:flex-start!important;
    justify-content:flex-start!important;
    height:auto!important;
    min-height:0!important;
    margin:0 auto!important;
  }
  .product-detail-colors button b{
    display:-webkit-box!important;
    min-height:2.5em;
    overflow:hidden;
    line-height:1.25;
    text-align:center;
    text-overflow:clip;
    white-space:normal!important;
    overflow-wrap:anywhere;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
  }
}

/* Step 3 breathing room and one consistent control shape. */
.placement-editor-caption{display:none}
.placement-zoom-slider{position:absolute;z-index:12;right:8px;bottom:8px;width:46px;height:138px;color:#173653;font:800 9px/1 Arial,sans-serif}.placement-zoom-slider::before{position:absolute;top:26px;bottom:25px;left:50%;width:24px;background:repeating-linear-gradient(to bottom,transparent 0 10px,#9fb1bf 10px 11px,transparent 11px 16px);content:"";transform:translateX(-50%);pointer-events:none}
.placement-zoom-slider b,.placement-zoom-slider i{position:absolute;left:0;width:100%;font:800 9px/1 Arial,sans-serif;text-align:center}.placement-zoom-slider b{top:0}.placement-zoom-slider i{bottom:0;font-style:normal}.placement-zoom-slider span{display:none}
.placement-zoom-slider input{position:absolute;top:69px;left:50%;width:84px;height:4px;margin:0;padding:0;appearance:none;-webkit-appearance:none;border:0;border-radius:4px;background:#8fa6b6;outline:0;transform:translate(-50%,-50%) rotate(-90deg);touch-action:none}
.placement-zoom-slider input::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:#bccbd5}.placement-zoom-slider input::-webkit-slider-thumb{width:17px;height:17px;margin-top:-6.5px;-webkit-appearance:none;border:3px solid #fff;border-radius:50%;background:#173653;box-shadow:0 1px 5px #17365355}.placement-zoom-slider input::-moz-range-track{height:4px;border:0;border-radius:4px;background:#bccbd5}.placement-zoom-slider input::-moz-range-thumb{width:13px;height:13px;border:3px solid #fff;border-radius:50%;background:#173653;box-shadow:0 1px 5px #17365355}
.placement-pan-surface{position:absolute;z-index:9;inset:0;cursor:grab;touch-action:none}.placement-pan-surface:active{cursor:grabbing}.placement-pan-surface[hidden]{display:none!important}
@media(max-width:800px){
  .form-panel .mobile-progress{margin-bottom:14px!important;padding-right:14px!important;padding-left:14px!important}
  body[data-quote-step="3"] .quote-shell .form-panel{padding-top:22px!important}
  [data-step-panel="3"] .placement-workspace .placement-order-strip{margin-bottom:0!important}
  [data-step-panel="3"] .placement-editor-caption{display:flex;align-items:center;justify-content:flex-start;gap:8px;height:30px;margin:0 0 8px;padding:0 2px;text-align:left;transform:translate(4px,3px)}
  [data-step-panel="3"] .placement-editor-caption strong{color:#f47c6b;font:900 12px/1 Arial,sans-serif;letter-spacing:1.4px}
  [data-step-panel="3"] .placement-editor-caption span{color:#aeb7c0;font-size:11px;font-weight:700}
  [data-step-panel="3"] .placement-canvas-shell{display:grid!important;place-items:center!important;height:calc(clamp(300px,52dvh,440px) + 20px)!important;padding:0!important;border:0!important;background:#fff!important}
  [data-step-panel="3"] .placement-canvas-shell>.supplied-shirt-map{width:100%!important;height:clamp(300px,52dvh,440px)!important;margin:0!important}
  [data-step-panel="3"] .placement-studio{transform:translateY(-6px)}
  [data-step-panel="3"] .placement-order-tabs .order-tab>button:first-child{min-height:36px!important;padding:2px 10px!important}
  [data-step-panel="3"] .placement-order-tabs .order-tab b{font-size:15px!important;line-height:1.15!important;font-weight:900!important}
  [data-step-panel="3"] .placement-order-tabs .order-tab small{font-size:11px!important;line-height:1.2!important;font-weight:700!important}
  [data-step-panel="3"] .placement-order-tabs .order-tab span{min-width:38px!important;padding:4px 7px!important;font-size:11px!important;line-height:1!important;font-weight:900!important}
}
[data-step-panel="3"] .placement-media-tools>.placement-upload-button,
[data-step-panel="3"] .placement-media-tools>.placement-color-picker>button,
[data-step-panel="3"] .placement-pen-tool,
[data-step-panel="3"] .placement-type-tools>.placement-text-place-tool,
[data-step-panel="3"] .placement-history-tools>.placement-compact-tool{
  border-radius:7px!important
}
@media(max-width:760px){
  [data-step-panel="3"] .placement-media-tools>.placement-color-picker{margin-left:5px!important}
}
.placement-order-strip{overflow:visible!important;position:relative;z-index:20;border-bottom:1px solid #d5e0e8!important}
.placement-order-tabs.multi-order-menu{position:relative;overflow:visible!important;height:39px}
.placement-order-current{display:grid;grid-template-columns:minmax(0,1fr) 38px;align-items:stretch;height:39px;background:#fff}
.placement-order-current>.placement-order-row{min-width:0}
.placement-order-menu-toggle{display:grid;place-items:center;width:38px;padding:0;border:0;border-left:1px solid #d7e2ea;background:#f7fafc;color:#173653;font-size:19px;line-height:1}
.placement-order-menu-toggle span{position:relative;display:grid;place-items:center;width:100%;height:100%;font-size:0}
.placement-order-menu-toggle span::before,.placement-order-menu-toggle span::after{position:absolute;top:50%;left:50%;width:10px;height:2px;border-radius:2px;background:currentColor;content:""}
.placement-order-menu-toggle span::before{transform:translate(-100%,-50%) rotate(40deg);transform-origin:right center}
.placement-order-menu-toggle span::after{transform:translate(0,-50%) rotate(-40deg);transform-origin:left center}
.placement-order-menu-toggle span{transition:transform .18s ease}
.multi-order-menu.expanded .placement-order-menu-toggle span{transform:rotate(180deg)}
.placement-order-menu-layer{position:absolute;z-index:80;top:calc(100% + 5px);right:0;left:0;overflow-y:auto;max-height:min(54dvh,360px);border:1px solid #c8d7e1;border-radius:9px;background:#fff;box-shadow:0 14px 30px #17365335}
.placement-order-menu-layer[hidden]{display:none!important}
.placement-order-menu-layer .order-tab+.order-tab{border-top:1px solid #e0e8ee}

/* Existing text editing: font choices replace the slim tool bar, never the shirt canvas. */
[data-step-panel="3"] .placement-editor-toolbar{position:relative}
[data-step-panel="3"] .placement-editor-toolbar.text-edit-context>.placement-font-options{
  position:absolute!important;z-index:90!important;inset:0!important;display:flex!important;align-items:center!important;
  box-sizing:border-box!important;width:100%!important;height:100%!important;padding:4px 5px!important;gap:4px!important;
  border:1px solid #c6d4de!important;border-radius:7px!important;background:#f4f7f9!important;box-shadow:none!important;
  overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;scrollbar-width:thin
}
[data-step-panel="3"] .placement-editor-toolbar.text-edit-context>.placement-font-options[hidden]{display:none!important}
[data-step-panel="3"] .placement-editor-toolbar.text-edit-context>.placement-font-options button{
  flex:0 0 auto!important;box-sizing:border-box!important;width:auto!important;min-width:78px!important;height:31px!important;min-height:31px!important;
  padding:0 9px!important;border:1px solid transparent!important;border-radius:5px!important;background:#fff!important;
  font-size:13px!important;text-align:center!important
}
[data-step-panel="3"] .placement-editor-toolbar.text-edit-context>.placement-font-options button.selected{
  border-color:#7299b6!important;background:#e8f1f7!important;color:#123c5d!important
}
.placement-editor-toolbar .placement-color-palette{top:0!important;right:0!important;left:0!important;width:100%!important;min-height:100%;max-height:180px;padding:7px 38px 7px 8px;border:0;border-radius:inherit;background:#f7fafc;box-shadow:0 5px 16px #17365326;overflow-y:auto}
.placement-editor-toolbar .placement-color-palette>strong{display:block;margin:0 0 5px;color:#29445e;font-size:10px}
.placement-palette-close{position:absolute!important;top:6px;right:6px;display:grid!important;place-items:center!important;width:26px!important;min-width:26px!important;height:26px!important;min-height:26px!important;padding:0!important;border:1px solid #c7d4de!important;border-radius:6px!important;background:#fff!important;color:#526b80!important;font-size:17px!important;font-weight:500!important}
@media(max-width:760px){.placement-editor-toolbar .placement-color-palette{max-height:150px;padding:6px 34px 6px 6px}.placement-editor-toolbar .placement-color-palette>div{grid-template-columns:repeat(9,minmax(21px,1fr))!important;gap:4px!important}}

/* One shared palette for shapes, pen strokes and text. */
.placement-editor-toolbar{position:relative}
.placement-editor-toolbar .placement-color-picker{position:static}
.placement-editor-toolbar .placement-color-palette{position:absolute;z-index:40;top:calc(100% + 4px);right:5px;left:5px;box-sizing:border-box;width:auto;max-height:176px;padding:10px;border:1px solid #b9cbd8;border-radius:9px;background:#fff;box-shadow:0 14px 32px #17365332;transform:none;transform-origin:center top;overflow-y:auto}
.placement-editor-toolbar .placement-color-palette:before{display:none}
.placement-editor-toolbar .placement-color-palette>strong{margin-bottom:7px;font-size:11px}
.placement-editor-toolbar .placement-color-palette>div{grid-template-columns:repeat(9,minmax(24px,1fr))!important;gap:7px!important}
.placement-editor-toolbar .placement-color-palette [data-area-color]{width:100%!important;min-width:24px!important;height:auto!important;min-height:24px!important;aspect-ratio:1!important}
.placement-editor-toolbar.shared-palette-open{border-bottom-color:#84a9c3!important}
@media(max-width:760px){.placement-editor-toolbar .placement-color-palette{right:3px;left:3px;max-height:160px;padding:8px}.placement-editor-toolbar .placement-color-palette>div{grid-template-columns:repeat(9,minmax(22px,1fr))!important;gap:5px!important}}

/* Professional icon toolbar and shared color system. */
.tool-svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.placement-pen-picker{position:relative;min-width:0}.placement-pen-tool{position:relative;display:grid;place-items:center;box-sizing:border-box;width:100%;min-height:36px;padding:0;border:1px solid #c6d4de;border-radius:6px;background:#fff;color:#173653}.placement-pen-tool.selected{border-color:#2d66b5;background:#e8f2ff;color:#174c80}
.placement-pen-widths{position:absolute;z-index:34;top:calc(100% + 6px);left:50%;display:grid;grid-template-columns:repeat(3,48px);gap:4px;padding:7px;border:1px solid #c6d4de;border-radius:8px;background:#fff;box-shadow:0 10px 26px #1736532c;transform:translateX(-50%)}.placement-pen-widths[hidden]{display:none}.placement-pen-widths strong{grid-column:1/-1;color:#29445e;font-size:10px}.placement-pen-widths button{display:grid!important;place-items:center;gap:4px;box-sizing:border-box!important;width:48px!important;min-width:48px!important;min-height:42px!important;padding:4px!important;border:1px solid transparent!important;border-radius:5px!important;background:#f4f7f9!important;color:#4c6579!important;font-size:9px!important}.placement-pen-widths button.selected{border-color:#7fa4c0!important;background:#eaf3fa!important;color:#174c80!important}.placement-pen-widths i{display:block;width:28px;border-top:var(--pen-width,2px) solid currentColor}.placement-pen-widths [data-pen-width="6"] i{border-width:1px}.placement-pen-widths [data-pen-width="10"] i{border-width:2px}.placement-pen-widths [data-pen-width="16"] i{border-width:4px}.placement-pen-widths span{line-height:1}
.placement-pen-stroke{pointer-events:stroke}.supplied-shirt-map.pen-insert-mode{cursor:crosshair;touch-action:none!important}.placement-pen-preview{pointer-events:none}
.placement-type-tools>.placement-text-place-tool,.placement-type-tools>.placement-pen-picker{width:100%;min-width:0}
.placement-toolbar-text-color,.placement-text-color-palette{display:none!important}
.placement-type-tools>.placement-text-toolbar-controls{grid-template-columns:minmax(0,1fr)!important}
@media(max-width:760px){.placement-studio .placement-editor-toolbar{grid-template-columns:minmax(0,1fr) 40px 40px 86px!important}.placement-media-tools{grid-template-columns:70px 80px!important}.placement-media-tools>.placement-upload-button{width:70px!important;min-width:70px!important;max-width:70px!important}.placement-media-tools>.placement-color-picker{grid-template-columns:38px 38px!important}.placement-media-tools>.placement-color-picker>button{width:38px!important;min-width:38px!important;max-width:38px!important}.placement-type-tools{display:contents}.placement-pen-picker{grid-column:2;grid-row:1}.placement-type-tools>.placement-text-place-tool{grid-column:3;grid-row:1;width:40px!important;min-width:40px!important}.placement-history-tools{grid-column:4;grid-row:1}.placement-type-tools>.placement-text-toolbar-controls{grid-column:1/-1;grid-row:2}.placement-upload-button span{font-size:10px}}

@media(max-width:700px){
  .matched-featured-section,.matched-all-section{margin-top:26px}
  .matched-list-heading{align-items:center;margin-bottom:14px}
  .matched-list-heading h4{font-size:21px;line-height:1.3;letter-spacing:-.04em}
  .matched-list-heading span{font-size:14px;font-weight:750}
  .matched-featured-track .matched-product-card{padding:14px;border-radius:15px}
  .matched-featured-track .matched-product-card.selected{padding:13px}
  .matched-featured-track .matched-product-top{margin:14px 0 10px}
  .matched-featured-track .matched-product-top b{font-size:23px;line-height:1.3;letter-spacing:-.045em}
  .matched-featured-track .matched-product-top em{padding:5px 8px;font-size:11px}
  .matched-featured-track .matched-product-facts{margin-top:5px!important}
  .matched-featured-track .matched-product-facts>span{padding:11px 12px}
  .matched-featured-track .matched-product-facts small{margin-bottom:4px;font-size:12px}
  .matched-featured-track .matched-product-facts b{font-size:15px;line-height:1.4}
  .matched-featured-track .matched-product-usage{margin-top:12px!important;padding-top:12px!important;font-size:14px;line-height:1.55!important}
  .matched-featured-track .matched-product-usage b{font-size:13px}
  .matched-compact-grid{gap:11px}
  .matched-compact-grid .matched-product-card{padding:11px;border-radius:13px}
  .matched-compact-grid .matched-product-card.selected{padding:10px}
  .matched-compact-grid .matched-product-top{margin:10px 0 8px}
  .matched-compact-grid .matched-product-top b{font-size:17px;line-height:1.38;letter-spacing:-.035em}
  .matched-compact-grid .matched-product-top em{left:15px;top:15px;padding:4px 7px;font-size:10px}
  .matched-compact-grid .matched-product-info>strong{font-size:13px;line-height:1.5}
  .matched-compact-grid .matched-product-info>small{margin-top:7px;font-size:12px;line-height:1.35}
  .matched-load-more{min-height:50px;margin-top:14px;padding:13px;font-size:16px}
}

@media(max-width:700px){
  [data-step-panel="2"]>.order-summary{padding:26px 0}
  .order-summary .field-title{align-items:center}.order-summary .field-title h3{margin:0 0 14px;font-size:20px}
  .order-summary [data-add-another-product]{min-height:44px;padding:10px 12px;font-size:14px;border-radius:9px}
  [data-order-tabs] .order-tab{min-height:58px;border-radius:13px}
  [data-order-tabs] .order-tab>button:first-child{min-height:56px;padding:13px 14px}
  [data-order-tabs] .order-tab b{font-size:16px}
  [data-order-tabs] .order-tab span{padding:5px 8px;font-size:13px}
  [data-step-panel="2"]>.field-group{padding:30px 0}
  [data-step-panel="2"] .field-title h3{font-size:20px}
  [data-step-panel="2"] .field-title p{font-size:15px;line-height:1.55}
  [data-step-panel="2"] .selected-colors{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
  [data-step-panel="2"] .color-card,[data-step-panel="2"] .color-card.selected{min-height:76px;padding:8px 5px;gap:6px;border-radius:11px}
  [data-step-panel="2"] .color-card i{flex-basis:38px;width:38px;height:38px;border-radius:8px}
  [data-step-panel="2"] .color-card span{font-size:13px;line-height:1.25;letter-spacing:-.03em}
  [data-step-panel="2"] .color-card b{right:6px;top:5px;font-size:13px}
  [data-step-panel="2"] .quantity-card{margin-bottom:18px;border-radius:16px}
  [data-step-panel="2"] .quantity-card-head{top:64px;padding:15px 14px;gap:12px}
  [data-step-panel="2"] .quantity-product-title{gap:7px}
  [data-step-panel="2"] .quantity-product-title>b{font-size:12px}
  [data-step-panel="2"] .quantity-product-title>span{font-size:17px}
  [data-step-panel="2"] .quantity-product-title>em{font-size:14px}
  [data-step-panel="2"] .quantity-card-head small{font-size:13px;line-height:1.45}
  [data-step-panel="2"] .quantity-card-actions button[data-order-size-guide]{min-height:44px;padding:10px 11px;border-radius:9px;font-size:14px}
  [data-step-panel="2"] .size-group>h5,[data-step-panel="2"] .child-size-group>summary{padding:13px 14px;font-size:16px}
  [data-step-panel="2"] .child-size-group>summary span{font-size:13px}
  [data-step-panel="2"] .quantity-card-body .size-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:11px;background:#f4f7f9}
  [data-step-panel="2"] .size-box{min-height:96px;padding:12px 8px 11px;border-radius:10px}
  [data-step-panel="2"] .size-box label{margin-bottom:10px;font-size:15px}
  [data-step-panel="2"] .quantity-input{grid-template-columns:44px minmax(34px,1fr) 44px;width:100%;height:46px}
  [data-step-panel="2"] .quantity-value{height:44px}
  [data-step-panel="2"] .size-box .quantity-value input{width:32px;height:44px;font-size:17px}
  [data-step-panel="2"] .quantity-value em{font-size:12px}
  [data-step-panel="2"] .quantity-arrows .quantity-stepper{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}
  [data-step-panel="2"] .size-box.unavailable .size-unavailable{height:46px;font-size:13px}
  [data-step-panel="2"] .subtotal{padding:15px 14px}
  [data-step-panel="2"] .subtotal>span{font-size:13px}
  [data-step-panel="2"] .subtotal strong{font-size:18px}
}
.quantity-card-actions .quantity-color-remove{border:1px solid #efb5aa;background:#fff;color:#ca5945;font-weight:800}
@media(max-width:700px){
  .order-summary .field-title{margin-bottom:15px}.order-summary .field-title h3{margin:0}
  [data-step-panel="2"] .quantity-card{overflow:hidden!important;border:1px solid #d4dfe7;border-radius:16px}
  [data-step-panel="2"] .quantity-card-head{position:static;top:auto}
  [data-step-panel="2"] .quantity-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px}
  [data-step-panel="2"] .quantity-card-actions button[data-order-size-guide],[data-step-panel="2"] .quantity-card-actions .quantity-color-remove{width:auto;min-width:0;min-height:34px;height:34px;padding:6px 8px;font-size:12px;border-radius:7px;white-space:nowrap}
  [data-step-panel="2"] .subtotal{border-radius:0 0 15px 15px}
}

/* Step 2 mobile hierarchy: product context, color choice and quantity entry. */
@media(max-width:700px){
  [data-step-panel="2"]>.order-summary{
    margin:0 -20px;
    padding:24px 20px 25px;
    border:0;
    background:#f3f6f8
  }
  [data-step-panel="2"]>.order-summary .field-title h3,
  [data-step-panel="2"]>.field-group:not(.order-summary)>.field-title h3{
    display:flex;
    align-items:center;
    gap:8px
  }
  [data-step-panel="2"]>.order-summary .field-title h3:before,
  [data-step-panel="2"]>.field-group:not(.order-summary)>.field-title h3:before{
    display:grid;
    place-items:center;
    width:23px;
    height:23px;
    border-radius:50%;
    background:#173653;
    color:#fff;
    font:800 11px Arial,sans-serif
  }
  [data-step-panel="2"]>.order-summary .field-title h3:before{content:"01"}
  [data-step-panel="2"]>.field-group:not(.order-summary)>.field-title h3:before{content:"02"}
  .order-summary [data-add-another-product]{
    border:1px dashed #8ca2b3;
    background:transparent;
    color:#173653
  }
  [data-order-tabs]{gap:8px;padding:0}
  [data-order-tabs] .order-tab{
    border:0;
    background:#fff;
    box-shadow:0 3px 10px #1736530d
  }
  [data-order-tabs] .order-tab.active{
    border:0;
    background:#173653;
    box-shadow:none
  }
  [data-order-tabs] .order-tab.active b{color:#fff}
  [data-order-tabs] .order-tab.active span{background:#fff;color:#173653}
  [data-order-tabs] .order-tab.active .order-remove{border-left-color:#ffffff2e;background:#173653;color:#fff}
  [data-step-panel="2"]>.field-group:not(.order-summary){
    padding:28px 0 24px;
    border-bottom:0
  }
  [data-step-panel="2"] .selected-colors{gap:10px}
  [data-step-panel="2"] .color-card,
  [data-step-panel="2"] .color-card.selected{
    border:0;
    background:#f3f5f6;
    box-shadow:none
  }
  [data-step-panel="2"] .color-card.selected{
    background:#fff;
    box-shadow:inset 0 0 0 2px #2b63aa,0 4px 10px #17365312
  }
  [data-step-panel="2"] .color-card.selected b{
    position:absolute;
    top:6px;
    right:6px;
    display:grid;
    width:18px;
    height:18px;
    margin:0;
    place-items:center;
    border-radius:50%;
    background:#2b63aa;
    color:#fff;
    font-size:11px;
    line-height:1
  }
  [data-step-panel="2"] .quantity-card{
    border:0;
    border-top:4px solid #173653;
    background:#f4f7f9;
    box-shadow:0 5px 18px #17365314
  }
  [data-step-panel="2"] .quantity-card-head{
    border:0;
    border-bottom:1px solid #d6e1e8;
    background:#fff
  }
  [data-step-panel="2"] .quantity-card-body .size-grid{background:#f4f7f9}
}

/* Keep the new hierarchy on one centered mobile content axis. */
@media(max-width:700px){
  [data-step-panel="2"]>.order-summary{
    width:100%;
    margin:0;
    padding:24px 0 22px;
    border-bottom:1px solid #dce4ea;
    border-radius:0;
    background:#fff
  }
  [data-step-panel="2"]>.order-summary .field-title{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:12px;
    margin:0 0 14px
  }
  [data-step-panel="2"]>.order-summary .field-title h3{
    min-width:0;
    margin:0;
    white-space:nowrap
  }
  .order-summary [data-add-another-product]{
    align-self:center;
    min-height:36px;
    padding:6px 3px;
    border:0;
    border-bottom:1px solid #8ca2b3;
    border-radius:0;
    background:transparent
  }
  [data-order-tabs]{width:100%;margin:0 auto}
  [data-order-tabs] .order-tab{width:100%;max-width:none;margin:0 auto}
  [data-step-panel="2"]>.field-group:not(.order-summary){
    width:100%;
    margin:0 auto;
    padding:24px 0
  }
  [data-step-panel="2"]>.field-group:not(.order-summary)>.field-title{
    display:block;
    margin:0 0 14px
  }
  [data-step-panel="2"]>.field-group:not(.order-summary)>.field-title h3{margin:0 0 9px}
  [data-step-panel="2"]>.field-group:not(.order-summary)>.field-title p{margin:0}
  [data-step-panel="2"] .selected-colors{width:100%;margin:0 auto}
}

/* Step 2 selected products: readable as a list when several products exist. */
@media(max-width:700px){
  .order-summary [data-add-another-product]{
    min-height:36px;
    padding:7px 10px;
    border:1px solid #c8d5df;
    border-radius:8px;
    background:#fff;
    color:#40566a
  }
  [data-order-tabs]{
    display:grid;
    gap:6px;
    padding:6px;
    border:1px solid #dce5eb;
    border-radius:14px;
    background:#f3f6f8
  }
  [data-order-tabs] .order-tab,
  [data-order-tabs] .order-tab.active{
    min-height:54px;
    border:1px solid #dce5eb;
    border-radius:10px;
    background:#fff;
    box-shadow:none
  }
  [data-order-tabs] .order-tab.active{
    border-color:#aebfcd;
    box-shadow:inset 4px 0 #173653
  }
  [data-order-tabs] .order-tab b,
  [data-order-tabs] .order-tab.active b{color:#173653}
  [data-order-tabs] .order-tab span{background:#edf2f5;color:#52687d}
  [data-order-tabs] .order-tab.active span{background:#173653;color:#fff}
  [data-order-tabs] .order-tab .order-remove,
  [data-order-tabs] .order-tab.active .order-remove{
    border-left:1px solid #e1e8ed;
    background:#fff;
    color:#80909d
  }
  [data-step-panel="2"]>.color-selection-section{
    border-bottom:0
  }
  [data-step-panel="2"]>.color-selection-section:after{
    content:"";
    display:block;
    width:100%;
    height:1px;
    margin-top:24px;
    transform:translateY(12px);
    background:#dce4ea
  }
}
/* Placement editor production safeguards */
.placement-snap-guide{stroke:#77add4;stroke-width:1;stroke-dasharray:3 3;stroke-opacity:.3;vector-effect:non-scaling-stroke;pointer-events:none}.placement-layer-head{display:flex;align-items:center;justify-content:space-between}.placement-layer-head small{color:#6c8192;font-size:10px;font-weight:700}.placement-layer-head small.is-saving{color:#ef725f}.placement-quality-badge{display:inline-flex;margin-left:5px;padding:2px 5px;border-radius:4px;background:#fff0ed;color:#c34d3b;font-size:9px;font-style:normal;font-weight:900}.placement-layer-item small .quality-alert{color:#c34d3b;font-weight:900}
.placement-text-toolbar-controls{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:5px;width:100%}.placement-font-menu{position:relative;min-width:0}.placement-font-menu>[data-placement-font-toggle]{display:flex!important;align-items:center!important;justify-content:space-between!important;box-sizing:border-box;width:100%!important;min-height:32px!important;height:32px!important;padding:0 9px!important;border:1px solid #c5d4df!important;border-radius:6px!important;background:#fff!important;color:#173653!important;font-size:12px!important;font-weight:700!important;box-shadow:none!important}.placement-font-menu>[data-placement-font-toggle] b{color:#698095;font:700 13px/1 Arial,sans-serif}.placement-font-options{position:absolute;z-index:30;top:calc(100% + 5px);left:0;display:grid;grid-template-columns:1fr 1fr;gap:3px;box-sizing:border-box;width:min(250px,calc(100vw - 52px));padding:6px;border:1px solid #c6d4de;border-radius:8px;background:#fff;box-shadow:0 10px 26px #1736532c}.placement-font-options[hidden]{display:none}.placement-editor-toolbar .placement-font-options button{display:block;overflow:hidden;box-sizing:border-box;width:100%;min-height:35px;padding:7px 8px;border:1px solid transparent;border-radius:5px;background:#f5f7f9;color:#173653;font-size:14px;font-weight:400;text-align:left;text-overflow:ellipsis;white-space:nowrap}.placement-editor-toolbar .placement-font-options button.selected{border-color:#8fb1cb;background:#eaf3fa;color:#114d78}.placement-toolbar-text-color{position:relative;display:grid;place-items:center;box-sizing:border-box;width:48px;height:32px;border:1px solid #b9c9d4;border-radius:6px;background:#fff;cursor:pointer;overflow:hidden;box-shadow:0 1px 2px #1736530d}.placement-toolbar-text-color:after{content:"";position:absolute;right:4px;bottom:3px;left:4px;height:3px;border-radius:2px;background:linear-gradient(90deg,#ef5350,#f2c94c,#45a86b,#3989d4,#7355ad,#e78cab)}.placement-toolbar-text-color span{width:24px;height:14px;margin-bottom:4px;border:1px solid #aebdc8;border-radius:3px;background:#173653;box-shadow:inset 0 0 0 2px #fff}.placement-toolbar-text-color input{position:absolute;z-index:2;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.placement-text-place-tool.selected{border-color:#2d66b5!important;background:#e8f2ff!important;color:#174c80!important}.supplied-shirt-map.text-insert-mode{cursor:text}.placement-inline-text-input{position:absolute;z-index:8;box-sizing:border-box;width:min(210px,65%);height:40px;padding:0 11px;border:2px solid #2d66b5;border-radius:7px;background:#fffffff5;font-size:15px;font-weight:700;box-shadow:0 6px 20px #1736532b;transform:translate(-50%,-50%);outline:0}.placement-inline-text-input::placeholder{color:#728697;font-family:inherit;font-size:12px;font-weight:600}
@media(max-width:760px){.placement-layer-head small{font-size:11px}.placement-text-toolbar-controls{grid-template-columns:minmax(0,1fr) 46px}.placement-font-menu>[data-placement-font-toggle],.placement-toolbar-text-color{height:34px!important;min-height:34px!important}.placement-toolbar-text-color{width:46px}.placement-font-options{grid-template-columns:1fr 1fr}.placement-editor-toolbar .placement-font-options button{min-height:38px;font-size:15px}}
.placement-studio .placement-editor-toolbar{display:grid!important;grid-template-columns:1fr!important;gap:5px!important;padding:6px!important;background:#edf2f5!important}.placement-tool-section{position:relative;box-sizing:border-box;width:100%;min-width:0;padding:4px;border:1px solid #ccd8e1;border-radius:8px;background:#f8fafb}.placement-media-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:4px}.placement-media-tools>.placement-upload-button,.placement-media-tools>.placement-color-picker>button,.placement-type-tools>.placement-text-place-tool{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-width:0;min-height:34px;padding:5px 6px;border:1px solid #c6d4de;border-radius:6px;background:#fff;color:#173653;font-family:inherit;font-size:11px;font-weight:800;box-shadow:none}.placement-media-tools>.placement-color-picker{display:grid;grid-template-columns:1fr 1fr;gap:4px;min-width:0}.placement-type-tools{display:grid;grid-template-columns:74px minmax(0,1fr);gap:4px}.placement-type-tools>.placement-text-toolbar-controls{display:grid;grid-column:auto;grid-row:auto;grid-template-columns:minmax(0,1fr) 46px;gap:4px;min-width:0}.placement-history-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.placement-history-tools>.placement-compact-tool{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px;box-sizing:border-box;width:100%!important;max-width:none!important;min-width:0!important;height:31px!important;min-height:31px!important;max-height:none!important;padding:3px 5px!important;border:1px solid #ccd8e1!important;border-radius:6px!important;background:#fff!important;color:#47657c!important;font-size:10px!important;font-weight:800!important}.placement-history-tools>.placement-compact-tool svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.placement-history-tools>[data-placement-reset]{border-color:#e5c6c1!important;background:#fff7f5!important;color:#a85045!important}.placement-tool-section button:disabled{opacity:.42}.placement-tool-section .placement-color-palette{top:calc(100% + 5px)}
@media(max-width:760px){.placement-tool-section{padding:4px}.placement-media-tools>.placement-upload-button,.placement-media-tools>.placement-color-picker>button,.placement-type-tools>.placement-text-place-tool{min-height:36px;font-size:12px}.placement-type-tools{grid-template-columns:76px minmax(0,1fr)}.placement-history-tools>.placement-compact-tool{height:33px!important;min-height:33px!important;font-size:11px!important}}
/* Compact editor: one primary row, contextual typography row only while T is active. */
.placement-studio .placement-editor-toolbar{grid-template-columns:minmax(0,1fr) 56px 96px!important;align-items:center}.placement-media-tools{grid-column:1;grid-row:1;padding:0;border:0;background:transparent}.placement-type-tools{display:contents}.placement-type-tools>.placement-text-place-tool{grid-column:2;grid-row:1;min-height:36px;border:1px solid #c6d4de;border-radius:6px;background:#fff}.placement-type-tools>.placement-text-toolbar-controls{display:none;grid-column:1/-1;grid-row:2;grid-template-columns:minmax(0,1fr) 62px 46px;gap:4px;padding:5px;border:1px solid #c8d6df;border-radius:7px;background:#f8fafb}.placement-editor-toolbar.text-tools-active .placement-text-toolbar-controls{display:grid}.placement-history-tools{grid-column:3;grid-row:1;grid-template-columns:repeat(3,1fr);padding:0;border:0;background:transparent}.placement-history-tools>.placement-compact-tool{height:36px!important;min-height:36px!important;padding:0!important}.placement-history-tools>.placement-compact-tool span{display:none}.placement-history-tools>.placement-compact-tool svg{width:15px;height:15px}.placement-toolbar-text-size{display:flex;align-items:center;justify-content:center;box-sizing:border-box;height:32px;border:1px solid #c5d4df;border-radius:6px;background:#fff;color:#688095}.placement-toolbar-text-size input{width:35px;padding:0;border:0;background:transparent;color:#173653;font-size:12px;font-weight:800;text-align:right;outline:0;-moz-appearance:textfield}.placement-toolbar-text-size input::-webkit-inner-spin-button{display:none}.placement-toolbar-text-size span{margin-left:2px;font-size:9px}.placement-font-options{width:min(250px,calc(100vw - 52px))}
@media(max-width:760px){.placement-studio .placement-editor-toolbar{grid-template-columns:minmax(0,1fr) 52px 90px!important}.placement-type-tools>.placement-text-toolbar-controls{grid-template-columns:minmax(0,1fr) 60px 46px}.placement-history-tools>.placement-compact-tool{height:36px!important;min-height:36px!important}.placement-media-tools>.placement-upload-button,.placement-media-tools>.placement-color-picker>button{min-height:36px;padding:4px 3px;font-size:11px}}
.placement-hidden-text-input{position:fixed;left:-20px;top:-20px;width:1px;height:1px;padding:0;border:0;opacity:.01;pointer-events:none}.placement-text-caret{position:absolute;z-index:7;width:2px;height:30px;background:#1f5e91;transform:translateY(-50%);pointer-events:none;animation:placementTextCaret 1s steps(1,end) infinite}@keyframes placementTextCaret{0%,48%{opacity:1}49%,100%{opacity:0}}
.placement-size-menu{position:relative;min-width:0}.placement-size-menu>[data-placement-size-toggle]{display:flex!important;align-items:center!important;justify-content:space-between!important;box-sizing:border-box;width:100%!important;height:32px!important;min-height:32px!important;padding:0 7px!important;border:1px solid #c5d4df!important;border-radius:6px!important;background:#fff!important;color:#173653!important;font-size:11px!important;font-weight:800!important;box-shadow:none!important}.placement-size-menu>[data-placement-size-toggle] b{color:#688095;font:700 12px/1 Arial,sans-serif}.placement-size-options{position:absolute;z-index:31;top:calc(100% + 5px);left:50%;display:grid;grid-template-columns:1fr 1fr;gap:3px;width:112px;padding:5px;border:1px solid #c6d4de;border-radius:7px;background:#fff;box-shadow:0 9px 24px #1736532c;transform:translateX(-50%)}.placement-size-options[hidden]{display:none}.placement-editor-toolbar .placement-size-options button{box-sizing:border-box;width:100%;min-height:31px;padding:4px;border:1px solid transparent;border-radius:5px;background:#f3f6f8;color:#173653;font-size:11px;font-weight:800}.placement-editor-toolbar .placement-size-options button.selected{border-color:#8fb1cb;background:#eaf3fa;color:#114d78}.placement-size-options button:last-child{grid-column:1/-1}
.placement-size-custom{grid-column:1/-1;display:flex;align-items:center;box-sizing:border-box;height:33px;padding:0 7px;border:1px solid #c6d4de;border-radius:5px;background:#fff;color:#6b7f90}.placement-size-custom input{min-width:0;width:100%;border:0;background:transparent;color:#173653;font-size:11px;font-weight:800;outline:0;-moz-appearance:textfield}.placement-size-custom input::-webkit-inner-spin-button{display:none}.placement-size-custom span{font-size:9px}.placement-size-custom:focus-within{border-color:#2d66b5;box-shadow:0 0 0 2px #2d66b51a}
.placement-type-tools>.placement-text-toolbar-controls{position:relative}.placement-text-color-palette{position:absolute;z-index:32;top:calc(100% + 5px);right:0;left:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;padding:8px;border:1px solid #c5d3dd;border-radius:8px;background:#fff;box-shadow:0 12px 28px #17365330}.placement-text-color-palette[hidden]{display:none}.placement-editor-toolbar .placement-text-color-palette button,.placement-custom-color{position:relative;box-sizing:border-box;width:100%;min-width:0;aspect-ratio:1;padding:0;border:1px solid #c3ced6;border-radius:5px;background:var(--palette);box-shadow:inset 0 0 0 2px #fff;cursor:pointer}.placement-editor-toolbar .placement-text-color-palette button.selected{border-color:#173653;box-shadow:0 0 0 2px #173653,inset 0 0 0 2px #fff}.placement-custom-color{display:grid;place-items:center;overflow:hidden;background:conic-gradient(#e84c4c,#f3cb3e,#42a866,#3989d4,#7b51b5,#e84c4c);color:#fff;font-size:17px;font-weight:900;text-shadow:0 1px 3px #0006}.placement-custom-color input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.placement-custom-color span{pointer-events:none}
.placement-delete-handle{cursor:pointer;touch-action:none}.placement-delete-handle circle{fill:#fff;stroke:#d45f52;stroke-width:4;vector-effect:non-scaling-stroke}.placement-delete-handle path{fill:none;stroke:#c94d42;stroke-width:4;stroke-linecap:round;vector-effect:non-scaling-stroke}.placement-design,.placement-resize-handle,.placement-rotate-handle,.placement-selection-box{touch-action:none}.placement-design{cursor:move}.placement-resize-handle{cursor:nwse-resize}.placement-studio .placement-editor-toolbar{border-bottom:1px solid #b9c8d3!important;background:linear-gradient(#f7f9fa,#e8eef2)!important;box-shadow:inset 0 1px #fff}.placement-media-tools>.placement-upload-button,.placement-media-tools>.placement-color-picker>button,.placement-type-tools>.placement-text-place-tool,.placement-history-tools>.placement-compact-tool{transition:border-color .14s ease,background .14s ease,box-shadow .14s ease}.placement-media-tools>.placement-upload-button:hover,.placement-media-tools>.placement-color-picker>button:hover,.placement-type-tools>.placement-text-place-tool:hover{border-color:#8ca9bd;box-shadow:0 1px 3px #17365318}
.placement-media-tools>.placement-upload-button,.placement-media-tools>.placement-color-picker>button,.placement-type-tools>.placement-text-place-tool{height:36px!important;min-height:36px!important;padding:4px 3px!important}
.placement-color-palette{left:0!important;transform:none!important;transform-origin:var(--palette-tip,30px) top!important}.placement-color-palette:before{left:var(--palette-tip,22px)!important}
.placement-type-tools>.placement-text-toolbar-controls{grid-template-columns:minmax(0,1fr) 48px!important}
.placement-text-input-done{position:fixed;z-index:100;right:16px;bottom:calc(env(safe-area-inset-bottom,0px) + 86px);display:flex;min-width:108px;height:44px;padding:0 15px;align-items:center;justify-content:center;gap:7px;border:1px solid #c95743;border-radius:9px;background:#df6954;color:#fff;font-family:inherit;font-size:14px;font-weight:850;letter-spacing:-.02em;box-shadow:0 7px 18px #6e2d2538;touch-action:manipulation}
.placement-text-input-done::before{content:"✓";font:900 13px/1 Arial,sans-serif}
.placement-studio .placement-editor-toolbar{grid-template-columns:minmax(0,3fr) minmax(0,1fr) 96px!important}
@media(max-width:760px){.placement-studio .placement-editor-toolbar{grid-template-columns:170px 54px minmax(0,1fr)!important}.placement-media-tools{grid-template-columns:54px 112px!important}.placement-media-tools>.placement-upload-button,.placement-media-tools>.placement-color-picker>button,.placement-type-tools>.placement-text-place-tool{box-sizing:border-box!important;width:54px!important;min-width:54px!important;max-width:54px!important}.placement-media-tools>.placement-color-picker{grid-template-columns:54px 54px!important}}
.quote-header>[data-quote-close] span{display:block;line-height:1}.quote-header>[data-quote-close] small{display:none}
@media(max-width:800px){.quote-header>[data-quote-close]{display:flex;align-items:center;justify-content:center;gap:4px;box-sizing:border-box;width:62px;height:36px;min-width:62px!important;min-height:36px!important;padding:0 8px!important;border:1px solid #ffffff70!important;border-radius:18px;background:#ffffff14!important;color:#fff!important;box-shadow:inset 0 1px #ffffff20}.quote-header>[data-quote-close] span{font:400 24px/1 Arial,sans-serif;transform:translateY(-1px)}.quote-header>[data-quote-close] small{display:block;color:inherit;font-family:inherit;font-size:11px;font-weight:800;line-height:1}}
.placement-snap-guide{stroke:#77add4!important;stroke-width:1!important;stroke-dasharray:3 3!important;stroke-opacity:.7!important}
.placement-selection-box{fill:#fff!important;fill-opacity:.001!important;stroke-width:4!important;stroke-dasharray:10 7!important;pointer-events:all!important;touch-action:none!important;cursor:move}
.placement-rotate-handle{stroke-width:2!important;vector-effect:non-scaling-stroke}.placement-rotate-icon path{stroke-width:2.2!important}
.placement-delete-handle circle{stroke-width:2!important}.placement-delete-handle path{stroke-width:2.2!important}
.placement-design-group.selected,.placement-design-group.selected *{touch-action:none}
.placement-rotate-icon .placement-rotate-arc{fill:none!important;stroke:#173d5d!important;stroke-width:2.2!important;stroke-linecap:round;vector-effect:non-scaling-stroke}.placement-rotate-icon .placement-rotate-arrow{fill:#173d5d!important;stroke:none!important}
html.placement-layer-dragging,body.placement-layer-dragging{overflow:hidden!important;overscroll-behavior:none!important;touch-action:none!important}
.supplied-shirt-map.layer-edit-active,.supplied-shirt-map.layer-edit-active *{touch-action:none!important;overscroll-behavior:none!important;-webkit-user-select:none!important;user-select:none!important}

/* Mobile quote flow: compact progress and a focused, one-screen placement step. */
.placement-decision-actions{display:flex;gap:8px;margin:10px 0 0}
.placement-decision-actions[hidden]{display:none}
.placement-decision-actions button{min-height:44px;border-radius:9px;font-family:inherit;font-size:13px;font-weight:800;line-height:1.2;cursor:pointer}
.placement-confirm-button{flex:1.15;border:1px solid #173f68;background:#173f68;color:#fff}
.placement-skip-button{flex:1;border:1px solid #aebdca;background:#fff;color:#29445e}
.placement-inline-back{flex:0 0 62px;border:1px solid #c7d1da;background:#f5f7f9;color:#53697d}
body[data-quote-step="3"]:not(.placement-step-confirmed) .form-footer{display:none!important}
.form-footer{justify-content:flex-end}
.form-footer>.back-button{margin-right:auto}
@media(max-width:800px){
  .mobile-progress{grid-template-columns:auto minmax(0,1fr) auto!important;grid-template-areas:"count bar label"!important;column-gap:8px!important;row-gap:0!important;min-height:36px;margin:0 0 7px!important;padding:5px 7px!important;border-radius:9px!important;box-shadow:none!important}
  .mobile-progress>b{min-width:37px!important;height:22px!important;padding:0 6px!important;font-size:10px!important}
  .mobile-progress>span{height:5px!important}
  .mobile-progress i{height:5px!important}
  .mobile-progress i::after{width:8px!important;height:8px!important;border-width:2px!important}
  .mobile-progress>em{justify-self:end!important;font-size:11px!important;white-space:nowrap}
  body[data-quote-step="3"] .form-panel{padding:7px 10px 88px}
  [data-step-panel="3"] .placement-heading{display:none}
  [data-step-panel="3"] .placement-workspace{padding:0;border:0}
  [data-step-panel="3"] .placement-order-strip{min-height:35px;margin:0 0 5px!important}
  [data-step-panel="3"] .placement-order-tabs .order-tab>button:first-child{min-height:33px;padding:4px 8px}
  [data-step-panel="3"] .placement-studio{border-radius:9px}
  [data-step-panel="3"] .placement-studio .placement-editor-toolbar{padding:4px!important;gap:3px!important}
  [data-step-panel="3"] .placement-tool-section{padding:2px;gap:3px}
  [data-step-panel="3"] .placement-media-tools>.placement-upload-button,
  [data-step-panel="3"] .placement-media-tools>.placement-color-picker>button,
  [data-step-panel="3"] .placement-type-tools>.placement-text-place-tool{min-height:31px!important;height:31px!important}
  [data-step-panel="3"] .placement-history-tools>.placement-compact-tool{height:31px!important;min-height:31px!important}
  [data-step-panel="3"] .placement-canvas-shell{height:clamp(300px,52dvh,440px);aspect-ratio:auto}
  [data-step-panel="3"] .placement-layer-head,
  [data-step-panel="3"] .placement-layer-list{display:none!important}
  [data-step-panel="3"] .print-proof-notice{margin:7px 0 0;padding:8px 10px;font-size:9px;line-height:1.4}
  [data-step-panel="3"].placement-decision-pending .print-proof-notice{display:none}
  [data-step-panel="3"] .placement-decision-actions{position:relative;z-index:2;margin:6px 0 0}
  [data-step-panel="3"] .placement-decision-actions button{min-height:38px;padding:7px 8px;font-size:12px}
  [data-step-panel="3"] .placement-request-field{scroll-margin-top:72px;padding:14px 0 0}
  [data-step-panel="3"] .placement-message-note{scroll-margin-top:72px;margin-top:10px}
  [data-step-panel="3"] .placement-method-field{padding:8px 0 0}
  body[data-quote-step="3"]:not(.placement-step-confirmed){height:100dvh;overflow:hidden!important;overscroll-behavior-y:none}
  body[data-quote-step="3"]:not(.placement-step-confirmed) .quote-shell{height:calc(100dvh - 64px);min-height:0;overflow:hidden!important}
  body[data-quote-step="3"]:not(.placement-step-confirmed) .form-panel{height:100%;min-height:0;overflow:hidden!important}
  [data-step-panel="3"] .placement-order-strip{box-shadow:none!important}
  [data-step-panel="3"] .placement-studio{border-color:#9eafbc!important}
  [data-step-panel="3"] .placement-history-tools{transform:translateX(-6px)}
}

/* Step 3 product selector is one structurally aligned row. */
@media(max-width:800px){
  [data-step-panel="3"] .placement-order-strip{box-sizing:border-box!important;min-height:0!important;height:auto!important;border:1px solid #b8c8d3!important}
  [data-step-panel="3"] .placement-order-strip::after{display:none!important}
  [data-step-panel="3"] .placement-order-tabs,
  [data-step-panel="3"] .placement-order-tabs.multi-order-menu{height:auto!important;min-height:0!important}
  [data-step-panel="3"] .placement-order-tabs>.placement-order-row,
  [data-step-panel="3"] .placement-order-current,
  [data-step-panel="3"] .placement-order-current>.placement-order-row{box-sizing:border-box!important;height:38px!important;min-height:38px!important}
  [data-step-panel="3"] .placement-order-current{grid-template-columns:minmax(0,1fr) 38px!important}
  [data-step-panel="3"] .placement-order-current>.placement-order-row{grid-template-columns:minmax(0,1fr) 38px!important;width:auto!important;min-width:0!important}
  [data-step-panel="3"] .placement-order-tabs:not(.multi-order-menu)>.placement-order-row{grid-template-columns:minmax(0,1fr) 38px!important;width:100%!important;min-width:0!important}
  [data-step-panel="3"] .placement-order-menu-layer>.placement-order-row{grid-template-columns:minmax(0,1fr) 38px!important;box-sizing:border-box!important;width:100%!important;min-width:0!important}
  [data-step-panel="3"] .placement-order-tabs .order-tab>button:first-child{box-sizing:border-box!important;height:38px!important;min-height:38px!important;padding:2px 10px!important}
  [data-step-panel="3"] .placement-order-remove,
  [data-step-panel="3"] .placement-order-menu-toggle{box-sizing:border-box!important;width:38px!important;height:38px!important;min-height:38px!important;align-self:center!important}
  [data-step-panel="3"] .placement-order-remove{position:relative!important;display:grid!important;place-items:center!important;padding:0!important;font-size:0!important;line-height:0!important}
  [data-step-panel="3"] .placement-order-remove::before,
  [data-step-panel="3"] .placement-order-remove::after{position:absolute;top:50%;left:50%;width:10px;height:1.5px;border-radius:2px;background:currentColor;content:"";transform-origin:center}
  [data-step-panel="3"] .placement-order-remove::before{transform:translate(-50%,-50%) rotate(45deg)}
  [data-step-panel="3"] .placement-order-remove::after{transform:translate(-50%,-50%) rotate(-45deg)}
}
@media(max-width:760px){
  [data-step-panel="3"] .placement-studio .placement-editor-toolbar{grid-template-columns:minmax(154px,1fr) 40px 40px 86px!important;gap:3px!important}
  [data-step-panel="3"] .placement-media-tools{grid-template-columns:70px 80px!important;gap:3px!important}
  [data-step-panel="3"] .placement-media-tools>.placement-upload-button{box-sizing:border-box!important;width:70px!important;min-width:70px!important;max-width:70px!important;height:31px!important;min-height:31px!important;padding:3px!important}
  [data-step-panel="3"] .placement-media-tools>.placement-color-picker{grid-template-columns:38px 38px!important;gap:3px!important}
  [data-step-panel="3"] .placement-media-tools>.placement-color-picker>button{box-sizing:border-box!important;width:38px!important;min-width:38px!important;max-width:38px!important;height:31px!important;min-height:31px!important;padding:0!important}
  [data-step-panel="3"] .placement-type-tools{display:contents!important}
  [data-step-panel="3"] .placement-pen-picker{grid-column:2;grid-row:1}
  [data-step-panel="3"] .placement-pen-tool,[data-step-panel="3"] .placement-type-tools>.placement-text-place-tool{box-sizing:border-box!important;width:40px!important;min-width:40px!important;max-width:40px!important;height:31px!important;min-height:31px!important;padding:0!important}
  [data-step-panel="3"] .placement-type-tools>.placement-text-place-tool{grid-column:3;grid-row:1}
  [data-step-panel="3"] .placement-history-tools{grid-column:4;grid-row:1;gap:2px!important}
  [data-step-panel="3"] .placement-history-tools>.placement-compact-tool{height:31px!important;min-height:31px!important}
  [data-step-panel="3"] .placement-type-tools>.placement-text-toolbar-controls{grid-column:1/-1;grid-row:2;grid-template-columns:minmax(0,1fr)!important}
}

/* The contextual palette replaces the complete tool bar while a drawable layer is active. */
[data-step-panel="3"] .placement-editor-toolbar{position:relative!important}
[data-step-panel="3"] .placement-editor-toolbar .placement-color-picker{position:static!important}
[data-step-panel="3"] .placement-editor-toolbar .placement-color-palette{
  position:absolute!important;z-index:60!important;inset:0!important;
  box-sizing:border-box!important;width:100%!important;height:100%!important;min-height:100%!important;max-height:none!important;
  padding:5px 7px!important;border:0!important;border-radius:inherit!important;
  background:#f4f7f9!important;box-shadow:none!important;overflow:hidden!important;transform:none!important
}
[data-step-panel="3"] .placement-editor-toolbar .placement-color-palette:before{display:none!important}
[data-step-panel="3"] .placement-editor-toolbar .placement-color-palette>strong,
[data-step-panel="3"] .placement-editor-toolbar .placement-palette-close{display:none!important}
[data-step-panel="3"] .placement-editor-toolbar .placement-color-palette>div{
  display:flex!important;align-items:center!important;box-sizing:border-box!important;width:100%!important;height:100%!important;
  gap:6px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin;overscroll-behavior-x:contain
}
[data-step-panel="3"] .placement-editor-toolbar .placement-color-palette [data-area-color]{
  flex:0 0 28px!important;width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;border-radius:6px!important
}

/* Selected-layer palette: two compact rows along the free upper edge of the shirt canvas. */
[data-step-panel="3"] .placement-canvas-shell>.placement-color-palette{
  position:absolute!important;z-index:70!important;top:7px!important;right:auto!important;bottom:7px!important;left:7px!important;
  box-sizing:border-box!important;width:59px!important;height:auto!important;min-height:0!important;max-height:none!important;
  padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;overflow:hidden!important;transform:none!important
}
[data-step-panel="3"] .placement-canvas-shell>.placement-color-palette:before,
[data-step-panel="3"] .placement-canvas-shell>.placement-color-palette>strong,
[data-step-panel="3"] .placement-canvas-shell>.placement-color-palette>.placement-palette-close{display:none!important}
[data-step-panel="3"] .placement-canvas-shell>.placement-color-palette>div{
  display:grid!important;grid-template-columns:repeat(2,24px)!important;grid-auto-flow:row!important;grid-auto-rows:24px!important;
  box-sizing:border-box!important;width:59px!important;height:calc(100% - 22px)!important;padding:2px!important;gap:5px!important;
  overflow-x:hidden!important;overflow-y:auto!important;scrollbar-width:none;overscroll-behavior-y:contain
}
[data-step-panel="3"] .placement-canvas-shell>.placement-color-palette>div::-webkit-scrollbar{display:none}
[data-step-panel="3"] .placement-canvas-shell>.placement-color-palette:after{
  content:"⌄";position:absolute;right:0;bottom:0;left:0;display:grid;height:22px;place-items:center;
  background:linear-gradient(transparent,#ffffffdc 48%);color:#587187;font:700 18px/1 Arial,sans-serif;
  pointer-events:none;animation:placementPaletteSwipe 1.5s ease-in-out infinite
}
@keyframes placementPaletteSwipe{0%,100%{transform:translateY(-2px);opacity:.45}50%{transform:translateY(2px);opacity:1}}
.placement-design-group.placement-moving .placement-selection-box,
.placement-design-group.placement-moving .placement-rotate-stem,
.placement-design-group.placement-moving .placement-rotate-handle,
.placement-design-group.placement-moving .placement-rotate-icon,
.placement-design-group.placement-moving .placement-delete-handle,
.placement-design-group.placement-moving .placement-resize-handle,
.placement-design-group.placement-moving~.placement-snap-guide{opacity:0!important;visibility:hidden!important}
.placement-design-group.pen-layer .placement-rotate-stem,
.placement-design-group.pen-layer .placement-rotate-handle,
.placement-design-group.pen-layer .placement-rotate-icon,
.placement-design-group.pen-layer .placement-resize-handle{display:none!important}
.placement-design-group.pen-layer .placement-selection-box{display:block!important;fill:transparent!important;stroke:transparent!important;pointer-events:all!important}
.placement-pen-hit{pointer-events:stroke;cursor:move;touch-action:none}
.supplied-shirt-map.pen-insert-mode{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M4 20l4.3-1.1L20 7.2 16.8 4 5.1 15.7 4 20z' fill='white' stroke='%23173653' stroke-width='1.5'/%3E%3C/svg%3E") 3 21,crosshair!important}
[data-step-panel="3"] .placement-canvas-shell>.placement-color-palette [data-area-color]{
  position:relative!important;
  box-sizing:border-box!important;width:24px!important;min-width:24px!important;height:24px!important;min-height:24px!important;
  padding:0!important;border:1px solid #fff!important;border-radius:5px!important;
  background:var(--area-color)!important;box-shadow:0 0 0 .6px #aebdc8!important
}
[data-step-panel="3"] .placement-canvas-shell>.placement-color-palette [data-area-color].selected:after{
  content:"";position:absolute;top:50%;left:50%;width:6px;height:6px;border:0;border-radius:50%;
  background:#fff;box-shadow:0 1px 4px #17365370;transform:translate(-50%,-50%);pointer-events:none
}
.placement-rotate-glyph{fill:#173d5d;stroke:#173d5d;stroke-width:.65px;paint-order:stroke fill;font:700 40px/1 Arial,sans-serif;text-anchor:middle;dominant-baseline:middle;alignment-baseline:central;transform:translateY(-1px);pointer-events:none}

/* Keep drawing tools in one uninterrupted order: rectangle, circle, pen, text. */
@media(max-width:760px){
  [data-step-panel="3"] .placement-studio .placement-editor-toolbar{grid-template-columns:minmax(0,1fr) 106px!important}
  [data-step-panel="3"] .placement-media-tools{grid-template-columns:58px minmax(0,1fr)!important}
  [data-step-panel="3"] .placement-media-tools>.placement-upload-button{width:58px!important;min-width:58px!important;max-width:58px!important}
  [data-step-panel="3"] .placement-media-tools>.placement-color-picker{display:grid!important;grid-template-columns:repeat(4,34px)!important;gap:3px!important;overflow:visible!important}
  [data-step-panel="3"] .placement-media-tools>.placement-color-picker>button{width:34px!important;min-width:34px!important;max-width:34px!important}
  [data-step-panel="3"] .placement-media-tools>.placement-color-picker>.placement-pen-picker{display:block!important;grid-column:auto!important;grid-row:auto!important;width:34px!important;min-width:34px!important;visibility:visible!important;opacity:1!important}
  [data-step-panel="3"] .placement-media-tools>.placement-color-picker>.placement-pen-picker>.placement-pen-tool,
  [data-step-panel="3"] .placement-media-tools>.placement-color-picker>[data-placement-text-toggle]{display:grid!important;box-sizing:border-box!important;width:34px!important;min-width:34px!important;height:31px!important;min-height:31px!important;padding:0!important;visibility:visible!important}
  [data-step-panel="3"] .placement-history-tools{grid-column:2!important;grid-row:1!important;grid-template-columns:repeat(3,34px)!important;justify-self:end!important;gap:2px!important;width:106px!important}
  [data-step-panel="3"] .placement-history-tools>.placement-compact-tool{box-sizing:border-box!important;width:34px!important;min-width:34px!important;max-width:34px!important;height:31px!important;min-height:31px!important;padding:0!important}
  [data-step-panel="3"] .placement-type-tools>.placement-text-toolbar-controls{grid-column:1/-1!important;grid-row:2!important}
}

/* Confirmed editor follow-up: readable guidance is allowed to scroll. */
@media(max-width:800px){
  body[data-quote-step="3"].placement-step-confirmed .form-panel{
    overflow-y:auto!important;
    overscroll-behavior-y:contain!important;
    touch-action:pan-y!important;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice{
    margin:12px 0 4px;
    padding:15px 15px 14px;
    border:1px solid #d5e0e7;
    border-left:4px solid #ef8872;
    border-radius:11px;
    background:#f7f9fa;
    color:#526879;
    font-size:13px;
    line-height:1.55;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>strong{
    margin:0 0 7px;
    color:#173653;
    font-size:16px;
    line-height:1.35;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>p{
    margin:0;
    font-size:13px;
    line-height:1.55;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>ol{
    display:grid;
    gap:8px;
    margin:12px 0 0;
    padding:11px 0 0;
    border-top:1px solid #dce4ea;
    list-style:none;
    counter-reset:proof-step;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice li{
    display:grid;
    grid-template-columns:22px minmax(0,1fr);
    column-gap:8px;
    counter-increment:proof-step;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice li::before{
    grid-row:1/3;
    display:grid;
    place-items:center;
    width:22px;
    height:22px;
    border-radius:50%;
    background:#173653;
    color:#fff;
    content:counter(proof-step);
    font-size:11px;
    font-weight:900;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice li b{
    color:#263f53;
    font-size:13px;
    line-height:1.4;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice li span{
    color:#687b8a;
    font-size:12.5px;
    line-height:1.45;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .placement-message-toggle strong{font-size:14px}
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .placement-message-toggle small,
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .placement-request-heading p{font-size:12.5px;line-height:1.45}
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .placement-request-heading h3{font-size:16px}
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .request-note{font-size:15px;line-height:1.55}
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .placement-message-note p{font-size:13px;line-height:1.55}
}

/* Professional proof-service card for the confirmed editor screen. */
@media(max-width:800px){
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice{
    overflow:hidden;
    margin:14px 0 6px;
    padding:0;
    border:1px solid #cad7e0;
    border-left:0;
    border-radius:14px;
    background:#fff;
    color:#526879;
    box-shadow:0 8px 22px #1736530d;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>header{
    display:block;
    padding:15px 16px 12px;
    background:#173653;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>header small{
    display:block;
    margin-bottom:5px;
    color:#ef9a87;
    font:800 9px/1.2 Arial,sans-serif;
    letter-spacing:.14em;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>header strong{
    display:block;
    margin:0;
    color:#fff;
    font-size:16px;
    line-height:1.35;
    letter-spacing:-.035em;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>p{
    margin:0;
    padding:12px 15px 11px;
    color:#5c7080;
    font-size:13px;
    line-height:1.5;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>ol{
    position:relative;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:0;
    margin:0 13px;
    padding:13px 0;
    border-top:1px solid #e0e7ec;
    list-style:none;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>ol::before{
    position:absolute;
    top:24px;
    right:16.66%;
    left:16.66%;
    height:1px;
    background:#cdd8e0;
    content:"";
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice li{
    position:relative;
    display:flex;
    min-width:0;
    align-items:center;
    flex-direction:column;
    gap:3px;
    text-align:center;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice li::before{display:none!important;content:none!important}
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice li>b{
    position:relative;
    z-index:1;
    display:grid;
    place-items:center;
    width:24px;
    height:24px;
    margin-bottom:3px;
    border:1px solid #173653;
    border-radius:50%;
    background:#fff;
    color:#173653;
    font:800 9px/1 Arial,sans-serif;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice li>strong{
    color:#263f53;
    font-size:12.5px;
    line-height:1.35;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice li>span{
    color:#7a8995;
    font-size:10.5px;
    line-height:1.35;
    white-space:nowrap;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>footer{
    display:flex;
    align-items:center;
    gap:7px;
    padding:10px 14px;
    background:#f1f5f7;
    color:#40586b;
    font-size:12px;
    font-weight:750;
    line-height:1.4;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>footer span{
    display:grid;
    flex:0 0 19px;
    width:19px;
    height:19px;
    place-items:center;
    border-radius:50%;
    background:#ef8872;
    color:#fff;
    font-size:11px;
    font-weight:900;
  }
}

/* Quote-first production order: the editor is only a request reference. */
@media(max-width:800px){
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>ol{
    display:grid;
    grid-template-columns:1fr;
    gap:0;
    padding:5px 15px 7px;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>ol::before{display:none}
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice li{
    display:grid;
    grid-template-columns:28px minmax(0,1fr);
    gap:10px;
    padding:8px 0;
    align-items:start;
    text-align:left;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice li+li{border-top:1px solid #e7ecef}
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice li>b{
    width:26px;
    height:26px;
    margin:0;
    background:#f3f7f9;
    font-size:9px;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice li>span{
    display:block;
    min-width:0;
    color:inherit;
    font-size:inherit;
    line-height:inherit;
    text-align:left;
    white-space:normal;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice li>span>strong{
    display:block;
    margin-bottom:2px;
    color:#263f53;
    font-size:13px;
    line-height:1.35;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice li>span>small{
    display:block;
    color:#768793;
    font-size:11.5px;
    line-height:1.4;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>footer{align-items:flex-start}
}

/* Stronger section hierarchy on the confirmed editor follow-up. */
@media(max-width:800px){
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice{
    border:2px solid #9eafbc;
    box-shadow:0 9px 24px #17365317;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>header{
    padding:16px 16px 13px;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>header small{font-size:10px}
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>header strong{font-size:18px}
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>p{
    padding:13px 15px 12px;
    font-size:14px;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>ol{
    margin:0 14px;
    padding:6px 0 8px;
    border-top:2px solid #c5d1d9;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice li{
    padding:10px 2px;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice li+li{border-top:1px solid #cbd6de}
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice li>span>strong{font-size:14px}
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice li>span>small{font-size:12.5px}
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>footer{
    padding:11px 14px;
    border-top:1px solid #c6d2da;
    font-size:13px;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .placement-request-field{
    margin:18px 0 0;
    padding:16px 14px 14px!important;
    border:1px solid #aabcc9!important;
    border-top:4px solid #173653!important;
    border-radius:12px;
    background:#fff;
    box-shadow:0 7px 18px #1736530c;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .placement-request-heading h3{font-size:17px}
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .placement-request-heading p{font-size:13px}
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .placement-message-note{
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    gap:8px 12px;
    align-items:center;
    margin:12px 0 0;
    padding:12px;
    border:1px solid #c3d0d9;
    border-radius:11px;
    background:#f7f9fa;
    color:#516779;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .placement-message-note p{
    grid-column:2;
    grid-row:1;
    margin:0;
    font-size:13px;
    line-height:1.45;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .message-upload-button{
    grid-column:1;
    grid-row:1;
    min-height:38px;
    padding:7px 10px;
    border:1px solid #879dad;
    border-radius:8px;
    background:#fff;
    color:#29465e;
    font-size:12px;
    font-weight:800;
    white-space:nowrap;
    box-shadow:none;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .message-file-list{
    grid-column:1/-1;
    margin-top:1px;
  }
}

/* Compact 2x2 order process: glanceable, not a long notice. */
@media(max-width:800px){
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>p{display:none}
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>header{padding:14px 15px 13px}
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>header strong{font-size:17px}
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>header em{
    display:block;
    margin-top:5px;
    color:#cbd7df;
    font-size:11.5px;
    font-style:normal;
    line-height:1.4;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>ol{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    margin:0;
    padding:12px;
    border-top:0;
    background:#f5f7f8;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice li,
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice li+li{
    display:grid;
    grid-template-columns:26px minmax(0,1fr);
    gap:8px;
    min-height:58px;
    padding:9px;
    align-items:center;
    border:1px solid #c4d0d9;
    border-radius:9px;
    background:#fff;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice li>b{
    width:24px;
    height:24px;
    background:#173653;
    color:#fff;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice li>span>strong{font-size:13.5px;white-space:nowrap}
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice li>span>small{font-size:11.5px;white-space:nowrap}
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>footer{padding:10px 13px;font-size:12.5px}
}

@media(max-width:800px){
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>footer{
    gap:3px;
    padding:9px 0 9px calc(6px + 3mm);
    align-items:center;
    font-size:clamp(10.45px,2.915vw,12.1px);
    font-weight:850;
    letter-spacing:0;
    white-space:nowrap;
  }
  body[data-quote-step="3"].placement-step-confirmed [data-step-panel="3"] .print-proof-notice>footer span{
    display:flex!important;
    align-items:center;
    justify-content:center;
    flex-basis:15px;
    width:15px;
    height:15px;
    padding:0;
    font-family:Arial,sans-serif;
    font-size:10px;
    line-height:1;
    text-align:center;
  }
}

@media(max-width:800px){
  .quote-header>[data-quote-close]{
    width:66px!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
  }
}

/* Give keyboard-focused fields enough scroll room to sit clearly above the
   mobile keyboard, including the final password fields at the page bottom. */
@media(max-width:800px){
  body.quote-keyboard-focus .form-panel{
    padding-bottom:calc(112px + var(--quote-keyboard-extra,320px))!important;
  }
  body.quote-print-note-focus .form-panel{height:var(--quote-visible-height,100%)!important}
  body.quote-print-note-focus .form-footer{visibility:hidden!important;pointer-events:none!important}
  body.quote-print-note-focus [data-step-panel="3"] .placement-request-field{scroll-margin-block:18px}
}

.customer-grid label .customer-field-status{display:inline!important;margin-left:5px;font-size:10px!important}
.customer-grid label .customer-field-status.required{color:var(--coral)!important}
.customer-grid label .customer-field-status.optional{color:#81909d!important}

/* Step 4 mobile hierarchy: neutral cards, strong headings, restrained accents. */
@media(max-width:800px){
  body[data-quote-step="4"] .form-panel{
    padding-right:14px!important;
    padding-bottom:calc(126px + env(safe-area-inset-bottom))!important;
    padding-left:14px!important;
    background:#eef2f5;
  }
  body[data-quote-step="4"] [data-step-panel="4"]{
    display:grid;
    gap:14px;
  }
  body[data-quote-step="4"] [data-step-panel="4"]>.panel-heading{
    display:none;
  }
  body[data-quote-step="4"] [data-step-panel="4"]>.panel-heading>p,
  body[data-quote-step="4"] [data-step-panel="4"]>.panel-heading>span{display:none}
  body[data-quote-step="4"] [data-step-panel="4"]>.panel-heading h2{
    margin:0;
    color:#142e45;
    font-size:22px;
    font-weight:900;
    line-height:1.35;
    letter-spacing:-.035em;
  }
  body[data-quote-step="4"] .order-review,
  body[data-quote-step="4"] .compact-fulfillment-panel,
  body[data-quote-step="4"] .customer-form>.customer-section{
    margin:0;
    padding:17px 13px!important;
    border:1px solid #b7c5cf!important;
    border-top:4px solid #173f68!important;
    border-radius:12px;
    background:#fff;
    box-shadow:0 4px 12px #1736530a;
  }
  body[data-quote-step="4"] .order-review>.field-title,
  body[data-quote-step="4"] .customer-section>.field-title{margin-bottom:13px}
  body[data-quote-step="4"] .order-review h3,
  body[data-quote-step="4"] .compact-fulfillment-panel h3,
  body[data-quote-step="4"] .customer-section .field-title h3{
    margin:0;
    color:#18364f;
    font-size:18px;
    font-weight:900;
    line-height:1.3;
    letter-spacing:-.025em;
  }
  body[data-quote-step="4"] .field-title p,
  body[data-quote-step="4"] .field-help,
  body[data-quote-step="4"] .password-help{
    color:#667887;
    font-size:12.5px;
    line-height:1.55;
  }
  body[data-quote-step="4"] .customer-section .field-title p{margin:5px 0 0}
  body[data-quote-step="4"] .compact-fulfillment-panel{
    display:grid;
    gap:0;
    padding-top:2px!important;
    padding-bottom:2px!important;
  }
  body[data-quote-step="4"] .compact-fulfillment-panel>.field-group{
    margin:0;
    padding:16px 0!important;
    border:0!important;
    border-bottom:1px solid #d4dde4!important;
    background:#fff;
  }
  body[data-quote-step="4"] .compact-fulfillment-panel>.field-group:last-child{border-bottom:0!important}
  body[data-quote-step="4"] .date-picker-field{
    margin-top:11px;
    border-color:#aebdc8;
    background:#fff;
  }
  body[data-quote-step="4"] .choice-cards button{
    border-color:#b8c5cf;
    background:#fff;
    color:#233e55;
  }
  body[data-quote-step="4"] .choice-cards button.selected{
    border-color:#275dab;
    background:#edf4fc;
    box-shadow:inset 0 0 0 1px #275dab;
  }
  body[data-quote-step="4"] .optional-detail-field{
    margin:0;
    padding:0!important;
    border:0!important;
  }
  body[data-quote-step="4"] .optional-detail-field details{
    margin:0;
    border:1px solid #b7c5cf;
    border-radius:12px;
    background:#fff;
  }
  body[data-quote-step="4"] .optional-detail-field summary{min-height:58px;padding:13px 14px}
  body[data-quote-step="4"] .optional-detail-field summary b{color:#233e55;font-size:14px}
  body[data-quote-step="4"] .customer-form{display:grid;gap:14px}
  body[data-quote-step="4"] .customer-grid{gap:15px}
  body[data-quote-step="4"] .customer-grid label{gap:7px}
  body[data-quote-step="4"] .customer-grid label>span,
  body[data-quote-step="4"] .password-grid label>span{
    color:#2d465b;
    font-size:13px;
    font-weight:850;
  }
  body[data-quote-step="4"] .customer-grid input,
  body[data-quote-step="4"] .password-grid input{
    border-color:#aebdc8;
    border-radius:9px;
    background:#fff;
    color:#172c3e;
    font-size:15px;
  }
  body[data-quote-step="4"] .customer-grid input::placeholder,
  body[data-quote-step="4"] .password-grid input::placeholder{color:#8997a2}
  body[data-quote-step="4"] .lookup-password{border-top-color:#355f7e!important}
  body[data-quote-step="4"] .final-agreement,
  body[data-quote-step="4"] .submit-notice{
    margin:0;
    border:1px solid #b7c5cf;
    border-radius:12px;
    background:#fff;
  }
  body[data-quote-step="4"] .final-agreement{padding:15px 13px}
  body[data-quote-step="4"] .final-agreement b{color:#203d55;font-size:13px}
  body[data-quote-step="4"] .final-agreement small{color:#697b89;font-size:11.5px;line-height:1.5}
  body[data-quote-step="4"] .submit-notice{
    gap:5px;
    padding:14px 13px;
    border-color:#9eb4c5;
    background:#eaf1f7;
  }
  body[data-quote-step="4"] .submit-notice b{color:#173f68;font-size:13px}
  body[data-quote-step="4"] .submit-notice span{color:#566c7d;font-size:11.5px;line-height:1.5}
  body[data-quote-step="4"] .customer-field-status.required{color:#df654f!important}
  body[data-quote-step="4"] .customer-field-status.optional{color:#71818e!important}
}

@media(max-width:800px){
  .form-footer{
    height:calc(78px + env(safe-area-inset-bottom))!important;
    padding-bottom:env(safe-area-inset-bottom)!important;
  }
}

/* Step 4 mobile review: the order and artwork are the primary information. */
@media(max-width:800px){
  body[data-quote-step="4"] .order-review-list{gap:18px}
  body[data-quote-step="4"] .order-review-item{border-color:#9eafbc;border-radius:8px;box-shadow:none}
  body[data-quote-step="4"] .review-product-head{grid-template-columns:72px minmax(0,1fr) auto;gap:12px;padding:14px;background:#eef3f6;border-bottom:2px solid #9eafbc}
  body[data-quote-step="4"] .review-product-head img{width:72px;height:72px;border-radius:6px}
  body[data-quote-step="4"] .review-product-head small{font-size:13px}
  body[data-quote-step="4"] .review-product-head h4{margin:3px 0;font-size:18px;line-height:1.4}
  body[data-quote-step="4"] .review-product-head p{font-size:14px}
  body[data-quote-step="4"] .review-product-head>b{font-size:17px}
  body[data-quote-step="4"] .review-color-block{display:block;padding:15px 14px 16px}
  body[data-quote-step="4"] .review-color-block+.review-color-block{border-top:2px solid #aebbc5}
  body[data-quote-step="4"] .review-color-block>header{gap:9px;margin-bottom:14px;padding-bottom:11px;border-bottom:1px solid #cbd5dc}
  body[data-quote-step="4"] .review-color-block>header i{width:16px;height:16px;flex-basis:16px;border-radius:50%;border:2px solid #9eabb5;box-shadow:0 0 0 2px #fff}
  body[data-quote-step="4"] .review-color-block>header i::after{content:none}
  body[data-quote-step="4"] .review-color-block>header strong{font-size:16px}
  body[data-quote-step="4"] .review-color-block>header b{font-size:16px}
  body[data-quote-step="4"] .review-mockups{grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:12px;margin:0 0 15px}
  body[data-quote-step="4"] .review-mockup>div{border-color:#b6c3cc;border-radius:7px;background:#f7f9fa}
  body[data-quote-step="4"] .review-mockup figcaption{margin-top:7px;color:#42596b;font-size:14px;font-weight:700}
  body[data-quote-step="4"] .review-size-summary,
  body[data-quote-step="4"] .review-design-summary{display:grid;grid-template-columns:92px minmax(0,1fr);gap:10px;padding:12px 0;border-top:1px solid #ccd6dd}
  body[data-quote-step="4"] .review-size-summary h5,
  body[data-quote-step="4"] .review-design-summary h5{margin:2px 0 0;color:#3d5568;font-size:14px}
  body[data-quote-step="4"] .review-size-summary span{padding:7px 10px;border-color:#c8d2d9;border-radius:4px;background:#f4f6f7}
  body[data-quote-step="4"] .review-size-summary b,
  body[data-quote-step="4"] .review-size-summary em{font-size:14px}
  body[data-quote-step="4"] .review-design-summary span{font-size:15px;line-height:1.5}
  body[data-quote-step="4"] .review-design-summary small{overflow:visible;font-size:13px;line-height:1.5;text-overflow:clip;white-space:normal}
  body[data-quote-step="4"] .review-order-note{margin:0 14px 15px;padding:12px;border-left-width:4px}
  body[data-quote-step="4"] .review-order-note strong{font-size:14px}
  body[data-quote-step="4"] .review-order-note p{font-size:15px;line-height:1.6}
  body[data-quote-step="4"] .review-edit-actions{padding-top:12px}
  body[data-quote-step="4"] .review-edit-actions button{min-height:42px;font-size:14px}

  body[data-quote-step="4"] .fulfillment-grid{gap:18px}
  body[data-quote-step="4"] .fulfillment-grid h3{font-size:16px}
  body[data-quote-step="4"] .fulfillment-grid .choice-cards{gap:0;border:1px solid #b7c4cd;border-radius:7px;overflow:hidden;background:#fff}
  body[data-quote-step="4"] .fulfillment-grid .choice-cards button,
  body[data-quote-step="4"] .compact-fulfillment-panel .fulfillment-grid .choice-cards button{min-height:44px;padding:8px 5px;border:0;border-right:1px solid #cbd4da;border-radius:0;background:#fff;box-shadow:none}
  body[data-quote-step="4"] .fulfillment-grid .choice-cards button:last-child{border-right:0}
  body[data-quote-step="4"] .fulfillment-grid .choice-cards button.selected,
  body[data-quote-step="4"] .compact-fulfillment-panel .fulfillment-grid .choice-cards button.selected{padding:8px 5px;background:#e7eef4;color:#173f68;box-shadow:inset 0 -3px #275d8a}
  body[data-quote-step="4"] .fulfillment-grid .choice-cards button strong{font-size:14px}
  body[data-quote-step="4"] .fulfillment-grid .choice-cards button span{display:none}

  body[data-quote-step="4"] .customer-section .field-title h3{font-size:19px}
  body[data-quote-step="4"] .customer-section .field-title p{font-size:14px}
  body[data-quote-step="4"] .customer-grid label>span,
  body[data-quote-step="4"] .password-grid label>span{font-size:14px}
  body[data-quote-step="4"] .customer-grid input,
  body[data-quote-step="4"] .password-grid input{height:50px;font-size:16px}
  body[data-quote-step="4"] .password-help{font-size:13px}
}

/* Short mobile viewports: keep all Step 3 decision buttons above browser UI. */
@media(max-width:800px) and (max-height:700px){
  body[data-quote-step="3"] [data-step-panel="3"] .placement-canvas-shell{
    height:clamp(220px,calc(var(--tv-visible-vh,100dvh) - 320px),300px)!important;
  }
  body[data-quote-step="3"] [data-step-panel="3"] .placement-canvas-shell>.supplied-shirt-map{
    height:clamp(200px,calc(var(--tv-visible-vh,100dvh) - 340px),280px)!important;
  }
}

/* Compact quote close: small rectangular visual, reliable 44px touch area. */
@media(max-width:800px){
  .quote-header>[data-quote-close]{
    position:relative!important;
    display:grid!important;
    place-items:center!important;
    box-sizing:border-box!important;
    width:44px!important;
    min-width:44px!important;
    max-width:44px!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  .quote-header>[data-quote-close]::before{
    content:"";
    position:absolute;
    width:28px;
    height:28px;
    border:1px solid #ffffff73;
    border-radius:5px;
    background:#ffffff0d;
  }
  .quote-header>[data-quote-close] span{
    position:absolute;
    z-index:1;
    display:grid;
    place-items:center;
    width:28px;
    height:28px;
    font:400 22px/1 Arial,sans-serif;
    text-align:center;
    transform:none;
  }
  .quote-header>[data-quote-close] small{display:none!important}
}

/* Product detail close matches the compact square system without a double box. */
@media(max-width:800px){
  .product-detail-layer>[data-product-detail-close]{
    display:grid!important;
    place-items:center!important;
    width:44px!important;
    min-width:44px!important;
    max-width:44px!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:transparent!important;
    font-size:0!important;
    box-shadow:none!important;
    outline:0!important;
  }
  .product-detail-layer>[data-product-detail-close]::before{
    content:"";
    position:absolute;
    width:30px;
    height:30px;
    border:1px solid #b8c6d0;
    border-radius:5px;
    background:#fff;
  }
  .product-detail-layer>[data-product-detail-close]::after{
    content:"×";
    position:absolute;
    z-index:1;
    display:grid;
    place-items:center;
    width:30px;
    height:30px;
    color:#3c5366;
    font:400 21px/1 Arial,sans-serif;
    text-align:center;
    transform:none;
  }
}
@media(max-width:700px){
  html[data-view-mode="phone"] .garment-style-options button.selected{border-color:#202b31!important;box-shadow:inset 0 0 0 2px #202b31!important}
  html[data-view-mode="phone"] .garment-style-options .has-garment-art.selected::before{content:'✓ 선택됨';display:block!important;position:absolute;inset:12px 12px auto auto!important;width:auto;height:auto;padding:6px 10px;border:0;border-radius:6px;background:#202b31;color:#fff;font:700 13px/1.3 sans-serif;z-index:5;pointer-events:none}
}
@media(max-width:700px){
  html[data-view-mode="phone"] .matched-compact-grid .matched-product-info>strong{line-height:1.2}
  html[data-view-mode="phone"] .matched-compact-grid .matched-product-info>small{margin-top:2px;line-height:1.2}
}
