/* Storefront locale controls; admin styling is deliberately excluded. */
.language-switch{gap:5px!important;white-space:nowrap}
.language-switch .lang-btn{font:12px/1.5 var(--sans);padding:5px 3px}
.locale-mobile-select{display:none}
.toki-menu-languages{display:flex;gap:12px;align-items:center;justify-content:center;border-top:1px solid var(--line);padding-top:20px;margin-top:20px}
.toki-menu-languages .lang-btn{font-size:14px;padding:6px 3px}
.toki-menu-languages .active{color:var(--rust);text-decoration:underline;text-underline-offset:5px}
html[lang=ja] body:not([data-page^=admin]) .toki-surface,
html[lang=ja] body:not([data-page^=admin]) #cartDrawer,
html[lang=ja] body:not([data-page^=admin]) .modal-overlay,
html[lang=ja] body:not([data-page^=admin]) #toastContainer{
 --sans:"Yu Gothic","Meiryo","Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;
 --serif:Georgia,"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
 font-family:var(--sans);line-break:strict;word-break:normal;overflow-wrap:anywhere;
}
html[lang=ja] body:not([data-page^=admin]) .toki-surface h1,
html[lang=ja] body:not([data-page^=admin]) .toki-surface h2,
html[lang=ja] body:not([data-page^=admin]) .toki-surface h3{line-height:1.45;letter-spacing:0}
html[lang=ja] .desktop-nav{gap:14px}
html[lang=ja] .desktop-nav a{font-size:12px}
html[lang=ja] .toki-surface .hero-th{font-size:calc(18 * var(--u));line-height:1.65}
html[lang=ja] .toki-surface .hero-description{line-height:1.85}
html[lang=ja] .toki-surface .product-card .product-label,
html[lang=ja] .toki-surface .product-card .product-weight{line-height:1.7}
html[lang=ja] .toki-surface .product-card .product-inquiry-price{font-size:14px;min-width:0;line-height:1.6;flex:1}
html[lang=ja] .toki-surface .product-title{font-size:20px;line-height:1.6}
html[lang=ja] .toki-surface .product-bottom{align-items:flex-end}
html[lang=ja] .toki-surface .product-modal-details h2{font-size:30px}
html[lang=ja] .toki-surface .product-facts>div{gap:16px;grid-template-columns:minmax(80px,.7fr) minmax(0,1.3fr)}
html[lang=ja] .toki-surface .product-facts dd{min-width:0}
html[lang=ja] .toki-surface .tp-kicker,html[lang=ja] .toki-surface .eyebrow{letter-spacing:.12em}
html[lang=ja] #cartDrawer .cart-line>div{min-width:0}
html[lang=ja] #cartDrawer .cart-line h3{font:20px/1.5 var(--serif);overflow-wrap:anywhere}
@media(max-width:850px){
 .language-switch .lang-btn,.language-switch>span{display:none}
 .locale-mobile-select{display:block;width:91px;max-width:91px;border:0;background:transparent;font:12px/1.5 var(--sans);padding:6px 1px;color:var(--forest)}
 .toki-surface .header-actions{gap:10px}
}
@media(max-width:650px){
 html[lang=ja] .toki-surface .hero-th{font-size:18px}
 html[lang=ja] .toki-surface .hero-description{font-size:12px}
 html[lang=ja] .toki-surface .product-title{font-size:17px}
 html[lang=ja] .toki-surface .product-card .product-inquiry-price{font-size:12px}
 html[lang=ja] .toki-surface .product-modal-details h2{font-size:25px}
 html[lang=ja] .toki-surface .product-inquiry-layout .price{font-size:22px;line-height:1.6}
 html[lang=ja] .toki-surface .tp-intro h1{font-size:30px}
 html[lang=ja] #cartDrawer .cart-line h3{font-size:18px}
}
/* Keep the TOKI logotype intact and balance Japanese text inside narrow cards. */
.toki-surface .logo-name,.toki-surface .logo-caption{white-space:nowrap;overflow-wrap:normal;word-break:normal}
html[lang=ja] .toki-surface .product-title,html[lang=ja] .toki-surface .product-weight,html[lang=ja] .toki-surface .product-inquiry-price,html[lang=ja] .toki-surface .tp-intro h1{text-wrap:balance}
@media(max-width:650px){html[lang=ja] .toki-surface .tp-intro h1{font-size:28px}html[lang=ja] .toki-surface .product-card .product-weight{min-height:3.4em}}

html[lang=ja] .toki-surface .hero-description{max-width:470px;font-size:15px;line-height:1.8;letter-spacing:0}
html[lang=ja] .toki-surface .hero-th{max-width:500px;font-size:20px;line-height:1.6;letter-spacing:0}
html[lang=ja] .toki-surface .product-modal-details>.price{font-size:24px;line-height:1.6}
.toki-file-picker{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:14px}
.toki-file-picker input[type=file]{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.toki-file-picker:focus-within{outline:2px solid #ae512d;outline-offset:4px}
.toki-file-button{display:inline-block!important;background:#e9ecdf;border:1px solid #9eab91;border-radius:4px;padding:9px 14px;cursor:pointer}
.toki-file-name{overflow-wrap:anywhere;max-width:100%}
@media(max-width:650px){
 html[lang=ja] .toki-surface .hero-description{font-size:12px;max-width:100%}
 html[lang=ja] .toki-surface .hero-th{font-size:18px;max-width:100%;text-wrap:balance}
 html[lang=ja] .toki-surface .product-modal-details>.price{font-size:20px}
}