:root{--ink:#263d33;--muted:#798078;--line:#dedfd6;--paper:#fafbf7;--cream:#f2f1e9}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font:14px/1.5 -apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Noto Sans KR',sans-serif}button,input,select{font:inherit;color:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;background:none;border:1px solid var(--line);padding:10px 13px;border-radius:4px;transition:background .15s,border-color .15s}button:hover{border-color:#7d8c7e}button:disabled{opacity:.42;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #43684d;outline-offset:3px}a{color:inherit;text-decoration:none}button[hidden]{display:none}.site-header{height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;border-bottom:1px solid var(--line);background:#fafaf6;gap:30px}.brand{font:26px Georgia,serif;letter-spacing:3px;white-space:nowrap}.brand span{display:block;font:8px sans-serif;letter-spacing:4px;margin-top:6px}.shop-nav{display:flex;align-items:center;gap:34px;height:100%}.shop-nav a{font-size:13px;height:100%;display:flex;align-items:center;border-bottom:2px solid transparent}.shop-nav a[aria-current]{border-color:var(--ink);font-weight:650}.header-actions{display:flex;gap:8px}.header-actions button{font-size:12px;border:0}.header-actions #cart-open{background:#e9ede6}#cart-count{font-size:10px;background:var(--ink);color:white;border-radius:50%;padding:2px 5px;margin-left:4px}main{display:grid;grid-template-columns:minmax(0,1fr) 440px;height:calc(100dvh - 88px);min-height:620px}#stage{position:relative;overflow:hidden;background-color:#e2d4bd;background-image:linear-gradient(110deg,#fffaf38c,#faf3e740 55%,#d8bf9b38),url('../machosuit-assets/textures/machosuit-oak-tile-background.webp');background-size:100% 100%,1100px auto;background-position:center}#stage canvas{position:absolute;inset:0;display:block;width:100%;height:100%;touch-action:none}.stage-caption{position:absolute;top:31px;left:34px;z-index:1;pointer-events:none}.eyebrow{font-size:9px;letter-spacing:2.2px;color:#7b806d}.stage-caption .eyebrow{color:#796b54}.stage-caption h1{font-size:28px;font-weight:400;letter-spacing:-1.1px;line-height:1.4;margin:15px 0 12px}.stage-caption p{font-size:11px;color:#887b65}.stage-top{position:absolute;top:26px;right:26px;display:flex;align-items:center;gap:13px}.live{font-size:10px;color:#5e6c56;white-space:nowrap}.live i{display:inline-block;width:5px;height:5px;border-radius:100%;background:#63815c;margin-right:4px}.stage-top button{background:#fafaf0dd;border-color:#fff9;font-size:11px}.stage-bottom{position:absolute;bottom:17px;left:50%;transform:translateX(-50%);width:max-content;max-width:95%;text-align:center}#status{font-size:11px;color:#5e6555;min-height:17px;margin:0 0 12px}.view-tools{display:flex;background:#fffdf6ed;padding:5px;border:1px solid #fff9;border-radius:7px;gap:2px;box-shadow:0 4px 20px #33251505}.view-tools button{border:0;font-size:11px;white-space:nowrap;padding:9px 15px}.view-tools button.active,.view-tools button[aria-pressed=true]{background:#e4e9dd}.view-tools span{width:1px;background:var(--line);margin:8px}.gesture{font-size:10px;margin:10px 0 0;color:#85765e}.designer{display:flex;flex-direction:column;min-height:0;border-left:1px solid var(--line);background:var(--paper)}.product-heading{padding:26px 26px 17px}.breadcrumb{color:#888e83;font-size:10px}.breadcrumb span{padding:0 7px;color:#b1b7aa}.product-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.product-title h2{font-size:25px;letter-spacing:-.9px;font-weight:500;margin:0}.tag{font-size:8px;letter-spacing:.7px;border:1px solid #cdd4c6;padding:4px 6px;white-space:nowrap}.product-heading p{font-size:12px;color:#898e81;margin:9px 0 0}#tabs{display:flex;flex-shrink:0;border-bottom:1px solid var(--line);padding:0 16px}#tabs button{flex:1;border:0;border-bottom:2px solid transparent;border-radius:0;padding:15px 0 12px;font-size:12px;color:#8a8d81}#tabs button.active{color:var(--ink);border-bottom-color:var(--ink);font-weight:650}#options{flex:1;min-height:0;overflow:auto;padding:22px 26px 26px;scrollbar-width:thin;scrollbar-color:#cfd5c9 transparent}.section-title{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:13px}.section-title h3{font-size:14px;font-weight:600;margin:0}.section-title small{font-size:10px;color:#94998b}.option-group+.option-group{margin-top:25px;padding-top:22px;border-top:1px solid var(--line)}.note{font-size:11px;line-height:1.8;color:#898f82;margin:9px 0 16px}.fabric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px 10px}.fabric-card{padding:0;border:0;text-align:left;min-width:0}.fabric-card .fabric-img{height:82px;display:block;position:relative;border:1px solid #dddfd4;border-radius:4px;background-size:cover;background-position:center}.fabric-card strong{font-size:11px;font-weight:500;display:block;margin-top:7px;white-space:nowrap;letter-spacing:-.35px}.fabric-card small{display:block;font-size:9px;color:#8c9388;margin-top:2px}.fabric-card.active .fabric-img{outline:2px solid #3a5944;outline-offset:2px}.fabric-card.active .fabric-img:after,.option-card.active:after{content:'✓';position:absolute;right:5px;top:5px;width:17px;height:17px;background:var(--ink);color:white;border-radius:50%;text-align:center;line-height:17px;font-size:10px}.fabric-info{margin-top:23px;background:#f0f2eb;border:1px solid #e3e6dc;padding:16px;border-radius:4px}.fabric-info strong{font-size:13px;font-weight:500}.fabric-info p{font-size:11px;color:#818877;margin:6px 0 0}.icon-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.option-card{position:relative;padding:9px 4px 10px;background:#fff;border-color:#e0e3d9;text-align:center;min-width:0;border-radius:4px}.option-card img{display:block;width:100%;height:63px;object-fit:contain;margin:0 auto 6px;mix-blend-mode:multiply}.option-card span{display:block;font-size:10px;letter-spacing:-.3px}.option-card.active{border-color:#4c6852;box-shadow:inset 0 0 0 1px #4c6852;background:#f1f4eb}.option-card.active:after{width:14px;height:14px;line-height:14px;right:4px;top:4px;font-size:8px}.segments{display:flex;gap:6px}.segments button{flex:1;font-size:11px;padding:10px 4px;background:#fff}.segments button.active{background:var(--ink);border-color:var(--ink);color:#fff}.check{display:flex;align-items:center;gap:9px;margin-top:15px;font-size:12px}.check input{accent-color:var(--ink);width:16px;height:16px}.small-field{margin-top:17px}.small-field>label{display:block;font-size:11px;margin-bottom:7px}.small-field select,.small-field input{width:100%;border:1px solid var(--line);background:#fff;padding:10px;border-radius:4px;min-width:0}.button-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}.button-card{height:48px;padding:7px;background:#fff;border-color:#e1e5d9;position:relative}.button-card img{width:100%;height:100%;object-fit:contain}.button-card.active{border:2px solid #3a5944;background:#e9eee3}.subheading{font-size:11px;font-weight:500;color:#8a9081;margin:16px 0 8px}.thread-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}.thread-grid button{height:30px;padding:0;border-radius:50%;width:30px;justify-self:center;box-shadow:inset 0 0 0 3px var(--paper);border:1px solid #ccd1c4}.thread-grid button.active{outline:2px solid var(--ink);outline-offset:2px}.contrast-row{display:grid;grid-template-columns:1fr 145px;gap:10px;align-items:center;padding:9px 0}.contrast-row label{font-size:12px}.contrast-row select{font-size:11px;width:100%;border:1px solid var(--line);padding:9px 5px;background:#fff;border-radius:3px}.measurement-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.measurement-grid input:invalid{border-color:#b6634b}.purchase{padding:17px 26px 12px;border-top:1px solid var(--line);background:#f8faf4;flex-shrink:0}.selection-line{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:14px}.selection-line button{border:0;font-size:10px;padding:0;color:#7c8576}.purchase-row{display:flex;gap:10px;align-items:stretch}.quantity{border:1px solid var(--line);display:flex;align-items:center;padding:0 9px;font-size:11px;gap:6px;border-radius:3px}.quantity input{width:40px;border:0;background:transparent;padding:9px 0}.primary{display:flex;justify-content:space-between;align-items:center;background:var(--ink);color:white;border-color:var(--ink);font-size:13px;padding:13px 16px;border-radius:3px}.primary:hover{background:#355441}.purchase .primary{flex:1}.purchase-note{font-size:9px;color:#93998c;margin:9px 0 0}.purchase-note:before{content:'· ';}#toast{position:fixed;left:50%;bottom:25px;z-index:10;transform:translate(-50%,20px);background:#263d33ed;color:#fff;padding:12px 22px;border-radius:5px;opacity:0;pointer-events:none;font-size:12px;transition:.2s;max-width:90%;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid var(--line);border-radius:8px;padding:26px;width:520px;max-width:calc(100% - 30px);max-height:85dvh;color:var(--ink);background:var(--paper)}dialog::backdrop{background:#15221880;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.dialog-heading h2{font-size:22px;margin:5px 0}.dialog-heading button{border:0}.summary-row{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid var(--line);font-size:12px;gap:14px}.summary-row span:first-child{color:#8a8f82}.summary-row span:last-child{text-align:right}dialog>.primary{width:100%;margin-top:20px}.cart-item{border-bottom:1px solid var(--line);padding:17px 0;display:flex;gap:13px}.cart-item img{width:75px;height:80px;object-fit:cover;border-radius:4px}.cart-item div{flex:1}.cart-item strong{font-size:13px}.cart-item p{font-size:11px;color:#828b7b;margin:5px 0}.cart-item button{font-size:10px;padding:5px 8px;margin:3px 4px 0 0}.empty{padding:30px 0;text-align:center;color:#8a9183;font-size:13px}
@media(min-width:1550px){main{grid-template-columns:minmax(0,1fr) 480px}.stage-caption{left:46px;top:38px}.stage-caption h1{font-size:33px}.fabric-card .fabric-img{height:100px}.option-card img{height:78px}}
@media(max-width:1050px){main{grid-template-columns:minmax(0,1fr) 375px}.site-header{padding:0 24px;gap:18px}.shop-nav{gap:21px}.stage-caption{left:23px;top:29px}.stage-caption h1{font-size:23px}.stage-caption p{display:none}.stage-top{right:17px;top:25px}.live{display:none}.product-heading{padding:23px 20px 16px}.product-title h2{font-size:22px}.tag{font-size:7px}#options{padding:21px 20px}.purchase{padding:15px 20px}.fabric-card .fabric-img{height:70px}.fabric-card strong{font-size:10px}.view-tools button{padding:9px 11px}}
@media(max-width:720px){.site-header{height:70px;padding:0 16px;gap:10px;flex-wrap:wrap}.brand{font-size:20px;letter-spacing:2px}.brand span{font-size:6px;letter-spacing:2.9px}.shop-nav{gap:13px}.shop-nav a{font-size:11px}.header-actions{gap:0}.header-actions #save{display:none}.header-actions button{font-size:11px;padding:8px}main{display:flex;flex-direction:column;height:auto;min-height:0}#stage{height:57dvh;min-height:350px;max-height:560px;position:sticky;top:0;z-index:2;border-bottom:1px solid #d6ceb9}.stage-caption{top:17px;left:18px}.stage-caption .eyebrow{font-size:7px;letter-spacing:1.5px}.stage-caption h1{font-size:19px;margin-top:9px}.stage-top{top:15px;right:15px}.stage-top button{font-size:10px;padding:7px 9px}.stage-bottom{bottom:11px}.gesture{display:none}#status{margin-bottom:7px;font-size:9px}.view-tools{padding:3px}.view-tools button{padding:8px 11px;font-size:10px}.designer{border-left:0;min-height:570px}.product-heading{padding:20px 20px 15px}.product-title h2{font-size:23px}#options{overflow:visible;padding:21px 20px 25px;min-height:290px}.purchase{position:sticky;bottom:0;z-index:3;box-shadow:0 -4px 20px #263d3308;padding:12px 20px 10px}.purchase .selection-line{margin-bottom:9px}.fabric-card .fabric-img{height:95px}.fabric-card strong{font-size:11px}.option-card img{height:78px}#tabs button{padding:12px 0}.purchase-note{font-size:9px}.stage-caption h1{max-width:120px}#toast{bottom:125px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

#stage[data-focus="detail"] .stage-caption{opacity:0}

@media(max-width:720px){
 html,body{height:100%;overflow:hidden}
 .site-header{flex-wrap:nowrap;flex-shrink:0}
 main{height:calc(100dvh - 70px);min-height:0;overflow:hidden}
 #stage{position:relative;top:auto;height:43%;min-height:240px;max-height:none;flex:0 0 43%}
 .designer{flex:1;min-height:0;overflow:hidden}
 .product-heading{display:none}
 #tabs{flex-shrink:0}
 #options{overflow-y:auto;min-height:0;flex:1;overscroll-behavior:contain;padding:16px 18px}
 .purchase{position:relative;bottom:auto;flex-shrink:0;padding:10px 18px 8px}
 .stage-caption h1{font-size:17px}
}

/* Shared large square stone tiles. */
#stage{background-color:#e6e3dd;background-image:linear-gradient(90deg,#f9f8f1 0 2px,#c8c5bd 2px 3px,transparent 3px),linear-gradient(#f9f8f1 0 2px,#c8c5bd 2px 3px,transparent 3px),linear-gradient(135deg,#ffffff38,#bfbab012);background-size:480px 480px,480px 480px,100% 100%;background-position:center center}@media(max-width:720px){#stage{background-size:340px 340px,340px 340px,100% 100%}}

/* Match the suit configurator: compact left tree and square option cards. */
main{grid-template-columns:480px minmax(0,1fr);min-height:540px}
.designer{grid-column:1;grid-row:1;min-width:0;border-left:0;border-right:1px solid var(--line);overflow:hidden}
#stage{grid-column:2;grid-row:1;min-width:0}
.product-heading{padding:22px 22px 17px;border-bottom:1px solid var(--line)}
.product-title{margin-top:7px}.product-title h2{font-size:24px;font-weight:600}.tag{display:none}
.product-heading p{font-size:11px}
.option-browser{display:grid;grid-template-columns:124px minmax(0,1fr);min-height:0;flex:1}
#shirt-nav{overflow:auto;border-right:1px solid #e1e5db;padding:14px 8px 18px 12px;scrollbar-width:thin}
.option-branch{margin-bottom:10px}.option-branch summary{font-size:13px;font-weight:700;padding:10px 4px;cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between}
.option-branch summary::-webkit-details-marker{display:none}.option-branch summary:after{content:'+';color:#8c9785;font-size:16px;font-weight:400}.option-branch[open] summary:after{content:'−'}
.option-branch summary:focus-visible{outline:2px solid #43684d;outline-offset:2px}
.tree-children{border-left:1px solid #d1d9ca;margin:0 0 6px 6px;padding-left:6px}
.tree-option{border:0;display:block;width:100%;text-align:left;padding:9px 4px 9px 7px;position:relative;background:transparent;border-radius:0;font-size:11px;color:#737d6c;line-height:1.45;word-break:keep-all}
.tree-option small{display:block;font-size:9px;margin-top:3px;color:#949c8b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tree-option.active{background:#eaf0e4;color:#294b36;font-weight:700}.tree-option.active:before{content:'';position:absolute;left:-10px;top:16px;width:7px;height:7px;background:#426247;border:2px solid var(--paper);border-radius:50%;box-sizing:content-box}
.tree-option.active small{color:#6e8063}.tree-option:hover:not(:disabled){background:#f0f3eb}
#options{padding:20px 16px;min-width:0;overflow:auto;overscroll-behavior:contain}
.option-breadcrumb{margin:0 0 18px;font-size:10px;color:#8a9581;letter-spacing:.3px;outline:0}
#options>.option-group{margin:0 0 24px;padding:0;border:0}#options>.option-group[hidden]{display:none}
.section-title{margin-bottom:15px;gap:8px}.section-title h3{font-size:17px;letter-spacing:-.5px}.section-title small{white-space:nowrap}
.icon-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.option-card{aspect-ratio:1;display:grid;grid-template-rows:minmax(0,1fr) 28px;gap:3px;padding:8px 6px 7px;overflow:hidden}
.option-card img{width:100%;height:100%;min-height:0;object-fit:contain;margin:0;padding:3px}
.option-card span{display:flex;align-items:center;justify-content:center;font-size:11px;line-height:1.35;word-break:keep-all}
.fabric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}.fabric-card .fabric-img{height:auto;aspect-ratio:1.3}
.fabric-card strong{white-space:normal;word-break:keep-all}.button-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.button-card{height:auto;aspect-ratio:1}
.thread-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.contrast-row{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:8px}.contrast-row label{font-size:11px;word-break:keep-all}
.step-navigation{display:flex;gap:8px;border-top:1px solid #e0e5d8;padding-top:20px;margin-top:24px}.step-navigation button{flex:1;font-size:10px;line-height:1.5;padding:9px 3px;background:white}.step-navigation button:last-child{background:#edf2e7}
.purchase{padding:14px 22px 12px}
@media(min-width:721px) and (max-width:1200px){main{grid-template-columns:440px minmax(0,1fr)}.option-browser{grid-template-columns:120px minmax(0,1fr)}#options{padding:18px 14px}.stage-caption{left:22px;top:25px}.stage-caption h1{font-size:22px}.stage-caption p{display:none}.view-tools button{padding:9px 9px}}
@media(max-width:720px){
 main{min-height:0}.designer{border-right:0;border-top:1px solid var(--line)}
 .option-browser{grid-template-columns:108px minmax(0,1fr)}#shirt-nav{padding:10px 6px 12px 8px}#options{padding:16px 12px}
 .tree-option{font-size:10px;padding:8px 3px 8px 6px}.tree-option small{font-size:8px}.option-branch summary{font-size:12px}
 .section-title h3{font-size:15px}.section-title small{font-size:9px}.option-breadcrumb{font-size:9px;margin-bottom:14px}
 .option-card{padding:6px 3px;grid-template-rows:minmax(0,1fr) 27px}.option-card span{font-size:10px}.option-card img{padding:1px}
 .fabric-card strong{font-size:10px}.fabric-info{padding:11px}.button-grid{gap:6px}.button-card{padding:5px}
 .thread-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.segments{flex-wrap:wrap}.segments button{font-size:10px}
 .contrast-row{grid-template-columns:1fr;gap:4px}.measurement-grid{grid-template-columns:1fr}
 .purchase{padding:10px 16px 8px}.purchase-note{font-size:8px}
}
