:root{font-family:Arial,"Noto Sans TC","Microsoft JhengHei",sans-serif;color:#202921;background:#fff;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button,a,label,summary{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button,select,summary{cursor:pointer}button{background:#fff;border:1px solid #cbd3c8;border-radius:8px;padding:9px 14px;min-height:44px}button:hover{border-color:#304c3a;background:#f2f5ef}button:active{transform:translateY(1px)}button:disabled{opacity:.55;cursor:wait}a:hover{text-decoration:underline}input,textarea,select{border:1px solid #cbd3c8;border-radius:7px;background:#fff;padding:9px 11px;min-height:44px;max-width:100%}input:focus,textarea:focus,select:focus{outline:2px solid #48664f;outline-offset:2px}button:focus-visible,a:focus-visible,summary:focus-visible,.upload-button:focus-within{outline:2px solid #48664f;outline-offset:3px}input[type=checkbox]{min-height:0;width:18px;height:18px;accent-color:#304c3a}fieldset{border:0;margin:0;padding:0;min-width:0}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.order-header{display:flex;align-items:center;gap:24px;min-height:76px;border-bottom:1px solid #e1e5df;padding:12px 28px}.order-header>a:first-child{font-size:15px}.brand{display:flex;align-items:end;gap:12px;font-weight:700;font-size:20px}.brand img{display:block}.order-header nav{margin-left:auto;display:flex;gap:24px;font-weight:700}.order-frame{max-width:940px;margin:22px auto 40px;border:1px solid #cbd3c8;border-radius:12px;overflow:hidden}.heading{display:flex;align-items:center;gap:16px;padding:14px 18px;border-bottom:1px solid #e3e7e0}.heading h1{font-size:23px;margin:0}.heading>span{color:#657067;font-size:14px}.color-label{margin-left:auto;display:flex;align-items:center;gap:10px;font-size:14px}.views{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:6px 14px 12px}.views figure{margin:0;min-width:0;text-align:center}.views img,.views canvas{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}.views figcaption{font-size:14px;color:#657067}.edit-panel{background:#f5f7f2;border-top:1px solid #e3e7e0;padding:12px 18px}.tabs{display:flex;gap:8px;margin-bottom:10px}.tabs button{background:transparent;min-height:40px;font-size:15px}.tabs button[aria-selected=true]{background:#e7eee1;border-color:#4c644d;font-weight:700}.fields{display:flex;gap:12px;align-items:end}.fields>label:not(.upload-button){display:flex;align-items:center;gap:10px;flex:1;min-width:0;font-size:14px;white-space:nowrap}.fields input{width:100%;min-width:0}.upload-button{position:relative;display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;background:white;border:1px solid #cbd3c8;border-radius:7px;cursor:pointer;font-size:15px;white-space:nowrap}.order-bar{display:flex;align-items:center;gap:14px;padding:14px 18px}.quantity,.unknown{display:flex;align-items:center;gap:7px;font-size:14px;white-space:nowrap}.quantity input{width:76px}.price{display:flex;flex-direction:column;gap:3px;margin-left:8px}.price strong{font-size:24px}.price small{font-size:12px;color:#687269}.primary{background:#263d2e;color:white;border-color:#263d2e;font-weight:700;padding:11px 20px}.primary:hover{background:#36533f;color:#fff}#continue{margin-left:auto}#contact-panel{border-top:1px solid #e1e5df;padding:14px 18px}.contact-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.contact-fields label{display:flex;flex-direction:column;gap:7px;font-size:14px}.field-error{font-size:13px;color:#ae3930}.field-error:empty{display:none}details{margin-top:12px}summary{color:#647065;font-size:14px;padding:6px 0}details .contact-fields{padding:10px 0}.send-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px}.send-row small{color:#687269}#status{margin:0;padding:12px 18px;color:#784334;background:#fff8ee}#receipt{padding:22px;text-align:center}#receipt h2{font-size:24px;margin:0 0 12px}
#receipt-id{font-size:18px;font-weight:700;letter-spacing:.04em}
#receipt-id small{display:block;margin-top:4px;font-size:11px;font-weight:400;letter-spacing:0;color:#888;word-break:break-all}#receipt button,#receipt a{margin:8px;display:inline-block}.minor{display:flex;gap:18px;padding:10px 18px;border-top:1px solid #edf0e9;font-size:13px;color:#687269}.minor a:first-child{margin-right:auto}@media(max-width:640px){.order-header{gap:14px;padding:10px 14px;min-height:62px}.brand img{width:80px;height:auto}.brand span{font-size:15px}.order-header nav{display:none}.order-header>a:first-child{font-size:14px}.order-frame{margin:12px 10px 24px}.heading{gap:8px;flex-wrap:wrap;padding:12px}.heading h1{font-size:21px}.heading>span{font-size:12px;order:3;width:100%}.color-label{font-size:0;gap:0}.color-label select{font-size:16px;min-height:40px}.views{display:block;padding:0 8px 8px}.views figure{display:none}.views[data-face=front] [data-view=front],.views[data-face=back] [data-view=back]{display:block}.views figcaption{font-size:13px}.edit-panel{padding:10px 12px}.tabs{margin-bottom:8px}.tabs button{flex:1;font-size:15px}.fields{flex-wrap:wrap;gap:8px}.fields>label:not(.upload-button){flex:1 1 100%;gap:8px;white-space:nowrap}.fields input,.contact-fields input{font-size:16px}.upload-button{min-height:40px}.order-bar{padding:12px;gap:10px;flex-wrap:wrap}.quantity input{width:67px}.price{margin-left:auto;text-align:right}.price strong{font-size:22px}.price small{font-size:11px}#continue{width:100%;margin:0}.contact-fields{grid-template-columns:1fr;gap:12px}#contact-panel{padding:12px}.send-row{display:block}.send-row .primary{width:100%;margin-top:10px}.minor{padding:10px 12px}.unknown{font-size:13px;gap:3px}.order-header .brand{gap:7px}.order-header .brand span{display:none}}@media(prefers-reduced-motion:reduce){button:active{transform:none}}
/* Compact product controls restore the two original entrances. */
.product-controls{display:flex;align-items:center;gap:8px;margin-left:auto;min-width:0}.product-controls button{display:flex;align-items:center;justify-content:center;gap:10px;border-radius:24px;font-size:14px;padding:8px 13px;white-space:nowrap}#color-swatch{width:15px;height:15px;flex-shrink:0;border:1px solid #bfc8ba;border-radius:50%;background:#242729}.selection-menu{width:min(500px,calc(100% - 28px));max-height:calc(100dvh - 32px);padding:18px;border:1px solid #cbd3c8;border-radius:14px;color:#202921;overflow:auto}.selection-menu::backdrop{background:#20292155}.menu-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}.menu-head h2{font-size:19px;margin:0;flex:1}.menu-head button{font-size:24px;min-width:44px;padding:4px 10px}.garment-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.choice[aria-pressed=true]{background:#e8eee2;border-color:#456348;box-shadow:inset 0 0 0 1px #456348}.garment-options .choice{text-align:left;display:flex;flex-direction:column;gap:6px;min-height:80px}.garment-options small{font-size:12px;color:#627365}.garment-options strong{font-size:16px}#selected-color{margin:0 0 12px;font-size:14px;color:#657067}.color-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.color-options .choice{display:flex;align-items:center;flex-direction:column;gap:7px;min-width:0;padding:9px 3px;font-size:13px}.swatch{width:27px;height:27px;border:1px solid #bbc4b7;border-radius:50%;flex-shrink:0}.menu-done{display:block;margin:16px 0 0 auto;min-width:88px}.heading{flex-wrap:wrap}.heading>span{font-size:12px}@media(max-width:640px){.heading>span{order:0;width:auto;margin-left:auto}.product-controls{width:100%;margin-left:0}.product-controls button{font-size:14px;min-height:42px}.product-controls #garment-open{flex:1;justify-content:space-between}.product-controls #color-open{flex-shrink:0}.selection-menu{padding:14px}.menu-head h2{font-size:17px}.garment-options strong{font-size:15px}.color-options{gap:6px}}
.selection-menu[open]{display:flex;flex-direction:column}.selection-menu .menu-head,.selection-menu .menu-done,.selection-menu #selected-color{flex-shrink:0}.selection-menu .color-options{min-height:0;overflow-y:auto;overscroll-behavior:contain}
.selection-menu .color-options{grid-auto-rows:minmax(72px,max-content);align-content:start}
.product-controls #garment-open{min-width:0}#garment-selection{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.fields textarea{width:100%;min-width:0;resize:vertical;min-height:44px;max-height:100px;line-height:24px;padding:9px 11px;font-size:16px}.fields{flex-wrap:wrap}.fields>label:not(.upload-button){flex:1 1 240px}
.fields>.field-error{flex:1 1 100%;margin-top:-4px;white-space:normal}
.product-reference{flex:1 1 100%;display:flex;justify-content:flex-end;gap:8px}
.product-reference button{border:1px solid #cbd3c8;background:#fff;border-radius:20px;padding:6px 14px;font-size:14px;color:#202921;cursor:pointer}
.product-reference button:hover{border-color:#456348;background:#f3f6ef}
.garment-note{font-size:13px;color:#627365}
.garment-price{font-size:13px;font-weight:700;color:#2f5a35}
.garment-more{flex-shrink:0;margin:10px 2px 0;font-size:13px;line-height:1.6;color:#687269}
.garment-more a{color:#202921;font-weight:700}
.reference-dialog{width:min(560px,calc(100% - 28px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #cbd3c8;border-radius:16px;color:#202921;background:#fffdf8}
.reference-dialog[open]{display:flex;flex-direction:column}
.reference-dialog::backdrop{background:#20292166}
.reference-head{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid #ece9df;flex-shrink:0}
.reference-head h2{margin:0;font-size:20px}
.reference-name{padding:3px 10px;border:1px solid #d7dccf;border-radius:8px;background:#eef2ea;font-size:15px;font-weight:700}
.reference-close{margin-left:auto;width:38px;height:38px;border:0;border-radius:50%;background:#eef0ea;font-size:20px;cursor:pointer}
.reference-body{padding:12px 16px 18px;overflow:auto;overscroll-behavior:contain}
.reference-body h3{margin:6px 0 8px;font-size:20px}
.reference-intro{margin:0 0 6px;line-height:1.7;color:#59645b}
.reference-benefits h4{margin:14px 0 4px;font-size:16px}
.reference-benefits p{margin:0;line-height:1.6;color:#59645b}
.reference-benefits .reference-popular{margin-top:12px;font-weight:700;color:#456348}
.reference-facts-title{margin:20px 0 4px;font-size:16px}
.reference-facts{margin:0}
.reference-facts div{display:grid;grid-template-columns:72px 1fr;gap:12px;padding:10px 0;border-top:1px solid #ece9df}
.reference-facts dt{color:#687269}
.reference-facts dd{margin:0}
.reference-facts small{display:block;margin-top:3px;color:#687269}
.reference-tabs{display:flex;gap:20px;margin-bottom:4px;border-bottom:1px solid #e3e7e0}
.reference-tabs button{padding:8px 2px;border:0;border-bottom:2px solid transparent;background:none;font-size:15px;color:#687269;cursor:pointer}
.reference-tabs button[aria-selected=true]{border-bottom-color:#202921;font-weight:700;color:#202921}
.reference-view table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.reference-view th,.reference-view td{padding:9px 6px;border-bottom:1px solid #ece9df;font-size:14px;text-align:center}
.reference-view thead th{font-weight:400;color:#687269}
.reference-view th[scope=row],.reference-view thead th:first-child{text-align:left}
.reference-view th small{margin-left:6px;font-weight:400;color:#8a938b}
.reference-note{margin:8px 0 0;font-size:13px;color:#687269}
.reference-state{line-height:1.6;color:#59645b}
@media(max-width:640px){.product-reference{justify-content:flex-start}}

.send-row small a{color:inherit;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}

#front-fields { flex-wrap:wrap; }
#logo-format-note { flex:0 0 100%; margin:0; color:#49584d; font-size:13px; line-height:1.55; text-align:right; }
#logo-format-note a { color:inherit; text-decoration:underline; text-underline-offset:2px; }
@media(max-width:640px){ #logo-format-note { text-align:left; } }
