/* Site identity and locale adaptations; the approved layout remains shared. */
.artist-brand-mark{width:38px;height:38px;object-fit:contain;flex:none}
.main{min-width:0}.main a{white-space:normal}.brand{min-width:0}.brand b{overflow-wrap:anywhere}
.btn,.co-meta{white-space:normal}.badges li span{overflow-wrap:anywhere}
[dir=rtl] .thumbs,[dir=rtl] .rail{direction:ltr}
[dir=rtl] .dcard{direction:rtl;text-align:right}
[dir=rtl] .seg{direction:ltr}[dir=rtl] .seg button{direction:rtl}
[dir=rtl] .grp-h,[dir=rtl] .selection-header,[dir=rtl] .buyrow{direction:rtl}
@media(max-width:980px){.brand b{font-size:15px}.brand small{max-width:20ch}.craft-cta{height:auto;min-height:50px;text-align:center;padding-block:12px}.badges{align-items:stretch}}

/* Keep physical dimensions and gallery counts in their original numeric order on RTL pages. */
.st-count{direction:ltr;unicode-bidi:isolate}
[dir=rtl] .sz-cm,[dir=rtl] .sz-in,[dir=rtl] #cur-size,[dir=rtl] .sc-chip,[dir=rtl] .dim,[dir=rtl] #wall-size,[dir=rtl] .label-grid>div:nth-child(2) dd{direction:ltr;unicode-bidi:isolate}

/* Let longer translated navigation labels wrap without touching search controls. */
@media(min-width:1061px){
html:not([lang^="en"]) .head{height:auto;min-height:70px;padding-block:12px;gap:18px}
html:not([lang^="en"]) nav.main{flex:1 1 auto;flex-wrap:wrap;gap:8px 16px;margin-inline-start:0}
html:not([lang^="en"]) nav.main a{flex:0 1 auto}
html:not([lang^="en"]) .tools{flex-shrink:0}
html:not([lang^="en"]) .search{max-width:200px}
html:not([lang^="en"]) .search input{width:120px;min-width:0}
}
