:root{font-family:Arial,Helvetica,sans-serif;color:#19282a;background:#f6f7f6;font-synthesis:none;--ink:#19282a;--orange:#d75b29}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #d75b29;outline-offset:4px}header{height:86px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #dce0df}.wordmark{color:var(--ink);text-decoration:none;display:flex;align-items:center;gap:12px;font-size:14px;font-weight:800;letter-spacing:1.7px}.mark{background:var(--ink);color:#dfa26f;padding:7px 10px;border-radius:8px;font-size:22px;letter-spacing:0}.header-note{font-size:14px;color:#5c6667}main{max-width:1520px;margin:auto;padding:48px 5% 44px;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(350px,1fr);gap:52px}.eyebrow{color:#aa4c25;font-weight:700;font-size:12px;letter-spacing:2px;margin:0 0 15px}h1{font-size:clamp(40px,4.2vw,64px);letter-spacing:-2.6px;line-height:1.04;margin:0;font-weight:800}.intro>p:last-child{color:#5c6667;line-height:1.6;margin-bottom:25px}.preview-wrap{background:white;border:1px solid #e2e5e3;border-radius:16px;overflow:hidden;position:relative}.preview-top{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:22px 24px 0;font-size:13px;color:#5c6667}.pill{font-size:11px;letter-spacing:1.4px;border:1px solid #cbd2cf;border-radius:5px;padding:7px 9px;color:#415452}canvas{display:block;width:100%;height:auto;aspect-ratio:1.2;max-height:520px;object-fit:contain}#asset-status{position:absolute;top:45%;text-align:center;width:100%;font-size:14px}.preview-caption{padding:15px 24px 21px;display:flex;gap:12px;align-items:center;justify-content:space-between;font-size:13px;border-top:1px solid #f1f2f1}.text-button{border:0;background:none;text-decoration:underline;text-underline-offset:4px;color:#5d6767;font-size:13px;padding:5px 0;white-space:nowrap}.disclaimer{font-size:12px;line-height:1.6;color:#697372;margin:15px 2px 0;max-width:650px}.designer{align-self:start;background:#fff;border:1px solid #dde2df;border-radius:16px;padding:27px 27px 0;box-shadow:0 12px 35px #132c2310}.panel-heading{display:flex;align-items:center;justify-content:space-between}.panel-heading h2{font-size:25px;letter-spacing:-.7px;margin:0 0 24px}.panel-heading>span{font-size:12px;letter-spacing:1px;color:#7c8685;margin-bottom:24px}.tabs{display:flex;border-bottom:1px solid #dce1de;margin-bottom:28px;gap:12px}.tabs button{flex:1;padding:12px 0 15px;border:0;border-bottom:3px solid transparent;background:none;font-size:14px;color:#6a7472}.tabs button[aria-selected=true]{color:var(--ink);font-weight:700;border-bottom-color:var(--orange)}h3{font-size:16px;margin:0 0 9px}p.subtle{font-size:13px;line-height:1.55;color:#65716d;margin:0 0 20px}.style-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:28px}.style-choice{padding:9px 10px 14px;border:1px solid #d8dfda;border-radius:10px;background:white;text-align:left;min-width:0}.style-choice img{display:block;width:100%;height:112px;object-fit:contain}.style-choice strong{font-size:14px;display:block;margin:8px 0 5px}.style-choice span{font-size:12px;color:#6b7672}.style-choice.selected{border:2px solid #37594e;padding:8px 9px 13px;background:#f7faf8}.label-row{display:flex;justify-content:space-between;align-items:center;margin:24px 0 12px;font-size:14px}.label-row h3{margin:0}.label-row span,.label-row output{font-size:13px;color:#68746f}.swatches{display:flex;gap:12px;flex-wrap:wrap}.swatch{width:39px;height:39px;border:3px solid white;border-radius:50%;box-shadow:0 0 0 1px #ccd3ce;padding:0;position:relative}.swatch[aria-pressed=true]{box-shadow:0 0 0 2px #25483d}.swatch[aria-pressed=true]:after{content:'✓';color:white;font-weight:bold;text-shadow:0 1px 3px black;position:absolute;inset:0;display:grid;place-items:center}.leather .swatch{width:54px;height:45px;border-radius:8px}.leather+p{margin-top:12px}.tip{background:#f1f5f2;padding:17px 18px;border-radius:8px;margin:27px 0 22px}.tip strong{font-size:13px}.tip p{font-size:13px;line-height:1.55;margin:6px 0 0;color:#56645d}.primary{width:100%;background:var(--ink);color:white;border:0;border-radius:8px;padding:15px 12px;font-size:14px;font-weight:700}.primary:hover{background:#314b45}.next{background:#edf2ee;color:#263f34;border:1px solid #d7e0d9;margin-top:4px}.next:hover{background:#dce8df}.shape-options{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0 23px}.shape-options button{background:white;border:1px solid #cdd8d0;border-radius:7px;padding:13px;font-size:14px}.shape-options .selected{background:#edf4ef;border:2px solid #345846;padding:12px}.check{display:flex;gap:10px;align-items:center;font-size:14px;line-height:1.45;margin:18px 0}.check input{width:18px;height:18px;accent-color:#294d3a;flex-shrink:0}input[type=range]{width:100%;accent-color:#2e4c3f;margin:0 0 16px}.upload-zone{border:1.5px dashed #a1b4a6;border-radius:10px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:9px;padding:23px 14px;background:#f8faf8;cursor:pointer}.upload-zone strong{font-size:15px;max-width:100%;overflow-wrap:anywhere}.upload-zone>span{font-size:12px;color:#68796c}.upload-zone .upload-icon{font-size:25px;color:#2e503c}.upload-zone input{max-width:100%;font-size:12px;margin-top:8px}.privacy{margin-top:12px!important}#upload-status,#save-status{font-size:13px;line-height:1.5;color:#92401e;overflow-wrap:anywhere}.notes-label{font-size:14px;display:flex;justify-content:space-between;margin:25px 0 10px;font-weight:700}.notes-label span{font-size:12px;color:#68766f;font-weight:400}textarea{border:1px solid #bdccc2;border-radius:8px;width:100%;padding:12px;font-size:14px;line-height:1.5;resize:vertical;margin-bottom:8px}.save-area{margin-top:25px;border-top:1px solid #e3e8e3;padding:23px 0 18px}.save-area strong{font-size:15px}.save-area p{font-size:13px;color:#67756d;line-height:1.5;margin:6px 0 16px}.save{background:#c95628}.save:hover{background:#a74620}.save:disabled{opacity:.5;cursor:wait}.save-area .fine{text-align:center;font-size:11px;margin:11px 0 0}footer{max-width:1520px;margin:auto;padding:25px 5%;border-top:1px solid #dce3dd;display:flex;justify-content:space-between;gap:18px;color:#738078;font-size:11px;letter-spacing:.6px}[hidden]{display:none!important}@media(min-width:1200px){.designer{margin-top:5px}.workspace{max-width:800px}}@media(max-width:900px){main{gap:25px;padding:30px 4%;grid-template-columns:minmax(0,1fr) minmax(320px,.95fr)}.designer{padding:22px 20px 0}h1{font-size:44px}.preview-top{padding:16px 14px 0}.preview-caption{padding:14px;flex-wrap:wrap}}@media(max-width:720px){header{height:70px;padding:0 5%}.header-note{display:none}.wordmark{font-size:11px;letter-spacing:1.2px}main{display:block;padding:28px 5%}.intro h1{font-size:39px;letter-spacing:-1.6px}.intro h1 br{display:none}.intro>p:last-child{font-size:14px;margin:12px 0 20px}.eyebrow{font-size:10px}.preview-wrap{border-radius:12px}canvas{max-height:350px}.designer{margin-top:28px}.disclaimer{font-size:11px}.preview-caption{font-size:12px}.preview-top{font-size:12px}.pill{font-size:9px}footer{flex-direction:column;font-size:10px}.style-choice img{height:120px}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s,box-shadow .15s}}
.buy{margin:0 0 10px;background:#bd4e23}.save{background:#fff;color:#2d4637;border:1px solid #c7d5ca}.save:hover{background:#edf3ee}dialog{max-width:670px;width:calc(100% - 30px);max-height:90vh;overflow:auto;border:1px solid #d8e2db;border-radius:16px;padding:30px;color:#20362b;box-shadow:0 25px 90px #14221a55}dialog::backdrop{background:#15261fc0}dialog h2{font-size:28px;letter-spacing:-.8px;margin:8px 25px 12px 0}dialog>p{font-size:14px;line-height:1.6;color:#5b6d60}.close-dialog{float:right;border:0;background:#edf2ee;width:34px;height:34px;border-radius:50%;font-size:24px}.review-banner{display:flex;flex-direction:column;gap:6px;font-size:13px;line-height:1.5;padding:16px;background:#fff3e5;border-radius:8px;margin:20px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid label{font-size:14px}.form-grid label span{color:#738577;font-size:12px}.form-grid input{width:100%;margin:8px 0 0;border:1px solid #bdccc2;border-radius:7px;padding:12px;min-width:0;font-size:16px}dialog .fine{font-size:12px;line-height:1.6}#email-review{margin-top:28px;padding-top:24px;border-top:1px solid #d8e2da}#email-body{font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6;background:#f3f6f2;padding:16px;border-radius:8px}.recipient{font-size:13px;overflow-wrap:anywhere}#inquiry-image{display:block;width:100%;max-height:430px;object-fit:contain;margin-bottom:20px}.disabled-send{background:#e4e8e4;color:#667468;cursor:not-allowed}#download-inquiry{margin-bottom:10px}@media(max-width:480px){dialog{padding:22px}.form-grid{grid-template-columns:1fr}}
/* Private configurator refinements */
:root{background:#f7f5f1;--orange:#ab582f}button,input,textarea,select{font:inherit}select,input:not([type=checkbox]):not([type=range]):not([type=file]){border:1px solid #bdc7bf;background:white;color:var(--ink);border-radius:7px;padding:12px;width:100%;min-width:0}select{width:100%;margin:8px 0 18px;border:1px solid #bdc7bf;padding:12px;border-radius:7px;background:white;color:var(--ink)}.material-tabs{display:flex;gap:8px;margin:15px 0 8px}.material-tabs button{flex:1;border:1px solid #bdc7bf;background:white;padding:12px 7px;border-radius:8px;font-size:14px}.material-tabs .selected{background:#233e33;color:white}.dimensions{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:20px 0 12px}.dimensions label{font-size:14px}.dimensions input{margin-top:8px}.preview-actions{display:flex;gap:24px;padding:12px 2px}.swatch:disabled{opacity:.35;cursor:not-allowed}.leather .swatch{width:36px;height:32px}.leather{gap:9px;margin:0 0 15px}.comparison{display:grid;grid-template-columns:1fr 1fr;gap:12px}.comparison figure{margin:0;border:1px solid #ddd;border-radius:8px;overflow:hidden}.comparison img{width:100%;height:120px;object-fit:contain;padding:10px;cursor:zoom-in;background:#f4f3ef}.comparison figcaption{text-align:center;padding:8px;font-size:14px;border-top:1px solid #ddd}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.form-grid select{margin:8px 0 0;font-size:16px}.primary:disabled{opacity:.5;cursor:not-allowed}.workspace{align-self:start;position:sticky;top:25px}.disclaimer,.subtle,.fine,.text-button,.save-area p{font-size:14px!important}.pill{font-size:12px}.intro h1{font-size:clamp(38px,3.6vw,56px)}.shape-options button{min-height:44px}.swatch{min-width:36px;min-height:36px}.upload-zone.dragging{background:#e6eddf;border-color:#294d3a}.owner-main{display:block;max-width:950px}.owner-card{background:white;padding:24px;border:1px solid #ddd;border-radius:12px;margin:20px 0}.owner-card pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.6}.owner-card button{margin:6px;padding:10px}.owner-main h1{font-size:36px}.owner-login{display:flex;gap:12px;max-width:600px;margin:24px 0}.owner-login button{width:auto;white-space:nowrap}@media(max-width:720px){.workspace{position:static}.preview-wrap{position:relative}main{padding-top:20px}.intro h1{font-size:35px}.intro h1 br{display:none}canvas{max-height:285px}.designer{margin-top:18px}.preview-caption{font-size:13px}.preview-actions{gap:20px}.swatch{min-width:40px;min-height:40px}}

.patch-align{display:flex;gap:8px;margin:14px 0}.patch-align button{flex:1;min-height:44px;background:white;border:1px solid #bdc7bf;border-radius:7px;color:var(--ink)}.patch-align .selected{background:#233e33;color:white;border-color:#233e33}.height-ends{display:flex;justify-content:space-between;font-size:14px;color:#65716d;margin:-10px 0 16px}

#hat-colors{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;max-height:220px;overflow:auto;padding:4px}.hat-color-choice{padding:0;border:2px solid #e3e6e2;border-radius:7px;background:white;min-width:0;min-height:52px;overflow:hidden}.hat-color-choice img{display:block;width:100%;height:auto}.hat-color-choice[aria-pressed=true]{border-color:#233e33;box-shadow:0 0 0 1px #233e33}#color-name{max-width:70%;text-align:right}.style-grid[hidden]{display:none}

.hat-color-choice{aspect-ratio:1;position:relative}.hat-color-choice img{position:absolute;width:133.333%;max-width:none;height:auto;left:-16.667%;top:-11.111%}

#preview{cursor:zoom-in}#preview-lens{position:absolute;z-index:3;pointer-events:none;max-height:none;aspect-ratio:1;border:2px solid #fff;border-radius:50%;box-shadow:0 4px 22px #19282a55,0 0 0 1px #19282a55;background:white;object-fit:fill}@media(hover:none){#preview{cursor:default}}

.shape-options button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:76px}.shape-options button svg{width:44px;height:30px;flex:none}.shape-options button span{line-height:1.2}

#patch-dimensions[hidden]{display:none}#contour-controls{margin-top:20px}

.artwork-detail{display:block;width:100%;padding:0;border:1px solid #dce0df;border-radius:8px;background:white;cursor:zoom-in}.artwork-detail img{display:block;width:100%;border:0}.artwork-detail:focus-visible{outline:3px solid #243b32;outline-offset:3px}

/* Color tiles: fixed row height and object-fit instead of aspect-ratio plus absolute positioning, which Safari renders with overlapping photos. */
.hat-colors{grid-auto-rows:64px}.hat-color-choice{aspect-ratio:auto;height:64px;min-height:0;position:relative;display:block;overflow:hidden;isolation:isolate}.hat-color-choice img{position:static;display:block;width:100%;height:100%;max-width:100%;object-fit:cover;object-position:50% 48%}

/* Hat style selector and out-of-stock colors. */
.style-toggle{display:flex;gap:8px;margin:0 0 22px}.style-toggle button{flex:1;padding:12px 8px;border:1px solid #bdc7bf;border-radius:8px;background:#fff;font-size:14px;color:var(--ink)}.style-toggle button.selected{background:#233e33;color:#fff;border-color:#233e33}.hat-color-choice.out,.hat-color-choice:disabled{opacity:.3;cursor:not-allowed;filter:grayscale(1)}
.secondary.buy{width:100%;background:#fff;color:var(--ink);border:1.5px solid var(--ink);border-radius:8px;padding:13px 12px;font-size:14px;font-weight:700;cursor:pointer}
.secondary.buy:hover{background:#f1f4f1}
.secondary.buy:disabled{opacity:.5;cursor:not-allowed}
.sample-code{margin-top:12px;font-size:13px}
.sample-code summary{cursor:pointer;color:#314b45;font-weight:600}
.sample-code-row{display:flex;gap:8px;margin-top:8px}
.sample-code-row input{flex:1;min-width:0;padding:9px 10px;border:1px solid #cfd8cf;border-radius:6px;font:inherit;text-transform:uppercase}
.sample-code-row button{padding:9px 14px;border:0;border-radius:6px;background:var(--ink);color:#fff;font-weight:700;cursor:pointer}
.sample-code p{margin:8px 0 0!important;font-size:12px!important}
