@font-face{font-family:Mikhak;src:url('/assets/Mikhak-Regular.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:Mikhak;src:url('/assets/Mikhak-Medium.ttf') format('truetype');font-weight:500 800;font-display:swap}
:root{--shop-bg:#F4F1E9;--shop-panel:#FAF8F2;--shop-ink:#263F3F;--shop-muted:#696F67;--shop-line:#263F3F30;--shop-accent:#748B7C;--shop-error:#9A3E37}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;color:var(--shop-ink);background:var(--shop-bg);font-family:Mikhak,Arial,sans-serif;font-size:16px;line-height:1.6}button,input,select,textarea{font:inherit}a{color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:var(--shop-accent);outline-offset:3px}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}input,select,textarea{font-size:16px;max-width:100%}button,select,input:not([type=checkbox]),a.shop-button{min-height:44px}input,select,textarea{border:1px solid var(--shop-line);background:#fffefa;border-radius:5px;padding:10px 12px;color:var(--shop-ink)}textarea{min-height:90px;resize:vertical}.shop-header{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1200px;margin:auto;padding:8px 24px;border-bottom:1px solid var(--shop-line)}.shop-logo{display:flex;align-items:center;flex-shrink:0}.shop-logo img{display:block;object-fit:contain;width:100px;height:54px}.shop-header-links{display:flex;align-items:center;gap:24px}.shop-header-links a,.shop-bottom-nav a{text-decoration:none;padding:12px 4px;font-weight:500}.shop-header-links a[aria-current],.shop-bottom-nav a[aria-current]{color:#164B46;text-decoration:underline;text-underline-offset:8px}.shop-count{font-size:12px;border-radius:20px;background:var(--shop-ink);color:#fff;padding:1px 6px;margin-inline-start:5px}.shop-bottom-nav{display:none}.shop-page{max-width:1120px;margin:0 auto;padding:26px 24px 60px;min-width:0}.shop-page h1{font-size:clamp(24px,4vw,34px);margin:0 0 24px;font-weight:500}.shop-page h2{font-size:20px;font-weight:500;margin:0 0 16px}.shop-panel{padding:24px;border:1px solid var(--shop-line);border-radius:8px;background:var(--shop-panel);min-width:0}.shop-narrow{max-width:560px;margin-inline:auto}.shop-form{display:grid;gap:16px}.shop-field{display:grid;gap:6px;min-width:0}.shop-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.shop-button,.shop-secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--shop-ink);border-radius:5px;padding:10px 18px;text-decoration:none;min-height:46px;font-weight:500}.shop-button{background:var(--shop-ink);color:#fff}.shop-secondary{background:transparent;color:var(--shop-ink)}.shop-actions{display:flex;gap:10px;flex-wrap:wrap}.shop-actions>*{flex:1}.shop-status{color:var(--shop-error);margin:12px 0;min-height:0}.shop-status:empty{display:none}.shop-muted{color:var(--shop-muted)}.shop-list{display:grid;gap:14px}.shop-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}.shop-row>div{min-width:0}.shop-summary{display:grid;gap:8px;margin:0}.shop-summary>div{display:flex;justify-content:space-between;gap:18px}.shop-summary dt,.shop-summary dd{margin:0}.shop-summary .shop-total{font-weight:500;border-top:1px solid var(--shop-line);padding-top:12px;margin-top:4px}.shop-empty{text-align:center;padding:60px 16px}.shop-footer{max-width:1120px;margin:0 auto;padding:18px 24px 32px;border-top:1px solid var(--shop-line);font-size:14px}.shop-product{display:grid;grid-template-columns:1.1fr 1fr;gap:32px;align-items:start}.shop-product-image{aspect-ratio:1;background:#E8E4D8;overflow:hidden;border-radius:6px}.shop-product-image img{width:100%;height:100%;object-fit:contain;display:block}.shop-product-info{display:grid;gap:18px}.shop-product-info h1{margin:0;font-size:27px}.shop-product-price{font-size:23px;margin:0}.shop-colors{display:flex;gap:8px;flex-wrap:wrap}.shop-colors button{min-height:44px;padding:7px 14px;background:transparent;border:1px solid var(--shop-line);border-radius:5px}.shop-colors button[aria-pressed=true]{border:2px solid var(--shop-ink)}.shop-faces{display:flex;gap:8px;margin:10px 0}.shop-faces button{border:0;border-bottom:2px solid transparent;background:transparent;padding:8px 15px}.shop-faces button[aria-pressed=true]{border-color:var(--shop-ink)}.shop-cart-layout,.shop-checkout-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:24px;align-items:start}.shop-cart-item{display:grid;grid-template-columns:100px minmax(0,1fr);gap:18px;padding:18px;border:1px solid var(--shop-line);border-radius:6px}.shop-cart-item img{width:100px;height:120px;object-fit:contain;border-radius:4px;background:#E8E4D8}.shop-cart-item h2{font-size:18px;margin:0 0 7px}.shop-cart-item p{margin:3px 0}.shop-cart-item .shop-actions{margin-top:12px}.shop-cart-item input{width:76px}.shop-plain-action{border:0;background:transparent;text-decoration:underline;padding:8px;min-height:44px}.shop-line-price{font-weight:500}.shop-busy{opacity:.65;pointer-events:none}.shop-page dialog{max-width:440px;width:calc(100% - 28px);padding:22px;border:1px solid var(--shop-line);background:var(--shop-bg);border-radius:8px}.shop-page dialog::backdrop{background:#263F3F70}.shop-page dialog header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.shop-page dialog h2{margin:0}.shop-page dialog header button{border:0;background:transparent;font-size:24px;padding:0 10px}.shop-order-number{direction:ltr;unicode-bidi:isolate;overflow-wrap:anywhere;font-family:inherit}.shop-page hr{border:0;border-top:1px solid var(--shop-line);margin:20px 0}.shop-return{display:inline-block;margin-bottom:18px}.shop-code{direction:ltr;letter-spacing:.35em;text-align:center;font-size:24px}
/* Keep the existing drawings and editor as compact optional tools. */
body[data-shop-view=clothes] .market-main> :not(#garment-service):not(#returning-work){display:none!important}body[data-shop-view=designs] #garment-service,body[data-shop-view=designs] .market-hero,body[data-shop-view=studio] #garment-service,body[data-shop-view=studio] .market-hero{display:none!important}body[data-shop-view] .site-header:not(.shop-header),body[data-shop-view] .mobile-tools,body[data-shop-view] .market-hero,body[data-shop-view] .back-to-market{display:none!important}body[data-shop-view] .market-main{padding-top:22px}body[data-shop-view] #garment-service{margin-top:0;padding-top:0}body[data-shop-view] #garment-service .btg-header{margin-bottom:16px}body[data-shop-view] #garment-service-title{font-size:30px;margin:0}body[data-shop-view] .btg-gallery{gap:18px}body[data-shop-view] .btg-action,body[data-shop-view] .btg-subtitle,body[data-shop-view] [data-btg-section-note],body[data-shop-view] [data-btg-section-note]:not([hidden]){display:none!important}body[data-shop-view] .btg-item{box-shadow:none!important}body[data-shop-view] .btg-item h3{font-size:17px;margin:10px 0 4px}body[data-shop-view] .btg-item .btg-price{font-size:17px}body[data-shop-view] .btg-variant-choices{margin-top:7px}body[data-shop-view] .studio-invitation p,body[data-shop-view] #garment-inspiration>div>p{display:none}body[data-shop-view] .catalog-grid{margin-top:12px}
@media(max-width:700px){body{padding-bottom:72px}.shop-header{padding:5px 16px}.shop-logo img{width:90px;height:48px}.shop-header-links a{display:none}.shop-header-links a[href='/cart/']{display:block;font-size:14px}.shop-bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:100;display:grid;grid-template-columns:repeat(4,1fr);padding:0 8px env(safe-area-inset-bottom);border-top:1px solid var(--shop-line);background:var(--shop-bg)}.shop-bottom-nav a{text-align:center;font-size:14px;min-height:56px;display:flex;align-items:center;justify-content:center;gap:2px}.shop-page{padding:20px 16px 28px}.shop-page h1{font-size:25px;margin-bottom:18px}.shop-panel{padding:18px}.shop-product,.shop-cart-layout,.shop-checkout-layout{grid-template-columns:1fr;gap:20px}.shop-product-image{aspect-ratio:1}.shop-product-info h1{font-size:24px}.shop-cart-item{grid-template-columns:82px minmax(0,1fr);gap:12px;padding:13px}.shop-cart-item img{width:82px;height:105px}.shop-cart-item h2{font-size:16px}.shop-fields{gap:12px}.shop-footer{padding:16px}.shop-actions .shop-button{min-width:150px}body[data-shop-view] .market-main{padding-top:18px}body[data-shop-view] #garment-service-title{font-size:25px}body[data-shop-view] .btg-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}body[data-shop-view] .btg-item h3{font-size:15px}body[data-shop-view] .btg-item .btg-price{font-size:16px}body[data-shop-view] .btg-controls{gap:10px}body[data-shop-view] .btg-variant-choices button{min-height:44px}.shop-row{gap:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*:before,*:after{animation:none!important;transition:none!important}}

body[data-shop-view] .btg-controls button,body[data-shop-view] .btg-controls select,body[data-shop-view] .btg-controls input,body[data-shop-view] .categories button,.shop-drawing-tools button{min-height:44px}.shop-drawing-tools{display:flex;gap:10px;justify-content:flex-end;margin-bottom:14px}.shop-drawing-tools button{border:1px solid var(--shop-line);background:transparent;padding:7px 16px;border-radius:5px}
.btg-pack-cover{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:100%;height:100%;aspect-ratio:1;background:#E8E4D8;border-radius:5px;overflow:hidden}.btg-pack-cover figure{display:grid;place-items:center;margin:0;min-width:0;min-height:0;height:100%;overflow:hidden}.btg-pack-cover img{display:block;width:100%;height:100%;object-fit:contain}.btg-pack-cover span{padding:8px;text-align:center;font-size:12px}.btg-product-link>.btg-pack-cover{height:auto}.shop-cart-item>.btg-pack-cover{width:100px;height:120px;align-self:start}.shop-product-image>.btg-pack-cover{height:100%}
@media(max-width:700px){.shop-cart-item>.btg-pack-cover{width:82px;height:105px}}
.shop-summary dd{min-width:0;overflow-wrap:anywhere}.shop-number-row{display:grid!important;grid-template-columns:minmax(0,1fr);gap:3px!important}.shop-number-row dt{white-space:normal}.shop-number-row .shop-order-number{width:100%;min-width:0;text-align:left;font-size:14px;line-height:1.7;overflow-wrap:anywhere;word-break:break-word}.shop-number-row .shop-order-number::selection{background:#748B7C55}
@media(max-width:700px){#account-orders>.shop-row{align-items:flex-start;flex-wrap:wrap}#account-orders>.shop-row>span:first-child{flex-basis:100%;min-width:0}#account-orders bdi{display:block;max-width:100%;overflow-wrap:anywhere;word-break:break-word}}


/* Owner-approved embroidery-first hierarchy; existing catalog and commerce remain authoritative. */
body[data-shop-view=home],body[data-shop-view=clothes],body[data-shop-page=product]{--embroidery-petrol:#294C50;--embroidery-paper:#F5F1E8;--embroidery-linen:#DED4C1;--embroidery-sage:#6F8378;--embroidery-rose:#D9A6A0;--embroidery-muted:#615E56;--embroidery-line:#294C503d;--shop-bg:var(--embroidery-paper);--shop-ink:var(--embroidery-petrol);background:var(--embroidery-paper);color:var(--embroidery-petrol)}
body[data-shop-view=home] .market-main,body[data-shop-view=clothes] .market-main{width:min(1120px,calc(100% - 64px));padding-top:0}
body[data-shop-view=home] .market-main>:not(#embroidery-first-home):not(#garment-service):not(#returning-work):not(#design-service):not(#embroidery-first-plain){display:none!important}
body[data-shop-view]:not([data-shop-view=home]) #embroidery-first-home,body[data-shop-view]:not([data-shop-view=home]) #embroidery-first-plain{display:none!important}
.shop-header-links{gap:20px;flex-wrap:wrap;justify-content:flex-end}.shop-header-links a{white-space:nowrap;font-size:14px}
.embroidery-first-home{display:grid;grid-template-columns:1fr 1.05fr;align-items:center;gap:32px 60px;padding:40px 0 30px;min-width:0}
.embroidery-first-kicker{display:flex;align-items:center;gap:9px;font-size:13px;color:var(--embroidery-muted);margin:0}.embroidery-first-kicker:before{content:"";width:26px;border-top:1px solid currentColor}
.embroidery-first-copy h1{font-size:clamp(40px,4.6vw,62px);font-weight:500;line-height:1.4;letter-spacing:-1px;margin:12px 0 14px;white-space:normal}.embroidery-first-copy h1 em{font-style:normal;position:relative;isolation:isolate}.embroidery-first-copy h1 em:after{content:"";position:absolute;bottom:7px;right:0;left:0;height:13px;background:var(--embroidery-rose);z-index:-1;transform:rotate(-2deg);opacity:.68}
.embroidery-first-description{max-width:360px;font-size:17px;line-height:1.8;color:var(--embroidery-muted);margin:0}
.embroidery-first-actions{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:23px}.embroidery-first-actions .shop-button{gap:24px;background:var(--embroidery-petrol);color:var(--embroidery-paper);border-color:var(--embroidery-petrol);font-size:16px;min-height:50px;padding:11px 23px;border-radius:3px}.embroidery-first-actions .shop-button span{font:400 24px/1 Arial,sans-serif}.embroidery-first-actions>a:last-child{font-size:14px;min-height:44px;padding:8px 0;text-underline-offset:5px}
.embroidery-first-art{display:grid;grid-template-columns:1.05fr .8fr;gap:12px;direction:ltr;margin:0;min-width:0}.embroidery-first-cloth{display:grid;place-items:center;aspect-ratio:1;background:var(--embroidery-rose);border-radius:3px;position:relative;transform:rotate(-3deg);min-width:0}.embroidery-first-cloth:after{content:"";position:absolute;inset:10px;border:1px dashed var(--embroidery-line);pointer-events:none}.embroidery-first-cloth img{width:79%;height:79%;object-fit:contain}.embroidery-first-cloth-main{grid-row:span 2;aspect-ratio:.7;background:var(--embroidery-linen);transform:rotate(2deg);border-radius:3px 3px 24px 3px;margin:8px 0}.embroidery-first-cloth-main img{width:77%;height:86%}.embroidery-first-cloth:last-child{background:var(--embroidery-sage);transform:rotate(2deg)}
.embroidery-first-process{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:28px;border-block:1px solid var(--embroidery-line);padding:20px 0}.embroidery-first-process>p{font-size:15px;margin:0;white-space:nowrap}.embroidery-first-process ol{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;flex:1;max-width:680px;padding:0;margin:0}.embroidery-first-process li{display:flex;align-items:center;gap:8px;font-size:14px;white-space:nowrap}.embroidery-first-process li span{width:26px;height:26px;flex-shrink:0;border:1px solid var(--embroidery-line);border-radius:50%;display:grid;place-items:center;font-size:12px}
body[data-shop-view=home] #garment-service,body[data-shop-view=clothes] #garment-service{padding-top:24px;margin:0;scroll-margin-top:14px}body[data-shop-view=home] #garment-service-title,body[data-shop-view=clothes] #garment-service-title{font-size:29px;font-weight:500;line-height:1.6}
.embroidery-first-price-note{font-size:13px;color:var(--embroidery-muted);line-height:1.7}
body[data-shop-view=home] .btg-action,body[data-shop-view=clothes] .btg-action{display:block!important;margin-top:9px;padding:9px 0;border-top:1px solid var(--embroidery-line);font-size:13px;min-height:44px;color:var(--embroidery-petrol)}
body[data-shop-view=home] #design-service{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid var(--embroidery-line);padding:26px 0;margin:28px 0 0}
body[data-shop-view=home] #design-service-title{font-size:28px;font-weight:500;margin:0}body[data-shop-view=home] #open-studio{background:transparent;color:var(--embroidery-petrol);border:1px solid var(--embroidery-line);border-radius:3px;font-size:15px;min-height:48px;padding:10px 20px}
.embroidery-first-plain{display:flex;justify-content:space-between;gap:16px;align-items:center;border-top:1px solid var(--embroidery-line);padding:15px 0 22px;font-size:13px}.embroidery-first-plain p{margin:0}.embroidery-first-plain a{min-height:44px;display:flex;align-items:center;text-underline-offset:5px}
body[data-shop-page=product] .shop-product-info{gap:12px}.shop-product-kicker{font-size:13px;color:var(--embroidery-muted);margin:0}.shop-product-price-note{font-size:13px;color:var(--embroidery-muted);margin:-6px 0 0}
body[data-shop-page=product] #shop-product-embroider,body[data-shop-page=product] #shop-pack-embroider{background:var(--embroidery-petrol);color:var(--embroidery-paper);border-color:var(--embroidery-petrol)}body[data-shop-page=product] #shop-product-plain{background:transparent;color:var(--embroidery-petrol);border-color:var(--embroidery-line);font-size:14px}
@media(max-width:900px){.shop-header-links{gap:15px}.shop-header-links a{font-size:13px}.embroidery-first-home{column-gap:30px}.embroidery-first-process{flex-direction:column;align-items:stretch;gap:12px}.embroidery-first-process ol{width:100%;max-width:none}}
@media(max-width:700px){.shop-header-links a[href='/']{display:block}.shop-header-links{gap:16px;flex-wrap:nowrap}body[data-shop-view=home] .market-main,body[data-shop-view=clothes] .market-main{width:calc(100% - 32px)}
.embroidery-first-home{grid-template-columns:1fr;gap:26px;padding:25px 0 0}.embroidery-first-copy h1{font-size:39px;line-height:1.45;margin:8px 0 11px;letter-spacing:-.7px}.embroidery-first-description{font-size:15px;max-width:330px}.embroidery-first-kicker{font-size:12px}.embroidery-first-actions{flex-direction:row;align-items:center;flex-wrap:wrap;gap:6px 20px;margin-top:18px}.embroidery-first-actions .shop-button{min-height:49px;padding:10px 21px;gap:27px;font-size:15px}.embroidery-first-actions>a:last-child{font-size:13px}
.embroidery-first-art{grid-template-columns:1.06fr 1fr 1fr;gap:9px;align-items:center}.embroidery-first-cloth-main{grid-row:auto;aspect-ratio:.8;margin:0}.embroidery-first-cloth-main img{width:82%;height:88%}
.embroidery-first-process{padding:17px 0 15px;gap:10px}.embroidery-first-process>p{font-size:13px}.embroidery-first-process ol{gap:8px}.embroidery-first-process li{font-size:12px;gap:5px}.embroidery-first-process li span{width:22px;height:22px;font-size:11px}
body[data-shop-view=home] #garment-service,body[data-shop-view=clothes] #garment-service{padding-top:23px}body[data-shop-view=home] #garment-service-title,body[data-shop-view=clothes] #garment-service-title{font-size:24px}.embroidery-first-price-note{font-size:12px;text-align:start}
body[data-shop-view=home] #design-service{align-items:flex-start;flex-direction:column;gap:15px;padding:24px 0}body[data-shop-view=home] #design-service-title{font-size:25px}.embroidery-first-plain{flex-wrap:wrap;gap:0;font-size:12px}.shop-product-kicker,.shop-product-price-note{font-size:12px}}
