html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
/* Shared text flow for every storefront language and customer-facing page. */
:where(h1,h2,h3){text-wrap:balance;overflow-wrap:break-word;word-break:normal}
:where(p,li,dt,dd,summary,label){overflow-wrap:break-word;word-break:normal}
:where(p,li){text-wrap:pretty}
:where(.product-copy,.detail-copy,.bag-item-copy,.store-information>div,.section-heading>div,.info-dialog-header h2,.bag-header>div){min-width:0}
:where(.button,.text-link,.policy-nav a,.account-back){max-width:100%;white-space:normal;overflow-wrap:break-word;word-break:normal;line-height:1.45}
.shop-section .section-heading>div{min-width:0}
.shop-section .section-heading .tax-note{min-width:0;max-width:none;text-align:start;line-height:1.5;text-wrap:pretty}
.product-brand,.product-title,.product-jp,.product-size,.price-caption{max-width:100%;overflow-wrap:break-word;word-break:normal}
.price-caption{line-height:1.45;font-weight:400;letter-spacing:0}
.detail-links .text-link{max-width:100%;white-space:normal;text-align:start}
.trust-bar>span>span:last-child{min-width:0;overflow-wrap:break-word;hyphens:auto}
footer>div{min-width:0;flex-wrap:wrap;gap:12px 22px}
footer>div>a{min-width:0;max-width:100%;white-space:normal;overflow-wrap:break-word}
.footer-brand{max-width:100%}
.store-information h2{line-height:1.35}
.store-information .button{min-width:0;max-width:100%;text-align:center}
.info-dialog-header h2{min-width:0;line-height:1.35}
.info-dialog-body dl>div{grid-template-columns:135px minmax(0,1fr)}
.info-dialog-body dt,.info-dialog-body dd{min-width:0;overflow-wrap:break-word}
.info-dialog-body dd a{overflow-wrap:anywhere}
.bag-header .close-button{flex:0 0 36px}
.bag-header h2{line-height:1.25}
.bag-item h3,.bag-item p{overflow-wrap:break-word;word-break:normal}
.quantity{flex-wrap:wrap}
.quantity>button,.quantity>span{flex-shrink:0}
.summary-row{align-items:baseline;gap:12px}
.summary-row>span:first-child{min-width:0}
.summary-row>span:last-child{flex:none;white-space:nowrap}
.account-switch a{white-space:normal;overflow-wrap:break-word}
.account-intro,.account-note{overflow-wrap:break-word}
.policy-nav a{min-width:0;max-width:100%;white-space:normal}
.policy-article h2,.policy-main h1{overflow-wrap:break-word;word-break:normal}
.privacy-actions .privacy-button{min-width:0;word-break:normal;hyphens:auto}
.privacy-category-heading>h3,.privacy-category-heading>label{min-width:0;max-width:100%}
@media(max-width:760px){
 .shop-section .section-heading{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin-bottom:14px}
 .shop-section .section-heading .tax-note{width:100%;max-width:none;margin:0;font-size:12px;line-height:1.5;text-align:start}
 footer>div{width:100%;margin-left:0;justify-content:flex-start}
 .footer-brand .brand-name{font-size:22px;letter-spacing:-.6px}
 .store-information .button{align-self:flex-start}
 .policy-header.header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 12px}
 .policy-header .language-picker{grid-column:2;grid-row:1;justify-self:end}
 .policy-header .text-link{grid-column:1/-1;grid-row:2;justify-self:start;width:auto;max-width:100%;text-align:start}
}
@media(max-width:480px){
 .info-dialog-body dl>div{grid-template-columns:minmax(0,1fr);gap:4px;padding:12px 0}
 .bag-item{display:grid;grid-template-columns:52px minmax(0,1fr);gap:8px 12px}
 .bag-item>img{width:52px;grid-column:1;grid-row:1/3}
 .bag-item-copy{grid-column:2;grid-row:1}
 .bag-item-price{grid-column:2;grid-row:2;justify-self:end;max-width:100%}
 .quantity .remove{margin-left:0}
 .privacy-status{max-width:100%;white-space:normal;text-align:center}
}

.product-document .details{min-width:0}
.product-document .brand,.product-document .package,.product-document .japanese{overflow-wrap:break-word;word-break:normal}
@media(max-width:480px){
 .product-document header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 14px}
 .product-document header .logo{grid-column:1;grid-row:1;white-space:nowrap}
 .product-document header .bag{grid-column:2;grid-row:1;max-width:100%}
 .product-document header .back{grid-column:1/-1;grid-row:2;margin:0;justify-self:start}
}

/* Consistent dialog controls: suppress native blue tap/focus chrome. */
:is(.close-button,.info-close,.privacy-close){appearance:none;-webkit-appearance:none;-webkit-tap-highlight-color:transparent}
:is(.close-button,.info-close,.privacy-close):focus{outline:none}
:is(.close-button,.info-close,.privacy-close):focus-visible{outline:2px solid #85583f;outline-offset:2px}

@media(max-width:360px){:lang(zh-TW) .language-picker select{max-width:70px;font-size:11px}}
