:root{--ink:#191716;--muted:#77716d;--line:#e9e4df;--cream:#faf8f5;--terracotta:#aa6655}
*{box-sizing:border-box}.store{color:var(--ink);background:#fff}.store button,.detail-panel button,.bag-panel button{font-family:inherit;cursor:pointer}.store-intro{background:linear-gradient(115deg,#f7f3ec,#faf8f5 70%,#f3e8df);text-align:center;padding:68px 20px 62px}.eyebrow{font-weight:750;font-size:11px;letter-spacing:.19em;text-transform:uppercase;color:#a16c5a}.store-intro h1{font-size:clamp(44px,7vw,78px);line-height:1.03;letter-spacing:-.052em;font-weight:760;margin:16px 0 22px}.store-intro h1 em{color:#ab6b59;font-family:Georgia,serif;font-weight:400}.store-intro p{max-width:550px;margin:0 auto;color:#6d645d;font-size:17px;line-height:1.7}.price-pills{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin:28px auto}.price-pills span{border:1px solid #e9dcd1;background:#fffcf9;border-radius:100px;padding:10px 17px;font-size:12px}.intro-link{color:#28221e;font-weight:750;display:inline-block;margin-top:12px;text-decoration:underline;text-underline-offset:5px}.collection{max-width:1370px;margin:0 auto;padding:50px 28px 90px}.collection-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.collection-header h2{font-size:clamp(28px,3.2vw,43px);margin:12px 0}.collection-header p{color:var(--muted);margin:0}.cart-button{white-space:nowrap;border:1px solid #201c1b;background:white;color:var(--ink);border-radius:100px;padding:13px 22px;font-weight:750}.cart-button span{display:inline-grid;place-items:center;background:#241d1a;color:white;min-width:23px;height:23px;border-radius:100%;margin-left:8px}.catalog-tools{display:flex;gap:15px;margin-top:30px}.catalog-tools .search{flex:1;display:flex;align-items:center;border:1px solid #e5e0da;border-radius:12px;padding:0 17px;background:#fff}.catalog-tools .search span{font-size:25px;color:#8e8882}.catalog-tools input{flex:1;min-width:0;border:none;padding:16px 11px;font-size:15px;outline:none;background:transparent;color:#292420}.catalog-tools select{border:1px solid #e5e0da;border-radius:12px;background:#fff;padding:0 14px;color:#292420}.filters{display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin;white-space:nowrap;padding:23px 0 12px}.filter{background:white;border:1px solid #e8e2dc;border-radius:100px;padding:9px 16px;font-size:12px;color:#6d635d}.filter.selected{background:#251e1c;border-color:#251e1c;color:#fff}.catalog-note{font-size:12px;color:#857f79;margin:8px 0 20px}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.product-card{border:1px solid #ece7e2;border-radius:14px;overflow:hidden;background:#fff;min-width:0;transition:box-shadow .2s ease,transform .2s ease}.product-card:hover{box-shadow:0 10px 30px #201a1410;transform:translateY(-2px)}.product-image{display:flex;justify-content:center;align-items:center;width:100%;height:273px;position:relative;border:0;background:#f8f7f5;padding:15px}.product-image img{max-width:100%;max-height:100%;object-fit:contain;mix-blend-mode:multiply}.placeholder-product{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;height:100%;color:#aca49e;font-size:12px;text-align:center}.placeholder-icon{font-size:78px;line-height:1;color:#ded8d1}.product-info{padding:16px 16px 18px}.product-tag{text-transform:uppercase;letter-spacing:.11em;font-size:10px;color:#ab7463;font-weight:750}.product-name{font-size:15px;font-weight:750;text-align:left;border:0;background:transparent;padding:7px 0 10px;color:#272220;line-height:1.4;min-height:60px}.product-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:2px}.product-price{font-size:19px;font-weight:800}.style-id{font-size:11px;color:#9a9591}.card-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:15px}.card-actions button{padding:12px 6px;font-size:12px;font-weight:800;background:white;color:#342a25;border:1px solid #d6cec7;border-radius:8px}.card-actions button.filled{background:#27211e;color:#fff;border-color:#27211e}.card-actions button:hover,.primary-btn:hover{filter:brightness(1.17)}.empty{text-align:center;padding:40px;color:var(--muted)}.bottom-message{display:flex;justify-content:space-between;gap:30px;align-items:center;background:#282220;color:white;padding:45px max(28px,calc((100vw - 1314px)/2))}.bottom-message h2{font-size:31px;margin:10px 0}.bottom-message p{color:#d4c7bd;margin:0}.bottom-message a{border:1px solid #aea29a;color:white;border-radius:100px;padding:14px 23px;white-space:nowrap;text-decoration:none}.dialog-open{overflow:hidden}.modal-backdrop{position:fixed;inset:0;background:#171310a8;z-index:1000}.detail-panel,.bag-panel{position:fixed;inset:0 0 0 auto;width:min(950px,100vw);background:#fff;overflow-y:auto;z-index:1001;box-shadow:-10px 0 50px #0002;padding:26px 34px 40px;color:var(--ink)}.bag-panel{width:min(500px,100vw);display:flex;flex-direction:column}.detail-panel[hidden],.bag-panel[hidden],.modal-backdrop[hidden],#designControls[hidden],#checkoutBox[hidden],#printLayer[hidden],.manual-color[hidden],#fallbackMockup[hidden]{display:none!important}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:25px}.panel-head h2{font-size:26px;margin:5px 0 0;line-height:1.2}.close{border:1px solid #e6e0da;width:40px;height:40px;border-radius:50%;background:#fff;font-size:17px;flex-shrink:0}.detail-layout{display:grid;grid-template-columns:1fr 1fr;gap:29px}.detail-left{min-width:0}.live-mockup{position:relative;width:100%;background:#f7f5f2;border:1px solid #ede7e1;border-radius:16px;aspect-ratio:1/1.12;overflow:hidden;display:grid;place-items:center}.photo-wrap{width:100%;height:100%;display:grid;place-items:center;padding:20px}.photo-wrap>img{max-width:100%;max-height:100%;object-fit:contain;mix-blend-mode:multiply}.fallback-mockup{position:absolute;inset:0}.print-layer{position:absolute;z-index:3;left:34%;top:36%;width:32%;height:22%;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none;overflow:hidden;text-align:center;filter:contrast(1.03)}.print-layer img{max-width:100%;max-height:100%;object-fit:contain}.overlay-words{overflow-wrap:anywhere;color:#ae3d3d;font-size:clamp(10px,1.6vw,20px);font-weight:900;line-height:1.05}.live-mockup[data-print="large"] .print-layer{left:28%;top:31%;width:44%;height:32%}.live-mockup[data-kind="hat"] .print-layer{left:32%;top:43%;width:36%;height:12%}.live-mockup[data-kind="hat"][data-print="large"] .print-layer{left:27%;width:46%;top:40%;height:19%}.live-mockup[data-kind="pants"] .print-layer{left:36%;top:47%;width:24%;height:12%}.live-mockup[data-kind="bag"] .print-layer{left:33%;top:36%;width:34%;height:25%}.live-mockup[data-kind="bag"][data-print="large"] .print-layer{left:25%;top:31%;width:50%;height:38%}.mini-note{font-size:12px;line-height:1.6;color:#7e7772;margin:8px 0 12px}.thumbs{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.thumbs button{width:65px;height:65px;display:grid;place-items:center;background:#faf8f5;border:1px solid #eee3de;border-radius:9px}.thumbs img{width:100%;height:100%;object-fit:contain}.detail-price{display:flex;align-items:center;justify-content:space-between;font-size:14px;border-bottom:1px solid var(--line);padding:4px 0 17px}.detail-price strong{font-size:25px}.option-group{margin-top:21px}.option-heading{display:block;font-size:13px;font-weight:800;margin-bottom:10px}.option-heading span{color:#777;font-weight:500;padding-left:8px}.swatches{display:flex;flex-wrap:wrap;gap:6px;max-height:152px;overflow-y:auto}.swatch{min-height:32px;display:inline-flex;align-items:center;gap:6px;padding:5px 8px;background:#fff;border:1px solid #e5e0dc;border-radius:20px;font-size:11px}.swatch.on{border:2px solid #352821;background:#fff9f3}.swatch-dot{display:inline-block;width:17px;height:17px;border:1px solid #0002;border-radius:50%;flex-shrink:0}.swatch-text{max-width:99px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.manual-color label{display:block;font-size:12px;margin:12px 0 6px}.detail-panel input:not([type=file]),.detail-panel select,.bag-panel input,.bag-panel textarea{width:100%;border:1px solid #dfd8d1;border-radius:9px;background:#fff;padding:11px;font-size:14px;color:#292420}.detail-panel input[type=file]{font-size:12px;width:100%;border:1px dashed #ccc1b9;padding:13px;border-radius:9px}.detail-panel #qty{width:115px}.custom-selector{border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.choice-row{display:flex;gap:9px}.choice{flex:1;padding:11px 9px;border:1px solid #e4dbd4;background:white;border-radius:9px;color:#3b3531;font-weight:650;font-size:12px}.choice.active{background:#292320;color:white;border-color:#292320}.price-breakdown{border-top:1px solid var(--line);margin-top:25px;padding-top:10px}.price-breakdown>div,.bag-bottom .grand{display:flex;justify-content:space-between;gap:20px;padding:7px 0;font-size:13px}.grand{border-top:1px solid var(--line);margin-top:12px;padding-top:18px!important;font-size:17px!important;font-weight:800}.primary-btn{display:block;border:none;width:100%;background:#a35e49;color:white;padding:16px 12px;border-radius:10px;font-weight:850;font-size:14px;margin-top:14px}.primary-btn:disabled{opacity:.45;cursor:not-allowed}.bag-items{flex:1}.bag-item{display:flex;justify-content:space-between;gap:18px;padding:18px 0;border-bottom:1px solid var(--line)}.bag-item h3{font-size:15px;margin:6px 0 7px}.bag-item p{font-size:12px;color:var(--muted);line-height:1.5;margin:3px 0}.remove{background:transparent;border:0;padding:8px 0;text-decoration:underline;color:#ad5b44;font-size:12px}.bag-bottom{border-top:1px solid var(--line);padding-top:15px}.bag-bottom label{display:block;font-size:12px;font-weight:750;margin:12px 0 6px}.bag-bottom h3{font-size:15px;margin-top:20px}.bag-bottom a{color:#954d38}.empty-bag{text-align:center;color:#9a9088;padding:30px 0}.success-order{padding:20px 0}.success-order h3{color:#37644c}
@media(max-width:1100px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-image{height:220px}.product-info{padding:12px}.product-name{font-size:13px}.collection{padding:30px 14px 60px}.bottom-message{padding:30px 20px}.detail-panel{padding:21px 18px}.detail-layout{grid-template-columns:1fr}.detail-left{max-width:470px;margin:auto;width:100%}.live-mockup{aspect-ratio:1/1}.bag-panel{padding:21px 18px}.store-intro{padding:55px 16px}}
@media(max-width:490px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.product-image{height:175px}.product-info{padding:10px}.product-price{font-size:16px}.product-name{min-height:65px}.card-actions{grid-template-columns:1fr}.card-actions button{padding:9px}.catalog-tools{flex-direction:column}.catalog-tools select{padding:13px}.collection-header h2{font-size:27px}.bottom-message{flex-direction:column;align-items:flex-start}}

/* Explicit color picker; matching photos change as color variants are selected. */
.color-select{width:100%;max-width:100%;min-height:46px;border:1px solid #cfc7c4;border-radius:10px;background:#fff;padding:10px 14px;color:#231b1c;font:inherit;margin:8px 0 10px}
.swatches{max-height:184px;overflow-y:auto;scrollbar-width:thin;padding:5px 1px 7px}
.swatch:focus-visible,.color-select:focus-visible{outline:3px solid #a04562;outline-offset:2px}
.product-image img{width:100%;height:100%;object-fit:contain;background:#fff}
.product-image{background:#fff}
.product-image img,.photo-wrap img{color:transparent}
.product-image img[hidden]{display:none}

/* Front/back customization studio */
.preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}
.preview-toolbar .option-heading{margin:0}.side-preview-buttons{min-width:164px}.side-preview-buttons .choice{padding:10px}
.preview-side-badge{position:absolute;top:12px;left:12px;background:#fffcf2ee;border:1px solid #e5dfd5;color:#57442e;font-size:10px;font-weight:800;letter-spacing:.12em;padding:7px 10px;border-radius:20px;z-index:7}
.design-canvas{position:absolute;inset:0;z-index:5;pointer-events:none}
.design-item{position:absolute;display:grid;place-items:center;transform:translate(-50%,-50%);touch-action:none;user-select:none;cursor:grab;pointer-events:auto;outline:1px dashed #68463199;outline-offset:5px;border-radius:3px;min-height:20px}
.design-item:active{cursor:grabbing}.design-item:focus-visible{outline:3px solid #986634;outline-offset:6px}
.design-item img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;mix-blend-mode:multiply}
.text-item{width:max-content;max-width:66%;font-family:Arial,Helvetica,sans-serif;text-align:center;font-weight:900;line-height:1.1;white-space:pre-wrap;overflow-wrap:anywhere;padding:1px;text-shadow:0 0 1px #0008}
.design-item[hidden],.design-canvas[hidden]{display:none!important}
.side-edit-head{margin-top:18px;padding:12px 14px;border-left:4px solid #ae7652;background:#faf4eb;font-size:12px;letter-spacing:.03em}
.text-color-row{display:grid;grid-template-columns:auto 64px auto 1fr;align-items:center;gap:8px;margin-top:10px;font-size:12px;font-weight:700}
.detail-panel .text-color-row #textColor{width:58px;height:42px;padding:3px;cursor:pointer}
.detail-panel input[type=range]{width:100%;min-height:20px;accent-color:#a35e49;padding:0;border:0;cursor:pointer}
.position-controls label{font-size:12px;font-weight:700;display:block;margin-bottom:6px}.subtle-button{padding:8px 0;border:0;background:none;text-decoration:underline;color:#795545;font-size:12px;margin:7px 0}
.print-side-choice .choice{padding:11px 4px;font-size:11px}
#supplierProductLink{color:#895539;font-weight:650;text-underline-offset:3px}
@media(max-width:490px){.preview-toolbar{align-items:center}.side-preview-buttons{min-width:142px}.text-color-row{grid-template-columns:auto 52px auto minmax(80px,1fr)}.detail-panel .text-color-row #textColor{width:48px}}

/* Rear-view rotation and independent personalization fields */
.photo-wrap{transition:transform .16s ease-in,opacity .16s ease-in;backface-visibility:hidden;transform-style:preserve-3d}
.live-mockup.mockup-turning .photo-wrap{transform:rotateY(90deg);opacity:.18}
.live-mockup.mockup-turning .design-canvas{opacity:0}
.design-canvas{transition:opacity .12s}
.photo-wrap>img[src^="data:image/svg+xml"]{width:100%;max-height:100%;mix-blend-mode:normal;filter:drop-shadow(1px 8px 9px rgba(30,20,12,.1))}
.add-on-price{float:right;font-size:12px;color:#976342;background:#fbf2e9;border-radius:40px;padding:4px 8px;font-weight:850}
.personalization-option{border:1px solid #eee5dc;border-radius:12px;padding:13px;background:#fffcf8}
.personalization-option .option-heading{line-height:24px;min-height:26px}
.personalization-option input[type=color]{border-radius:8px}
.number-item{font-family:Arial Black,Impact,Arial,sans-serif;font-weight:950;letter-spacing:.015em}
.price-breakdown>div[hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){.photo-wrap,.design-canvas{transition:none!important}}

.scan-rule{padding:13px 15px;background:#f8f2e9;border:1px solid #e4d6be;color:#574636;border-radius:10px;font-size:12px;font-weight:600;margin:18px 0 6px;line-height:1.6}
.size-scan-result{background:#f4f6f2;border-left:3px solid #9a7847;border-radius:5px;padding:12px;margin-top:10px;font-size:12px;line-height:1.6}
.size-scan-result.warn{background:#fff4ee;border-left-color:#ba6947}
.shipping-status{font-size:13px;line-height:1.5;padding:13px;margin-top:12px;border-radius:9px;background:#f5f2ed;color:#5c5044}

/* Artwork scanner + garment preview refinements */
.mockup-options{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.mockup-options .choice{flex:1;min-width:130px}
.mockup-garment-label{font-weight:750;color:#665146;margin-top:9px;margin-bottom:1px;text-transform:capitalize}
.size-scan-result.ready{background:#edf8f1;border-left-color:#378157}
.design-item img{mix-blend-mode:normal} /* Keep white ink and transparent artwork accurate in mockup */

/* Physical-size-aware print artwork, measured against a garment body width. */
.artwork-item{min-height:0;min-width:0;padding:0;box-sizing:border-box}
.artwork-item img{width:100%;height:100%;object-fit:contain;display:block}
.mockup-measure{position:absolute;right:10px;bottom:10px;z-index:9;background:rgba(255,255,255,.94);color:#49372e;font-size:11px;line-height:1.3;font-weight:800;border:1px solid #cfc1b5;border-radius:9px;padding:7px 9px;pointer-events:none;box-shadow:0 2px 7px rgba(0,0,0,.06);max-width:calc(100% - 20px)}
.mockup-measure[hidden]{display:none!important}
