/* Published category labels stay in the CMS; long translations can wrap freely. */
body.amd-current-design .catalog-category-nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px 18px;margin:0 0 24px;padding:0 0 22px;border-bottom:1px solid #e3d6c9}
body.amd-current-design .catalog-category-nav a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:8px 6px;color:#51473e;font-size:14px;line-height:1.6;text-align:center;border:1px solid #e3d6c9;background:transparent;white-space:normal;overflow-wrap:anywhere;word-break:normal;hyphens:auto;transition:color .2s,border-color .2s,background .2s}
body.amd-current-design .catalog-category-nav a:hover{color:#002fa7;border-color:#002fa7;background:#f3f5fc}
body.amd-current-design .catalog-category-nav a:focus-visible{outline:2px solid #002fa7;outline-offset:3px}
body.amd-current-design .catalog-category-nav+.catalog-search{margin-bottom:34px}
body:is(.amd-language-en,.amd-language-vi,.amd-language-ru) .catalog-category-nav{grid-template-columns:repeat(4,minmax(0,1fr))}
body.amd-current-design.post-type-archive-geo_product :is(.product-range-card h2,.product-range-card h2 a,.product-range-card p,.catalog-item h3,.catalog-section-heading h2,.catalog-section-heading>a){min-width:0;overflow-wrap:anywhere;word-break:normal;hyphens:auto}
body.amd-current-design.post-type-archive-geo_product :is(.product-range-card h2 span,.catalog-item h3 span){flex-shrink:0}
@media(max-width:900px){body.amd-current-design .catalog-category-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 12px}body:is(.amd-language-en,.amd-language-vi,.amd-language-ru) .catalog-category-nav{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:540px){
 body.amd-current-design .catalog-category-nav,body:is(.amd-language-en,.amd-language-vi,.amd-language-ru) .catalog-category-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;margin-bottom:18px;padding-bottom:18px}
 body.amd-current-design .catalog-category-nav a{padding:8px 6px}
 body.amd-current-design.post-type-archive-geo_product .catalog-search{flex-wrap:wrap;gap:2px 12px;max-width:100%}
 body.amd-current-design.post-type-archive-geo_product .catalog-search label{flex:1 1 100%;max-width:100%}
 body.amd-current-design.post-type-archive-geo_product .catalog-search input{font-size:16px}
 body.amd-current-design.post-type-archive-geo_product .catalog-search button{min-width:0;min-height:44px;max-width:100%;margin-left:auto;padding:7px 0;white-space:normal;overflow-wrap:anywhere;line-height:1.6}
}
@media(prefers-reduced-motion:reduce){body.amd-current-design .catalog-category-nav a{transition:none}}
